From 04aa1b2efa5dd9d9a4d003476133c08a08e909e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Wed, 20 Sep 2023 23:58:12 +0200 Subject: [PATCH] vrclient: Sort classes by their version string. CW-Bug-Id: #22729 --- vrclient_x64/gen_wrapper.py | 8 +- vrclient_x64/tests/capi_thunks_autogen.c | 46182 +++++++------- vrclient_x64/tests/capi_thunks_autogen.h | 9286 +-- .../tests/capi_thunks_tests_autogen.c | 50766 ++++++++-------- vrclient_x64/tests/main_autogen.c | 208 +- .../vrclient_x64/winIVRApplications.c | 2694 +- vrclient_x64/vrclient_x64/winIVRChaperone.c | 534 +- .../vrclient_x64/winIVRChaperoneSetup.c | 456 +- vrclient_x64/vrclient_x64/winIVRClientCore.c | 242 +- vrclient_x64/vrclient_x64/winIVRCompositor.c | 13412 ++-- vrclient_x64/vrclient_x64/winIVRIOBuffer.c | 204 +- vrclient_x64/vrclient_x64/winIVRInput.c | 2642 +- .../vrclient_x64/winIVRNotifications.c | 150 +- vrclient_x64/vrclient_x64/winIVROverlay.c | 19354 +++--- .../vrclient_x64/winIVRRenderModels.c | 1320 +- vrclient_x64/vrclient_x64/winIVRSettings.c | 302 +- vrclient_x64/vrclient_x64/winIVRSystem.c | 11998 ++-- .../vrclient_x64/winIVRTrackedCamera.c | 1614 +- vrclient_x64/vrclient_x64/win_constructors.h | 416 +- .../vrclient_x64/win_constructors_table.dat | 416 +- vrclient_x64/vrclient_x64/win_destructors.h | 416 +- 21 files changed, 81309 insertions(+), 81311 deletions(-) diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index c1c99ea0..6ebd8e99 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -1419,7 +1419,7 @@ print('parsing SDKs... 100%') all_classes = {} -for i, sdkver in enumerate(SDK_VERSIONS): +for i, sdkver in enumerate(reversed(SDK_VERSIONS)): print(f'enumerating classes... {i * 100 // len(SDK_VERSIONS)}%', end='\r') index, _ = all_records[sdkver]['u32'] versions = all_versions[sdkver] @@ -1431,13 +1431,11 @@ for i, sdkver in enumerate(SDK_VERSIONS): classes = filter(lambda c: c.spelling in versions, classes) classes = {versions[c.spelling]: (sdkver, c) for c in classes} - for k, v in classes.items(): - if k not in all_classes: - all_classes[k] = v + all_classes.update(classes) print('enumerating classes... 100%') -for version, tuple in all_classes.items(): +for version, tuple in sorted(all_classes.items()): sdkver, klass = tuple linux_build32, linux_structs32 = all_records[sdkver]['u32'] diff --git a/vrclient_x64/tests/capi_thunks_autogen.c b/vrclient_x64/tests/capi_thunks_autogen.c index 054c785d..aae85f54 100644 --- a/vrclient_x64/tests/capi_thunks_autogen.c +++ b/vrclient_x64/tests/capi_thunks_autogen.c @@ -1,365 +1,1078 @@ /* This file is auto-generated, do not edit. */ #include "capi_thunks_autogen.h" -void __thiscall IVRSystem_022_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +EVRApplicationError __thiscall IVRApplications_001_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) { push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_022_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); + push_ptr_parameter(pchApplicationManifestFullPath); + push_bool_parameter(bTemporary); return 0; } -void __thiscall IVRSystem_022_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +EVRApplicationError __thiscall IVRApplications_001_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) { push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_022_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); + push_ptr_parameter(pchApplicationManifestFullPath); return 0; } -HmdMatrix34_t *__thiscall IVRSystem_022_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +bool __thiscall IVRApplications_001_IsApplicationInstalled(void *_this, const char * pchAppKey) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); + push_ptr_parameter(pchAppKey); return 0; } -bool __thiscall IVRSystem_022_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_022_GetD3D9AdapterIndex(void *_this) +uint32_t __thiscall IVRApplications_001_GetApplicationCount(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRSystem_022_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_022_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_022_IsDisplayOnDesktop(void *_this) +EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { push_ptr_parameter(_this); + push_uint32_parameter(unApplicationIndex); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); return 0; } -bool __thiscall IVRSystem_022_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); return 0; } -void __thiscall IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +EVRApplicationError __thiscall IVRApplications_001_LaunchApplication(void *_this, const char * pchAppKey) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -HmdMatrix34_t *__thiscall IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); + push_ptr_parameter(pchAppKey); return 0; } -HmdMatrix34_t *__thiscall IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +EVRApplicationError __thiscall IVRApplications_001_LaunchDashboardOverlay(void *_this, const char * pchAppKey) { push_ptr_parameter(_this); - push_ptr_parameter(_r); + push_ptr_parameter(pchAppKey); return 0; } -uint32_t __thiscall IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +EVRApplicationError __thiscall IVRApplications_001_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) { push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKey); return 0; } -EDeviceActivityLevel __thiscall IVRSystem_022_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +uint32_t __thiscall IVRApplications_001_GetApplicationProcessId(void *_this, const char * pchAppKey) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); + push_ptr_parameter(pchAppKey); return 0; } -void __thiscall IVRSystem_022_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_022_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_022_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_022_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_022_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_022_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_022_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_022_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_022_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_022_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +const char * __thiscall IVRApplications_001_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -bool __thiscall IVRSystem_022_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +uint32_t __thiscall IVRApplications_001_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(pchPropertyValueBuffer); + push_uint32_parameter(unPropertyValueBufferLen); + push_ptr_parameter(peError); return 0; } -bool __thiscall IVRSystem_022_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +bool __thiscall IVRApplications_001_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); return 0; } -const char * __thiscall IVRSystem_022_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +EVRApplicationError __thiscall IVRApplications_001_GetHomeApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { push_ptr_parameter(_this); - push_uint32_parameter(eType); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); return 0; } -HiddenAreaMesh_t *__thiscall IVRSystem_022_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +EVRApplicationError __thiscall IVRApplications_001_SetHomeApplication(void *_this, const char * pchAppKey) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); + push_ptr_parameter(pchAppKey); return 0; } -bool __thiscall IVRSystem_022_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +EVRApplicationError __thiscall IVRApplications_001_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) { push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pchAppKey); + push_bool_parameter(bAutoLaunch); return 0; } -bool __thiscall IVRSystem_022_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +bool __thiscall IVRApplications_001_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pchAppKey); return 0; } -void __thiscall IVRSystem_022_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +EVRApplicationError __thiscall IVRApplications_001_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_022_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); return 0; } -const char * __thiscall IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_022_IsInputAvailable(void *_this) +EVRApplicationTransitionState __thiscall IVRApplications_001_GetTransitionState(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVRSystem_022_IsSteamVRDrawingControllers(void *_this) +EVRApplicationError __thiscall IVRApplications_001_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) +{ + push_ptr_parameter(_this); + push_uint32_parameter(state); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + push_bool_parameter(bTemporary); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + return 0; +} + +bool __thiscall IVRApplications_002_IsApplicationInstalled(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_002_GetApplicationCount(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVRSystem_022_ShouldApplicationPause(void *_this) +EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unApplicationIndex); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_LaunchApplication(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_LaunchDashboardOverlay(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_002_GetApplicationProcessId(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_002_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +uint32_t __thiscall IVRApplications_002_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(pchPropertyValueBuffer); + push_uint32_parameter(unPropertyValueBufferLen); + push_ptr_parameter(peError); + return 0; +} + +bool __thiscall IVRApplications_002_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_bool_parameter(bAutoLaunch); + return 0; +} + +bool __thiscall IVRApplications_002_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_002_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationTransitionState __thiscall IVRApplications_002_GetTransitionState(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVRSystem_022_ShouldApplicationReduceRenderingWork(void *_this) +EVRApplicationError __thiscall IVRApplications_002_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) +{ + push_ptr_parameter(_this); + push_uint32_parameter(state); + return 0; +} + +bool __thiscall IVRApplications_002_IsQuitUserPromptRequested(void *_this) { push_ptr_parameter(_this); return 0; } -EVRFirmwareError __thiscall IVRSystem_022_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRApplicationError __thiscall IVRApplications_003_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchApplicationManifestFullPath); + push_bool_parameter(bTemporary); return 0; } -void __thiscall IVRSystem_022_AcknowledgeQuit_Exiting(void *_this) +EVRApplicationError __thiscall IVRApplications_003_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) { push_ptr_parameter(_this); -} - -uint32_t __thiscall IVRSystem_022_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); + push_ptr_parameter(pchApplicationManifestFullPath); return 0; } -const char * __thiscall IVRSystem_022_GetRuntimeVersion(void *_this) +bool __thiscall IVRApplications_003_IsApplicationInstalled(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_003_GetApplicationCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unApplicationIndex); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_LaunchApplication(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_LaunchDashboardOverlay(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_003_GetApplicationProcessId(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_003_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +uint32_t __thiscall IVRApplications_003_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(pchPropertyValueBuffer); + push_uint32_parameter(unPropertyValueBufferLen); + push_ptr_parameter(peError); + return 0; +} + +bool __thiscall IVRApplications_003_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +uint64_t __thiscall IVRApplications_003_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_bool_parameter(bAutoLaunch); + return 0; +} + +bool __thiscall IVRApplications_003_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationTransitionState __thiscall IVRApplications_003_GetTransitionState(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_003_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) +{ + push_ptr_parameter(_this); + push_uint32_parameter(state); + return 0; +} + +bool __thiscall IVRApplications_003_IsQuitUserPromptRequested(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + push_bool_parameter(bTemporary); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + return 0; +} + +bool __thiscall IVRApplications_004_IsApplicationInstalled(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_004_GetApplicationCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unApplicationIndex); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_LaunchApplication(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_LaunchDashboardOverlay(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +bool __thiscall IVRApplications_004_CancelApplicationLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_004_GetApplicationProcessId(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_004_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +uint32_t __thiscall IVRApplications_004_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(pchPropertyValueBuffer); + push_uint32_parameter(unPropertyValueBufferLen); + push_ptr_parameter(peError); + return 0; +} + +bool __thiscall IVRApplications_004_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +uint64_t __thiscall IVRApplications_004_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_bool_parameter(bAutoLaunch); + return 0; +} + +bool __thiscall IVRApplications_004_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationTransitionState __thiscall IVRApplications_004_GetTransitionState(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) +{ + push_ptr_parameter(_this); + push_uint32_parameter(state); + return 0; +} + +bool __thiscall IVRApplications_004_IsQuitUserPromptRequested(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_004_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchBinaryPath); + push_ptr_parameter(pchArguments); + push_ptr_parameter(pchWorkingDirectory); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + push_bool_parameter(bTemporary); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + return 0; +} + +bool __thiscall IVRApplications_005_IsApplicationInstalled(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_005_GetApplicationCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unApplicationIndex); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_LaunchApplication(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchTemplateAppKey); + push_ptr_parameter(pchNewAppKey); + push_ptr_parameter(pKeys); + push_uint32_parameter(unKeys); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_LaunchDashboardOverlay(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +bool __thiscall IVRApplications_005_CancelApplicationLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_005_GetApplicationProcessId(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_005_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +uint32_t __thiscall IVRApplications_005_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(pchPropertyValueBuffer); + push_uint32_parameter(unPropertyValueBufferLen); + push_ptr_parameter(peError); + return 0; +} + +bool __thiscall IVRApplications_005_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +uint64_t __thiscall IVRApplications_005_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_bool_parameter(bAutoLaunch); + return 0; +} + +bool __thiscall IVRApplications_005_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationTransitionState __thiscall IVRApplications_005_GetTransitionState(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) +{ + push_ptr_parameter(_this); + push_uint32_parameter(state); + return 0; +} + +bool __thiscall IVRApplications_005_IsQuitUserPromptRequested(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_005_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchBinaryPath); + push_ptr_parameter(pchArguments); + push_ptr_parameter(pchWorkingDirectory); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + push_bool_parameter(bTemporary); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchApplicationManifestFullPath); + return 0; +} + +bool __thiscall IVRApplications_006_IsApplicationInstalled(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_006_GetApplicationCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unApplicationIndex); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_LaunchApplication(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchTemplateAppKey); + push_ptr_parameter(pchNewAppKey); + push_ptr_parameter(pKeys); + push_uint32_parameter(unKeys); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchMimeType); + push_ptr_parameter(pchArgs); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_LaunchDashboardOverlay(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +bool __thiscall IVRApplications_006_CancelApplicationLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unProcessId); + push_ptr_parameter(pchAppKey); + return 0; +} + +uint32_t __thiscall IVRApplications_006_GetApplicationProcessId(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_006_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +uint32_t __thiscall IVRApplications_006_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(pchPropertyValueBuffer); + push_uint32_parameter(unPropertyValueBufferLen); + push_ptr_parameter(peError); + return 0; +} + +bool __thiscall IVRApplications_006_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +uint64_t __thiscall IVRApplications_006_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_uint32_parameter(eProperty); + push_ptr_parameter(peError); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_bool_parameter(bAutoLaunch); + return 0; +} + +bool __thiscall IVRApplications_006_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_ptr_parameter(pchMimeType); + return 0; +} + +bool __thiscall IVRApplications_006_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchMimeType); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +bool __thiscall IVRApplications_006_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + push_ptr_parameter(pchMimeTypesBuffer); + push_uint32_parameter(unMimeTypesBuffer); + return 0; +} + +uint32_t __thiscall IVRApplications_006_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchMimeType); + push_ptr_parameter(pchAppKeysThatSupportBuffer); + push_uint32_parameter(unAppKeysThatSupportBuffer); + return 0; +} + +uint32_t __thiscall IVRApplications_006_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unHandle); + push_ptr_parameter(pchArgs); + push_uint32_parameter(unArgs); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKeyBuffer); + push_uint32_parameter(unAppKeyBufferLen); + return 0; +} + +EVRApplicationTransitionState __thiscall IVRApplications_006_GetTransitionState(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchAppKey); + return 0; +} + +const char * __thiscall IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) +{ + push_ptr_parameter(_this); + push_uint32_parameter(state); + return 0; +} + +bool __thiscall IVRApplications_006_IsQuitUserPromptRequested(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRApplicationError __thiscall IVRApplications_006_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchBinaryPath); + push_ptr_parameter(pchArguments); + push_ptr_parameter(pchWorkingDirectory); + return 0; +} + +uint32_t __thiscall IVRApplications_006_GetCurrentSceneProcessId(void *_this) { push_ptr_parameter(_this); return 0; @@ -603,108 +1316,19 @@ uint32_t __thiscall IVRApplications_007_GetCurrentSceneProcessId(void *_this) return 0; } -const char * __thiscall IVRSettings_003_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) +bool __thiscall IVRChaperoneSetup_004_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) { push_ptr_parameter(_this); - push_uint32_parameter(eError); + push_uint32_parameter(configFile); return 0; } -void __thiscall IVRSettings_003_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) +void __thiscall IVRChaperoneSetup_004_RevertWorkingCopy(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_bool_parameter(bValue); - push_ptr_parameter(peError); } -void __thiscall IVRSettings_003_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_uint32_parameter(nValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_float_parameter(flValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_ptr_parameter(peError); -} - -bool __thiscall IVRSettings_003_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -int32_t __thiscall IVRSettings_003_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -float __thiscall IVRSettings_003_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_003_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_uint32_parameter(unValueLen); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); -} - -ChaperoneCalibrationState __thiscall IVRChaperone_004_GetCalibrationState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) +bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) { push_ptr_parameter(_this); push_ptr_parameter(pSizeX); @@ -712,49 +1336,238 @@ bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, fl return 0; } -bool __thiscall IVRChaperone_004_GetPlayAreaRect(void *_this, HmdQuad_t * rect) +bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) { push_ptr_parameter(_this); push_ptr_parameter(rect); return 0; } -void __thiscall IVRChaperone_004_ReloadInfo(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperone_004_SetSceneColor(void *_this, HmdColor_t color) -{ - push_ptr_parameter(_this); - push_HmdColor_parameter(color); -} - -void __thiscall IVRChaperone_004_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputColorArray); - push_uint32_parameter(nNumOutputColors); - push_float_parameter(flCollisionBoundsFadeDistance); - push_ptr_parameter(pOutputCameraColor); -} - -bool __thiscall IVRChaperone_004_AreBoundsVisible(void *_this) +bool __thiscall IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_ptr_parameter(punQuadsCount); return 0; } -void __thiscall IVRChaperone_004_ForceBoundsVisible(void *_this, bool bForce) +bool __thiscall IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { push_ptr_parameter(_this); - push_bool_parameter(bForce); + push_ptr_parameter(pQuadsBuffer); + push_ptr_parameter(punQuadsCount); + return 0; } -void __thiscall IVRChaperone_004_ResetZeroPose(void *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) +bool __thiscall IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) { push_ptr_parameter(_this); - push_uint32_parameter(eTrackingUniverseOrigin); + push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); + return 0; +} + +bool __thiscall IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); + return 0; +} + +void __thiscall IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) +{ + push_ptr_parameter(_this); + push_float_parameter(sizeX); + push_float_parameter(sizeZ); +} + +void __thiscall IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_uint32_parameter(unQuadsCount); +} + +void __thiscall IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); +} + +void __thiscall IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); +} + +void __thiscall IVRChaperoneSetup_004_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) +{ + push_ptr_parameter(_this); + push_uint32_parameter(configFile); +} + +bool __thiscall IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); + return 0; +} + +void __thiscall IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTagsBuffer); + push_uint32_parameter(unTagCount); +} + +bool __thiscall IVRChaperoneSetup_004_GetLiveWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTagsBuffer); + push_ptr_parameter(punTagCount); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) +{ + push_ptr_parameter(_this); + push_uint32_parameter(configFile); + return 0; +} + +void __thiscall IVRChaperoneSetup_005_RevertWorkingCopy(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSizeX); + push_ptr_parameter(pSizeZ); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) +{ + push_ptr_parameter(_this); + push_ptr_parameter(rect); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_ptr_parameter(punQuadsCount); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_ptr_parameter(punQuadsCount); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); + return 0; +} + +void __thiscall IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) +{ + push_ptr_parameter(_this); + push_float_parameter(sizeX); + push_float_parameter(sizeZ); +} + +void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_uint32_parameter(unQuadsCount); +} + +void __thiscall IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); +} + +void __thiscall IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); +} + +void __thiscall IVRChaperoneSetup_005_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) +{ + push_ptr_parameter(_this); + push_uint32_parameter(configFile); +} + +bool __thiscall IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); + return 0; +} + +void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTagsBuffer); + push_uint32_parameter(unTagCount); +} + +bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTagsBuffer); + push_ptr_parameter(punTagCount); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_uint32_parameter(unQuadsCount); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_ptr_parameter(punQuadsCount); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pBuffer); + push_ptr_parameter(pnBufferLength); + return 0; +} + +bool __thiscall IVRChaperoneSetup_005_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pBuffer); + push_uint32_parameter(nImportFlags); + return 0; } bool __thiscall IVRChaperoneSetup_006_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) @@ -891,1914 +1704,220 @@ void __thiscall IVRChaperoneSetup_006_RoomSetupStarting(void *_this) push_ptr_parameter(_this); } -void __thiscall IVRCompositor_027_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +ChaperoneCalibrationState __thiscall IVRChaperone_002_GetCalibrationState(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_027_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_027_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_027_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_027_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_027_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_027_FadeGrid(void *_this, float fSeconds, bool bFadeGridIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeGridIn); -} - -float __thiscall IVRCompositor_027_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_027_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_027_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_027_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_027_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_027_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_027_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_027_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_027_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelPath); - push_ptr_parameter(pTransform); - push_ptr_parameter(pRenderSettings); - push_uint32_parameter(nSizeOfRenderSettings); - return 0; -} - -void __thiscall IVRCompositor_027_ClearStageOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBenchmarkResults); - push_uint32_parameter(nSizeOfBenchmarkResults); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPosePredictionID); - push_ptr_parameter(pGamePosePredictionID); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unPosePredictionID); - push_ptr_parameter(pPoseArray); - push_uint32_parameter(unPoseArrayCount); - return 0; -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewSize(void *_this, uint32_t nWidth, uint32_t nHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nWidth); - push_uint32_parameter(nHeight); -} - -void __thiscall IVRHeadsetView_001_GetHeadsetViewSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewMode(void *_this, HeadsetViewMode_t eHeadsetViewMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eHeadsetViewMode); -} - -HeadsetViewMode_t __thiscall IVRHeadsetView_001_GetHeadsetViewMode(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewCropped(void *_this, bool bCropped) -{ - push_ptr_parameter(_this); - push_bool_parameter(bCropped); -} - -bool __thiscall IVRHeadsetView_001_GetHeadsetViewCropped(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -float __thiscall IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewBlendRange(void *_this, float flStartPct, float flEndPct) -{ - push_ptr_parameter(_this); - push_float_parameter(flStartPct); - push_float_parameter(flEndPct); -} - -void __thiscall IVRHeadsetView_001_GetHeadsetViewBlendRange(void *_this, float * pStartPct, float * pEndPct) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStartPct); - push_ptr_parameter(pEndPct); -} - -EVRNotificationError __thiscall IVRNotifications_002_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulUserValue); - push_uint32_parameter(type); - push_ptr_parameter(pchText); - push_uint32_parameter(style); - push_ptr_parameter(pImage); - push_ptr_parameter(pNotificationId); - return 0; -} - -EVRNotificationError __thiscall IVRNotifications_002_RemoveNotification(void *_this, VRNotificationId notificationId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(notificationId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_027_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_027_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_027_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_027_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRadians); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRadians); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - push_ptr_parameter(pProjection); - push_uint32_parameter(eEye); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_027_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_WaitFrameSync(void *_this, uint32_t nTimeoutMs) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nTimeoutMs); - return 0; -} - -bool __thiscall IVROverlay_027_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_027_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_027_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); return 0; } -EVROverlayError __thiscall IVROverlay_027_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +bool __thiscall IVRChaperone_002_GetSoftBoundsInfo(void *_this, ChaperoneSoftBoundsInfo_t * pInfo) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); + push_ptr_parameter(pInfo); return 0; } -bool __thiscall IVROverlay_027_IsDashboardVisible(void *_this) +bool __thiscall IVRChaperone_002_GetHardBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { push_ptr_parameter(_this); + push_ptr_parameter(pQuadsBuffer); + push_ptr_parameter(punQuadsCount); return 0; } -bool __thiscall IVROverlay_027_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVRChaperone_002_GetSeatedBoundsInfo(void *_this, ChaperoneSeatedBoundsInfo_t * pInfo) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pInfo); return 0; } -EVROverlayError __thiscall IVROverlay_027_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +void __thiscall IVRChaperone_002_ReloadInfo(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_027_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; } -void __thiscall IVROverlay_027_ShowDashboard(void *_this, const char * pchOverlayToShow) +void __thiscall IVRChaperone_002_SetSceneColor(void *_this, HmdColor_t color) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); + push_HmdColor_parameter(color); } -TrackedDeviceIndex_t __thiscall IVROverlay_027_GetPrimaryDashboardDevice(void *_this) +void __thiscall IVRChaperone_002_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors) { push_ptr_parameter(_this); - return 0; + push_ptr_parameter(pOutputColorArray); + push_uint32_parameter(nNumOutputColors); } -EVROverlayError __thiscall IVROverlay_027_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +bool __thiscall IVRChaperone_002_AreBoundsVisible(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); return 0; } -EVROverlayError __thiscall IVROverlay_027_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +void __thiscall IVRChaperone_002_ForceBoundsVisible(void *_this, bool bForce) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; + push_bool_parameter(bForce); } -uint32_t __thiscall IVROverlay_027_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +ChaperoneCalibrationState __thiscall IVRChaperone_003_GetCalibrationState(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); return 0; } -void __thiscall IVROverlay_027_HideKeyboard(void *_this) +bool __thiscall IVRChaperone_003_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) { push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_027_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_027_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_027_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); + push_ptr_parameter(pSizeX); + push_ptr_parameter(pSizeZ); return 0; } -void __thiscall IVROverlay_027_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlayView_003_AcquireOverlayView(void *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) +bool __thiscall IVRChaperone_003_GetPlayAreaRect(void *_this, HmdQuad_t * rect) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeDevice); - push_ptr_parameter(pOverlayView); - push_uint32_parameter(unOverlayViewSize); + push_ptr_parameter(rect); return 0; } -EVROverlayError __thiscall IVROverlayView_003_ReleaseOverlayView(void *_this, VROverlayView_t * pOverlayView) +void __thiscall IVRChaperone_003_ReloadInfo(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pOverlayView); - return 0; } -void __thiscall IVROverlayView_003_PostOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) +void __thiscall IVRChaperone_003_SetSceneColor(void *_this, HmdColor_t color) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvrEvent); + push_HmdColor_parameter(color); } -bool __thiscall IVROverlayView_003_IsViewingPermitted(void *_this, VROverlayHandle_t ulOverlayHandle) +void __thiscall IVRChaperone_003_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; + push_ptr_parameter(pOutputColorArray); + push_uint32_parameter(nNumOutputColors); + push_float_parameter(flCollisionBoundsFadeDistance); + push_ptr_parameter(pOutputCameraColor); } -EVRRenderModelError __thiscall IVRRenderModels_006_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) +bool __thiscall IVRChaperone_003_AreBoundsVisible(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); return 0; } -void __thiscall IVRRenderModels_006_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) +void __thiscall IVRChaperone_003_ForceBoundsVisible(void *_this, bool bForce) { push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); + push_bool_parameter(bForce); } -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) +ChaperoneCalibrationState __thiscall IVRChaperone_004_GetCalibrationState(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); return 0; } -void __thiscall IVRRenderModels_006_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) +bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) { push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pD3D11Device); - push_ptr_parameter(ppD3D11Texture2D); + push_ptr_parameter(pSizeX); + push_ptr_parameter(pSizeZ); return 0; } -EVRRenderModelError __thiscall IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture) +bool __thiscall IVRChaperone_004_GetPlayAreaRect(void *_this, HmdQuad_t * rect) { push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pDstTexture); + push_ptr_parameter(rect); return 0; } -void __thiscall IVRRenderModels_006_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11Texture2D); -} - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +void __thiscall IVRChaperone_004_ReloadInfo(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; } -uint32_t __thiscall IVRRenderModels_006_GetRenderModelCount(void *_this) +void __thiscall IVRChaperone_004_SetSceneColor(void *_this, HmdColor_t color) { push_ptr_parameter(_this); - return 0; + push_HmdColor_parameter(color); } -uint32_t __thiscall IVRRenderModels_006_GetComponentCount(void *_this, const char * pchRenderModelName) +void __thiscall IVRChaperone_004_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; + push_ptr_parameter(pOutputColorArray); + push_uint32_parameter(nNumOutputColors); + push_float_parameter(flCollisionBoundsFadeDistance); + push_ptr_parameter(pOutputCameraColor); } -uint32_t __thiscall IVRRenderModels_006_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +bool __thiscall IVRChaperone_004_AreBoundsVisible(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); return 0; } -uint64_t __thiscall IVRRenderModels_006_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) +void __thiscall IVRChaperone_004_ForceBoundsVisible(void *_this, bool bForce) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; + push_bool_parameter(bForce); } -uint32_t __thiscall IVRRenderModels_006_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +void __thiscall IVRChaperone_004_ResetZeroPose(void *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; + push_uint32_parameter(eTrackingUniverseOrigin); } -bool __thiscall IVRRenderModels_006_GetComponentStateForDevicePath(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +EVRInitError __thiscall IVRClientCore_002_Init(void *_this, EVRApplicationType eApplicationType) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_uint64_parameter(devicePath); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); + push_uint32_parameter(eApplicationType); return 0; } -bool __thiscall IVRRenderModels_006_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +void __thiscall IVRClientCore_002_Cleanup(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; } -bool __thiscall IVRRenderModels_006_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) +EVRInitError __thiscall IVRClientCore_002_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); + push_ptr_parameter(pchInterfaceVersion); return 0; } -uint32_t __thiscall IVRRenderModels_006_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) +void * __thiscall IVRClientCore_002_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchThumbnailURL); - push_uint32_parameter(unThumbnailURLLen); + push_ptr_parameter(pchNameAndVersion); push_ptr_parameter(peError); return 0; } -uint32_t __thiscall IVRRenderModels_006_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) +bool __thiscall IVRClientCore_002_BIsHmdPresent(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchOriginalPath); - push_uint32_parameter(unOriginalPathLen); - push_ptr_parameter(peError); return 0; } -const char * __thiscall IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error) +const char * __thiscall IVRClientCore_002_GetEnglishStringForHmdError(void *_this, EVRInitError eError) { push_ptr_parameter(_this); - push_uint32_parameter(error); + push_uint32_parameter(eError); return 0; } -void __thiscall IVRExtendedDisplay_001_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +const char * __thiscall IVRClientCore_002_GetIDForVRInitError(void *_this, EVRInitError eError) { push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRExtendedDisplay_001_GetEyeOutputViewport(void *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRExtendedDisplay_001_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -const char * __thiscall IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -void __thiscall IVRTrackedCamera_006_SetCameraTrackingSpace(void *_this, ETrackingUniverseOrigin eUniverse) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eUniverse); -} - -ETrackingUniverseOrigin __thiscall IVRTrackedCamera_006_GetCameraTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_RequestScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutScreenshotHandle); - push_uint32_parameter(type); - push_ptr_parameter(pchPreviewFilename); - push_ptr_parameter(pchVRFilename); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_HookScreenshot(void *_this, EVRScreenshotType * pSupportedTypes, int numTypes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSupportedTypes); - push_uint32_parameter(numTypes); - return 0; -} - -EVRScreenshotType __thiscall IVRScreenshots_001_GetScreenshotPropertyType(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRScreenshots_001_GetScreenshotPropertyFilename(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_uint32_parameter(filenameType); - push_ptr_parameter(pchFilename); - push_uint32_parameter(cchFilename); - push_ptr_parameter(pError); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_UpdateScreenshotProgress(void *_this, ScreenshotHandle_t screenshotHandle, float flProgress) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_float_parameter(flProgress); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_TakeStereoScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutScreenshotHandle); - push_ptr_parameter(pchPreviewFilename); - push_ptr_parameter(pchVRFilename); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_SubmitScreenshot(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_uint32_parameter(type); - push_ptr_parameter(pchSourcePreviewFilename); - push_ptr_parameter(pchSourceVRFilename); - return 0; -} - -uint32_t __thiscall IVRResources_001_LoadSharedResource(void *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchResourceName); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferLen); - return 0; -} - -uint32_t __thiscall IVRResources_001_GetResourceFullPath(void *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchResourceName); - push_ptr_parameter(pchResourceTypeDirectory); - push_ptr_parameter(pchPathBuffer); - push_uint32_parameter(unBufferLen); - return 0; -} - -uint32_t __thiscall IVRDriverManager_001_GetDriverCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRDriverManager_001_GetDriverName(void *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDriver); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -DriverHandle_t __thiscall IVRDriverManager_001_GetDriverHandle(void *_this, const char * pchDriverName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchDriverName); - return 0; -} - -bool __thiscall IVRDriverManager_001_IsEnabled(void *_this, DriverId_t nDriver) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDriver); - return 0; -} - -EVRInputError __thiscall IVRInput_010_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetDominantHand(void *_this, ETrackedControllerRole * peDominantHand) -{ - push_ptr_parameter(_this); - push_ptr_parameter(peDominantHand); - return 0; -} - -EVRInputError __thiscall IVRInput_010_SetDominantHand(void *_this, ETrackedControllerRole eDominantHand) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDominantHand); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pBoneCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pParentIndices); - push_uint32_parameter(unIndexArayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(nBoneIndex); - push_ptr_parameter(pchBoneName); - push_uint32_parameter(unNameBufferSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eReferencePose); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalTrackingLevel); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eSummaryType); - push_ptr_parameter(pSkeletalSummaryData); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_uint32_parameter(eTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - push_uint32_parameter(unStringSectionsToInclude); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unBindingInfoSize); - push_uint32_parameter(unBindingInfoCount); - push_ptr_parameter(punReturnedBindingInfoCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetComponentStateForBinding(void *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unBindingInfoSize); - push_uint32_parameter(unBindingInfoCount); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRInput_010_IsUsingLegacyInput(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRInputError __thiscall IVRInput_010_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint64_parameter(ulActionSetHandle); - push_uint64_parameter(ulDeviceHandle); - push_bool_parameter(bShowOnDesktop); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBindingVariant(void *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulDevicePath); - push_ptr_parameter(pchVariantArray); - push_uint32_parameter(unVariantArraySize); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchPath); - push_uint32_parameter(mode); - push_uint32_parameter(unElementSize); - push_uint32_parameter(unElements); - push_ptr_parameter(pulBuffer); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Close(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pDst); - push_uint32_parameter(unBytes); - push_ptr_parameter(punRead); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pSrc); - push_uint32_parameter(unBytes); - return 0; -} - -PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); + push_uint32_parameter(eError); return 0; } @@ -2850,1365 +1969,4070 @@ const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRIn return 0; } -EVROverlayError __thiscall IVROverlay_026_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +uint32_t __thiscall IVRCompositor_005_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); + push_ptr_parameter(pchBuffer); push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); return 0; } -uint32_t __thiscall IVROverlay_026_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +void __thiscall IVRCompositor_005_SetVSync(void *_this, bool bVSync) +{ + push_ptr_parameter(_this); + push_bool_parameter(bVSync); +} + +bool __thiscall IVRCompositor_005_GetVSync(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); return 0; } -EVROverlayError __thiscall IVROverlay_026_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +void __thiscall IVRCompositor_005_SetGamma(void *_this, float fGamma) +{ + push_ptr_parameter(_this); + push_float_parameter(fGamma); +} + +float __thiscall IVRCompositor_005_GetGamma(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); return 0; } -EVROverlayError __thiscall IVROverlay_026_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +void __thiscall IVRCompositor_005_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); + push_uint32_parameter(eType); + push_ptr_parameter(pDevice); +} + +void __thiscall IVRCompositor_005_WaitGetPoses(void *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pPoseArray); + push_uint32_parameter(unPoseArrayCount); +} + +void __thiscall IVRCompositor_005_Submit(void *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); +} + +void __thiscall IVRCompositor_005_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_005_GetOverlayDefaults(void *_this, Compositor_OverlaySettings * pSettings) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSettings); +} + +void __thiscall IVRCompositor_005_SetOverlay(void *_this, void * pTexture, Compositor_OverlaySettings * pSettings) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTexture); + push_ptr_parameter(pSettings); +} + +void __thiscall IVRCompositor_005_SetOverlayRaw(void *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) +{ + push_ptr_parameter(_this); + push_ptr_parameter(buffer); + push_uint32_parameter(width); + push_uint32_parameter(height); + push_uint32_parameter(depth); + push_ptr_parameter(pSettings); +} + +void __thiscall IVRCompositor_005_SetOverlayFromFile(void *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchFilePath); + push_ptr_parameter(pSettings); +} + +void __thiscall IVRCompositor_005_ClearOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_005_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); return 0; } -const char * __thiscall IVROverlay_026_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +void __thiscall IVRCompositor_005_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fSeconds); push_float_parameter(fRed); push_float_parameter(fGreen); push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_005_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +void __thiscall IVRCompositor_005_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_005_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_005_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_005_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_026_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +bool __thiscall IVRCompositor_005_ComputeOverlayIntersection(void *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); + push_ptr_parameter(pSettings); + push_float_parameter(fAspectRatio); + push_uint32_parameter(eOrigin); + push_HmdVector3_parameter(vSource); + push_HmdVector3_parameter(vDirection); + push_ptr_parameter(pvecIntersectionUV); + push_ptr_parameter(pvecIntersectionTrackingSpace); return 0; } -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +void __thiscall IVRCompositor_005_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +TrackingUniverseOrigin __thiscall IVRCompositor_005_GetTrackingSpace(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); return 0; } -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +uint32_t __thiscall IVRCompositor_006_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); return 0; } -EVROverlayError __thiscall IVROverlay_026_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +void __thiscall IVRCompositor_006_SetVSync(void *_this, bool bVSync) +{ + push_ptr_parameter(_this); + push_bool_parameter(bVSync); +} + +bool __thiscall IVRCompositor_006_GetVSync(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); return 0; } -EVROverlayError __thiscall IVROverlay_026_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +void __thiscall IVRCompositor_006_SetGamma(void *_this, float fGamma) +{ + push_ptr_parameter(_this); + push_float_parameter(fGamma); +} + +float __thiscall IVRCompositor_006_GetGamma(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); return 0; } -EVROverlayError __thiscall IVROverlay_026_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void __thiscall IVRCompositor_006_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); + push_uint32_parameter(eType); + push_ptr_parameter(pDevice); +} + +VRCompositorError __thiscall IVRCompositor_006_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); return 0; } -EVROverlayError __thiscall IVROverlay_026_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +VRCompositorError __thiscall IVRCompositor_006_Submit(void *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRadians); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRadians); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - push_ptr_parameter(pProjection); push_uint32_parameter(eEye); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_026_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_WaitFrameSync(void *_this, uint32_t nTimeoutMs) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nTimeoutMs); - return 0; -} - -bool __thiscall IVROverlay_026_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_026_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_026_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); return 0; } -EVROverlayError __thiscall IVROverlay_026_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +void __thiscall IVRCompositor_006_ClearLastSubmittedFrame(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); +} + +bool __thiscall IVRCompositor_006_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); return 0; } -EVROverlayError __thiscall IVROverlay_026_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +void __thiscall IVRCompositor_006_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_026_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_026_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_026_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_026_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_026_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_026_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_026_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_026_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_026_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_025_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_025_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fSeconds); push_float_parameter(fRed); push_float_parameter(fGreen); push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_006_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +void __thiscall IVRCompositor_006_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_006_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_006_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_006_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_025_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +void __thiscall IVRCompositor_006_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +TrackingUniverseOrigin __thiscall IVRCompositor_006_GetTrackingSpace(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); return 0; } -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +uint32_t __thiscall IVRCompositor_006_GetCurrentSceneFocusProcess(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); return 0; } -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +bool __thiscall IVRCompositor_006_CanRenderScene(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); return 0; } -EVROverlayError __thiscall IVROverlay_025_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +uint32_t __thiscall IVRCompositor_007_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); return 0; } -EVROverlayError __thiscall IVROverlay_025_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +void __thiscall IVRCompositor_007_SetVSync(void *_this, bool bVSync) +{ + push_ptr_parameter(_this); + push_bool_parameter(bVSync); +} + +bool __thiscall IVRCompositor_007_GetVSync(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); return 0; } -EVROverlayError __thiscall IVROverlay_025_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +void __thiscall IVRCompositor_007_SetGamma(void *_this, float fGamma) +{ + push_ptr_parameter(_this); + push_float_parameter(fGamma); +} + +float __thiscall IVRCompositor_007_GetGamma(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); return 0; } -EVROverlayError __thiscall IVROverlay_025_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +VRCompositorError __thiscall IVRCompositor_007_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); return 0; } -EVROverlayError __thiscall IVROverlay_025_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +VRCompositorError __thiscall IVRCompositor_007_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - push_ptr_parameter(pProjection); push_uint32_parameter(eEye); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_025_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_025_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_025_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_025_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureType); push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); return 0; } -EVROverlayError __thiscall IVROverlay_025_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +void __thiscall IVRCompositor_007_ClearLastSubmittedFrame(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; } -EVROverlayError __thiscall IVROverlay_025_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +bool __thiscall IVRCompositor_007_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); return 0; } -EVROverlayError __thiscall IVROverlay_025_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +void __thiscall IVRCompositor_007_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); } -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +void __thiscall IVRCompositor_007_FadeGrid(void *_this, float fSeconds, bool bFadeIn) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); } -EVROverlayError __thiscall IVROverlay_025_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +void __thiscall IVRCompositor_007_CompositorBringToFront(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; } -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +void __thiscall IVRCompositor_007_CompositorGoToBack(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; } -EVROverlayError __thiscall IVROverlay_025_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +void __thiscall IVRCompositor_007_CompositorQuit(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; } -bool __thiscall IVROverlay_025_IsDashboardVisible(void *_this) +bool __thiscall IVRCompositor_007_IsFullscreen(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVROverlay_025_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +void __thiscall IVRCompositor_007_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; + push_uint32_parameter(eOrigin); } -EVROverlayError __thiscall IVROverlay_025_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_025_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_025_GetPrimaryDashboardDevice(void *_this) +TrackingUniverseOrigin __thiscall IVRCompositor_007_GetTrackingSpace(void *_this) { push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_025_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +uint32_t __thiscall IVRCompositor_007_GetCurrentSceneFocusProcess(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); return 0; } -EVROverlayError __thiscall IVROverlay_025_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +bool __thiscall IVRCompositor_007_CanRenderScene(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); return 0; } -uint32_t __thiscall IVROverlay_025_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +uint32_t __thiscall IVRCompositor_008_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); return 0; } -void __thiscall IVROverlay_025_HideKeyboard(void *_this) +void __thiscall IVRCompositor_008_SetVSync(void *_this, bool bVSync) { push_ptr_parameter(_this); + push_bool_parameter(bVSync); } -void __thiscall IVROverlay_025_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +bool __thiscall IVRCompositor_008_GetVSync(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_025_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_025_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); return 0; } -void __thiscall IVROverlay_025_CloseMessageOverlay(void *_this) +void __thiscall IVRCompositor_008_SetGamma(void *_this, float fGamma) +{ + push_ptr_parameter(_this); + push_float_parameter(fGamma); +} + +float __thiscall IVRCompositor_008_GetGamma(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +VRCompositorError __thiscall IVRCompositor_008_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +VRCompositorError __thiscall IVRCompositor_008_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_uint32_parameter(eTextureType); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_008_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_008_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +void __thiscall IVRCompositor_008_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_008_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +void __thiscall IVRCompositor_008_SetSkyboxOverride(void *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTextureType); + push_ptr_parameter(pFront); + push_ptr_parameter(pBack); + push_ptr_parameter(pLeft); + push_ptr_parameter(pRight); + push_ptr_parameter(pTop); + push_ptr_parameter(pBottom); +} + +void __thiscall IVRCompositor_008_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_008_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_008_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_008_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_008_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_008_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +TrackingUniverseOrigin __thiscall IVRCompositor_008_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_008_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_008_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_008_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_008_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_008_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +float __thiscall IVRCompositor_008_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_008_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_009_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_009_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_009_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_009_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_009_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_009_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_009_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_009_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_009_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_009_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_009_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_009_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_009_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_009_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_009_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_009_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_009_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_009_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_009_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_009_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_009_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_009_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_009_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_009_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_010_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_010_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_010_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_010_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_010_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_010_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_010_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_010_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_010_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_010_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_010_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_010_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_010_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_010_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_010_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_010_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_010_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_010_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_010_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_010_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_010_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_010_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_010_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_010_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_011_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_011_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_011_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_011_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_011_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_011_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_011_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_011_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_011_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_011_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_011_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_011_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_011_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_011_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_011_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_011_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_011_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_011_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_011_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_011_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_011_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_011_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_011_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_011_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_012_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_012_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_012_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_012_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_012_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_012_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_012_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_012_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_012_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_012_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_012_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_012_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_012_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_012_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_012_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_012_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_012_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_012_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_012_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_012_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_012_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_012_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_012_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_012_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_012_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_013_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_013_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_013_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_013_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_013_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_013_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_013_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_013_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_013_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_013_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_013_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_013_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_013_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_013_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_013_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_013_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_013_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_013_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_013_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_013_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_013_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_013_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_013_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_013_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_013_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_013_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_014_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_014_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_014_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_014_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_014_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_014_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_014_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_014_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_014_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_014_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_014_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_014_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_014_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_014_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_014_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_014_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_014_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_014_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_014_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_014_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_014_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_014_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_014_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_014_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_014_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_014_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_014_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_014_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +void __thiscall IVRCompositor_015_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_015_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_015_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_015_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_015_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_015_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_015_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_015_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_015_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_015_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_015_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_015_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_015_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_015_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_015_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_015_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_015_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_015_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_015_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_015_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_015_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_015_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_015_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_015_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_015_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_015_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_015_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_015_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_015_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_015_RequestScreenshot(void *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) +{ + push_ptr_parameter(_this); + push_uint32_parameter(type); + push_ptr_parameter(pchDestinationFileName); + push_ptr_parameter(pchVRDestinationFileName); + return 0; +} + +EVRScreenshotType __thiscall IVRCompositor_015_GetCurrentScreenshotType(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_015_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_015_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_015_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_016_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_016_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_016_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_016_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_016_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_016_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_016_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_016_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +float __thiscall IVRCompositor_016_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_016_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_016_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_016_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_016_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_016_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_016_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_016_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_016_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_016_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_016_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_016_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_016_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_016_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_016_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_016_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_016_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_016_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_016_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_016_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_016_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_016_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_016_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_016_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_017_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_017_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_017_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_017_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_017_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_017_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_017_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_017_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_017_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_017_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_017_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_017_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +void __thiscall IVRCompositor_017_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +EVRCompositorError __thiscall IVRCompositor_017_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_017_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_017_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_017_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_017_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_017_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_017_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_017_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_017_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_017_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_017_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_017_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_017_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_017_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_017_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_017_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_017_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_017_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_017_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_017_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_018_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_018_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_018_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_018_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_018_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_018_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_018_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_018_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_018_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_018_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_018_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_018_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +HmdColor_t *__thiscall IVRCompositor_018_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_bool_parameter(bBackground); + return 0; +} + +void __thiscall IVRCompositor_018_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +float __thiscall IVRCompositor_018_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_018_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_018_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_018_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_018_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_018_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_018_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_018_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_018_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_018_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_018_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_018_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_018_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_018_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_018_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_018_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_018_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_018_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_018_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_018_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_018_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_019_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_019_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_019_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_019_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_019_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_019_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_019_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_019_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_019_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_019_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_019_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_019_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +HmdColor_t *__thiscall IVRCompositor_019_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_bool_parameter(bBackground); + return 0; +} + +void __thiscall IVRCompositor_019_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +float __thiscall IVRCompositor_019_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_019_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_019_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_019_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_019_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_019_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_019_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_019_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_019_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_019_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_019_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_019_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_019_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_019_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_019_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_019_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_019_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_019_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_019_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_019_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_019_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +uint32_t __thiscall IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +uint32_t __thiscall IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pPhysicalDevice); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +void __thiscall IVRCompositor_020_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_020_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_020_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_020_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_020_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_020_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_020_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_020_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_020_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_020_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_020_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_020_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +HmdColor_t *__thiscall IVRCompositor_020_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_bool_parameter(bBackground); + return 0; +} + +void __thiscall IVRCompositor_020_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +float __thiscall IVRCompositor_020_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_020_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_020_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_020_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_020_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_020_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_020_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_020_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_020_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_020_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_020_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_020_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_020_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_020_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_020_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_020_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_020_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_020_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +void __thiscall IVRCompositor_020_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11ShaderResourceView); +} + +EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_020_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_020_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_020_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +uint32_t __thiscall IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +uint32_t __thiscall IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pPhysicalDevice); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +void __thiscall IVRCompositor_021_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_021_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_021_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_021_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_021_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_021_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_021_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_021_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_021_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_021_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_021_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_021_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +HmdColor_t *__thiscall IVRCompositor_021_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_bool_parameter(bBackground); + return 0; +} + +void __thiscall IVRCompositor_021_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +float __thiscall IVRCompositor_021_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_021_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_021_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_021_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_021_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_021_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_021_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_021_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_021_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_021_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_021_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_021_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_021_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_021_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_021_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_021_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_021_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_021_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +void __thiscall IVRCompositor_021_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11ShaderResourceView); +} + +EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_021_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_021_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_021_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +uint32_t __thiscall IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +uint32_t __thiscall IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pPhysicalDevice); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +void __thiscall IVRCompositor_021_SetExplicitTimingMode(void *_this, bool bExplicitTimingMode) +{ + push_ptr_parameter(_this); + push_bool_parameter(bExplicitTimingMode); +} + +EVRCompositorError __thiscall IVRCompositor_021_SubmitExplicitTimingData(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_022_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_022_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_022_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_022_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_022_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_022_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_022_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_022_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_022_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_022_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_022_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_022_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +HmdColor_t *__thiscall IVRCompositor_022_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_bool_parameter(bBackground); + return 0; +} + +void __thiscall IVRCompositor_022_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +float __thiscall IVRCompositor_022_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_022_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_022_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_022_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_022_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_022_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_022_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_022_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_022_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_022_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_022_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_022_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_022_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_022_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_022_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_022_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_022_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_022_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +void __thiscall IVRCompositor_022_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11ShaderResourceView); +} + +EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_022_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_022_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_022_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +uint32_t __thiscall IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +uint32_t __thiscall IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pPhysicalDevice); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +void __thiscall IVRCompositor_022_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTimingMode); +} + +EVRCompositorError __thiscall IVRCompositor_022_SubmitExplicitTimingData(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_022_IsMotionSmoothingEnabled(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_022_IsMotionSmoothingSupported(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_024_GetTrackingSpace(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_024_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_024_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_024_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); + return 0; +} + +void __thiscall IVRCompositor_024_ClearLastSubmittedFrame(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_024_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_024_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); + return 0; +} + +uint32_t __thiscall IVRCompositor_024_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); + return 0; +} + +float __thiscall IVRCompositor_024_GetFrameTimeRemaining(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_024_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); +} + +void __thiscall IVRCompositor_024_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + push_float_parameter(fAlpha); + push_bool_parameter(bBackground); +} + +HmdColor_t *__thiscall IVRCompositor_024_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_bool_parameter(bBackground); + return 0; +} + +void __thiscall IVRCompositor_024_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeIn); +} + +float __thiscall IVRCompositor_024_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_024_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_024_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_024_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_024_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_024_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_024_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_024_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_024_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_024_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_024_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_024_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_024_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_024_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_024_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_024_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_024_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_024_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; +} + +void __thiscall IVRCompositor_024_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11ShaderResourceView); +} + +EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); + return 0; +} + +bool __thiscall IVRCompositor_024_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); + return 0; +} + +void __thiscall IVRCompositor_024_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +void __thiscall IVRCompositor_024_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(glSharedTextureHandle); +} + +uint32_t __thiscall IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +uint32_t __thiscall IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pPhysicalDevice); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + return 0; +} + +void __thiscall IVRCompositor_024_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTimingMode); +} + +EVRCompositorError __thiscall IVRCompositor_024_SubmitExplicitTimingData(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_024_IsMotionSmoothingEnabled(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_024_IsMotionSmoothingSupported(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_024_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelPath); + push_ptr_parameter(pTransform); + push_ptr_parameter(pRenderSettings); + push_uint32_parameter(nSizeOfRenderSettings); + return 0; +} + +void __thiscall IVRCompositor_024_ClearStageOverride(void *_this) { push_ptr_parameter(_this); } @@ -4562,1085 +6386,353 @@ EVRCompositorError __thiscall IVRCompositor_026_GetPosesForFrame(void *_this, ui return 0; } -EVROverlayError __thiscall IVROverlay_024_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +void __thiscall IVRCompositor_027_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); +} + +ETrackingUniverseOrigin __thiscall IVRCompositor_027_GetTrackingSpace(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_024_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +EVRCompositorError __thiscall IVRCompositor_027_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); return 0; } -EVROverlayError __thiscall IVROverlay_024_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVRCompositorError __thiscall IVRCompositor_027_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pRenderPoseArray); + push_uint32_parameter(unRenderPoseArrayCount); + push_ptr_parameter(pGamePoseArray); + push_uint32_parameter(unGamePoseArrayCount); return 0; } -uint32_t __thiscall IVROverlay_024_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +EVRCompositorError __thiscall IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pOutputGamePose); return 0; } -uint32_t __thiscall IVROverlay_024_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +EVRCompositorError __thiscall IVRCompositor_027_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); + push_uint32_parameter(eEye); + push_ptr_parameter(pTexture); + push_ptr_parameter(pBounds); + push_uint32_parameter(nSubmitFlags); return 0; } -EVROverlayError __thiscall IVROverlay_024_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +void __thiscall IVRCompositor_027_ClearLastSubmittedFrame(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); +} + +void __thiscall IVRCompositor_027_PostPresentHandoff(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_027_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTiming); + push_uint32_parameter(unFramesAgo); return 0; } -EVROverlayError __thiscall IVROverlay_024_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +uint32_t __thiscall IVRCompositor_027_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); + push_ptr_parameter(pTiming); + push_uint32_parameter(nFrames); return 0; } -const char * __thiscall IVROverlay_024_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +float __thiscall IVRCompositor_027_GetFrameTimeRemaining(void *_this) { push_ptr_parameter(_this); - push_uint32_parameter(error); return 0; } -EVROverlayError __thiscall IVROverlay_024_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +void __thiscall IVRCompositor_027_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; + push_ptr_parameter(pStats); + push_uint32_parameter(nStatsSizeInBytes); } -uint32_t __thiscall IVROverlay_024_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +void __thiscall IVRCompositor_027_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fSeconds); push_float_parameter(fRed); push_float_parameter(fGreen); push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_float_parameter(fAlpha); - return 0; + push_bool_parameter(bBackground); } -EVROverlayError __thiscall IVROverlay_024_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_024_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_024_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_024_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_024_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_024_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_024_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_024_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_024_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_024_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_024_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_024_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_024_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_024_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_024_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_021_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_021_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +HmdColor_t *__thiscall IVRCompositor_027_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) { push_ptr_parameter(_this); push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); + push_bool_parameter(bBackground); return 0; } -void __thiscall IVRSystem_021_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +void __thiscall IVRCompositor_027_FadeGrid(void *_this, float fSeconds, bool bFadeGridIn) +{ + push_ptr_parameter(_this); + push_float_parameter(fSeconds); + push_bool_parameter(bFadeGridIn); +} + +float __thiscall IVRCompositor_027_GetCurrentGridAlpha(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_027_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTextures); + push_uint32_parameter(unTextureCount); + return 0; +} + +void __thiscall IVRCompositor_027_ClearSkyboxOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_027_CompositorBringToFront(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_027_CompositorGoToBack(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_027_CompositorQuit(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_027_IsFullscreen(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_027_GetCurrentSceneFocusProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRCompositor_027_GetLastFrameRenderer(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRCompositor_027_CanRenderScene(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_027_ShowMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_027_HideMirrorWindow(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_027_IsMirrorWindowVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_027_CompositorDumpImages(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_027_ShouldAppRenderWithLowResources(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRCompositor_027_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +{ + push_ptr_parameter(_this); + push_bool_parameter(bOverride); +} + +void __thiscall IVRCompositor_027_ForceReconnectProcess(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRCompositor_027_SuspendRendering(void *_this, bool bSuspend) +{ + push_ptr_parameter(_this); + push_bool_parameter(bSuspend); +} + +EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) { push_ptr_parameter(_this); push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + return 0; } -bool __thiscall IVRSystem_021_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +void __thiscall IVRCompositor_027_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11ShaderResourceView); +} + +EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) { push_ptr_parameter(_this); push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pglSharedTextureHandle); return 0; } -HmdMatrix34_t *__thiscall IVRSystem_021_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +bool __thiscall IVRCompositor_027_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); + push_uint32_parameter(glTextureId); + push_ptr_parameter(glSharedTextureHandle); return 0; } -bool __thiscall IVRSystem_021_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +void __thiscall IVRCompositor_027_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) { push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; + push_ptr_parameter(glSharedTextureHandle); } -int32_t __thiscall IVRSystem_021_GetD3D9AdapterIndex(void *_this) +void __thiscall IVRCompositor_027_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) { push_ptr_parameter(_this); - return 0; + push_ptr_parameter(glSharedTextureHandle); } -void __thiscall IVRSystem_021_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +uint32_t __thiscall IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_021_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_021_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_021_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_021_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_021_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_021_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_021_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_021_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_021_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_021_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_021_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_021_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_021_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); return 0; } -const char * __thiscall IVRSystem_021_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +uint32_t __thiscall IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_021_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_021_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_021_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_021_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_021_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_021_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_021_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_021_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_021_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_021_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_021_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -uint32_t __thiscall IVRSystem_021_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); + push_ptr_parameter(pPhysicalDevice); + push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); return 0; } -const char * __thiscall IVRSystem_021_GetRuntimeVersion(void *_this) +void __thiscall IVRCompositor_027_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTimingMode); +} + +EVRCompositorError __thiscall IVRCompositor_027_SubmitExplicitTimingData(void *_this) { push_ptr_parameter(_this); return 0; } -ChaperoneCalibrationState __thiscall IVRChaperone_003_GetCalibrationState(void *_this) +bool __thiscall IVRCompositor_027_IsMotionSmoothingEnabled(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVRChaperone_003_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperone_003_GetPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -void __thiscall IVRChaperone_003_ReloadInfo(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperone_003_SetSceneColor(void *_this, HmdColor_t color) -{ - push_ptr_parameter(_this); - push_HmdColor_parameter(color); -} - -void __thiscall IVRChaperone_003_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputColorArray); - push_uint32_parameter(nNumOutputColors); - push_float_parameter(flCollisionBoundsFadeDistance); - push_ptr_parameter(pOutputCameraColor); -} - -bool __thiscall IVRChaperone_003_AreBoundsVisible(void *_this) +bool __thiscall IVRCompositor_027_IsMotionSmoothingSupported(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRChaperone_003_ForceBoundsVisible(void *_this, bool bForce) +bool __thiscall IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *_this) { push_ptr_parameter(_this); - push_bool_parameter(bForce); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_027_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelPath); + push_ptr_parameter(pTransform); + push_ptr_parameter(pRenderSettings); + push_uint32_parameter(nSizeOfRenderSettings); + return 0; +} + +void __thiscall IVRCompositor_027_ClearStageOverride(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRCompositor_027_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pBenchmarkResults); + push_uint32_parameter(nSizeOfBenchmarkResults); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_027_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderPosePredictionID); + push_ptr_parameter(pGamePosePredictionID); + return 0; +} + +EVRCompositorError __thiscall IVRCompositor_027_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unPosePredictionID); + push_ptr_parameter(pPoseArray); + push_uint32_parameter(unPoseArrayCount); + return 0; } uint32_t __thiscall IVRControlPanel_006_undoc1(void *_this) @@ -5834,1061 +6926,1028 @@ void __thiscall IVRControlPanel_006_undoc28(void *_this, VROverlayHandle_t a) push_uint64_parameter(a); } -vrmb_typeb __thiscall IVRMailbox_001_undoc1(void *_this, const char * a, vrmb_typea * b) +uint32_t __thiscall IVRDriverManager_001_GetDriverCount(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(a); - push_ptr_parameter(b); return 0; } -vrmb_typeb __thiscall IVRMailbox_001_undoc2(void *_this, vrmb_typea a) +uint32_t __thiscall IVRDriverManager_001_GetDriverName(void *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) { push_ptr_parameter(_this); - push_uint64_parameter(a); + push_uint32_parameter(nDriver); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); return 0; } -vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const char * b, const char * c) +DriverHandle_t __thiscall IVRDriverManager_001_GetDriverHandle(void *_this, const char * pchDriverName) { push_ptr_parameter(_this); - push_uint64_parameter(a); - push_ptr_parameter(b); - push_ptr_parameter(c); + push_ptr_parameter(pchDriverName); return 0; } -vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d) +bool __thiscall IVRDriverManager_001_IsEnabled(void *_this, DriverId_t nDriver) { push_ptr_parameter(_this); - push_uint64_parameter(a); - push_ptr_parameter(b); - push_uint32_parameter(c); - push_ptr_parameter(d); + push_uint32_parameter(nDriver); return 0; } -void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +void __thiscall IVRExtendedDisplay_001_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRExtendedDisplay_001_GetEyeOutputViewport(void *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRExtendedDisplay_001_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); + push_ptr_parameter(pnAdapterOutputIndex); +} + +void __thiscall IVRHeadsetView_001_SetHeadsetViewSize(void *_this, uint32_t nWidth, uint32_t nHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nWidth); + push_uint32_parameter(nHeight); +} + +void __thiscall IVRHeadsetView_001_GetHeadsetViewSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRHeadsetView_001_SetHeadsetViewMode(void *_this, HeadsetViewMode_t eHeadsetViewMode) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eHeadsetViewMode); +} + +HeadsetViewMode_t __thiscall IVRHeadsetView_001_GetHeadsetViewMode(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRHeadsetView_001_SetHeadsetViewCropped(void *_this, bool bCropped) +{ + push_ptr_parameter(_this); + push_bool_parameter(bCropped); +} + +bool __thiscall IVRHeadsetView_001_GetHeadsetViewCropped(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +float __thiscall IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRHeadsetView_001_SetHeadsetViewBlendRange(void *_this, float flStartPct, float flEndPct) +{ + push_ptr_parameter(_this); + push_float_parameter(flStartPct); + push_float_parameter(flEndPct); +} + +void __thiscall IVRHeadsetView_001_GetHeadsetViewBlendRange(void *_this, float * pStartPct, float * pEndPct) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pStartPct); + push_ptr_parameter(pEndPct); +} + +EIOBufferError __thiscall IVRIOBuffer_001_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchPath); + push_uint32_parameter(mode); + push_uint32_parameter(unElementSize); + push_uint32_parameter(unElements); + push_ptr_parameter(pulBuffer); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_001_Close(void *_this, IOBufferHandle_t ulBuffer) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_001_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + push_ptr_parameter(pDst); + push_uint32_parameter(unBytes); + push_ptr_parameter(punRead); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_001_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + push_ptr_parameter(pSrc); + push_uint32_parameter(unBytes); + return 0; +} + +PropertyContainerHandle_t __thiscall IVRIOBuffer_001_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_002_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchPath); + push_uint32_parameter(mode); + push_uint32_parameter(unElementSize); + push_uint32_parameter(unElements); + push_ptr_parameter(pulBuffer); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_002_Close(void *_this, IOBufferHandle_t ulBuffer) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_002_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + push_ptr_parameter(pDst); + push_uint32_parameter(unBytes); + push_ptr_parameter(punRead); + return 0; +} + +EIOBufferError __thiscall IVRIOBuffer_002_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + push_ptr_parameter(pSrc); + push_uint32_parameter(unBytes); + return 0; +} + +PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + return 0; +} + +bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulBuffer); + return 0; +} + +EVRInputError __thiscall IVRInput_003_SetActionManifestPath(void *_this, const char * pchActionManifestPath) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchActionManifestPath); + return 0; +} + +EVRInputError __thiscall IVRInput_003_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchActionSetName); + push_ptr_parameter(pHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_003_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchActionName); + push_ptr_parameter(pHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_003_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchInputSourcePath); + push_ptr_parameter(pHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_003_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); + return 0; +} + +EVRInputError __thiscall IVRInput_003_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + return 0; +} + +EVRInputError __thiscall IVRInput_003_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + return 0; +} + +EVRInputError __thiscall IVRInput_003_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_024_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_024_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_024_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_024_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_024_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_024_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_024_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_024_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_024_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_024_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_024_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_024_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_024_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_024_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_024_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelPath); - push_ptr_parameter(pTransform); - push_ptr_parameter(pRenderSettings); - push_uint32_parameter(nSizeOfRenderSettings); - return 0; -} - -void __thiscall IVRCompositor_024_ClearStageOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_022_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_022_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_022_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_022_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_022_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_022_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fPredictedSecondsFromNow); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +EVRInputError __thiscall IVRInput_003_GetSkeletalActionData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); + push_uint64_parameter(action); + push_uint32_parameter(eBoneParent); + push_float_parameter(fPredictedSecondsFromNow); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); return 0; } -EVROverlayError __thiscall IVROverlay_022_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +EVRInputError __thiscall IVRInput_003_GetSkeletalActionDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); + push_uint64_parameter(action); + push_uint32_parameter(eBoneParent); + push_float_parameter(fPredictedSecondsFromNow); + push_ptr_parameter(pvCompressedData); + push_uint32_parameter(unCompressedSize); + push_ptr_parameter(punRequiredCompressedSize); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVRInputError __thiscall IVRInput_003_UncompressSkeletalActionData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); + push_ptr_parameter(pvCompressedBuffer); + push_uint32_parameter(unCompressedBufferSize); + push_ptr_parameter(peBoneParent); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); return 0; } -EVROverlayError __thiscall IVROverlay_022_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +EVRInputError __thiscall IVRInput_003_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(action); + push_float_parameter(fStartSecondsFromNow); push_float_parameter(fDurationSeconds); push_float_parameter(fFrequency); push_float_parameter(fAmplitude); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +EVRInputError __thiscall IVRInput_003_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(digitalActionHandle); + push_ptr_parameter(originsOut); + push_uint32_parameter(originOutCount); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +EVRInputError __thiscall IVRInput_003_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); + push_uint64_parameter(origin); + push_ptr_parameter(pchNameArray); + push_uint32_parameter(unNameArraySize); return 0; } -EVROverlayError __thiscall IVROverlay_022_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) +EVRInputError __thiscall IVRInput_003_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(origin); + push_ptr_parameter(pOriginInfo); + push_uint32_parameter(unOriginInfoSize); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +EVRInputError __thiscall IVRInput_003_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(ulActionHandle); return 0; } -EVROverlayError __thiscall IVROverlay_022_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +EVRInputError __thiscall IVRInput_003_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); + push_uint64_parameter(originToHighlight); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +EVRInputError __thiscall IVRInput_004_SetActionManifestPath(void *_this, const char * pchActionManifestPath) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); + push_ptr_parameter(pchActionManifestPath); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +EVRInputError __thiscall IVRInput_004_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); + push_ptr_parameter(pchActionSetName); + push_ptr_parameter(pHandle); return 0; } -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +EVRInputError __thiscall IVRInput_004_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); + push_ptr_parameter(pchActionName); + push_ptr_parameter(pHandle); return 0; } -EVROverlayError __thiscall IVROverlay_022_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +EVRInputError __thiscall IVRInput_004_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pchInputSourcePath); + push_ptr_parameter(pHandle); return 0; } -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +EVRInputError __thiscall IVRInput_004_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); return 0; } -EVROverlayError __thiscall IVROverlay_022_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +EVRInputError __thiscall IVRInput_004_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); return 0; } -bool __thiscall IVROverlay_022_IsDashboardVisible(void *_this) +EVRInputError __thiscall IVRInput_004_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsFromNow); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eTransformSpace); + push_uint32_parameter(eMotionRange); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eTransformSpace); + push_uint32_parameter(eMotionRange); + push_ptr_parameter(pvCompressedData); + push_uint32_parameter(unCompressedSize); + push_ptr_parameter(punRequiredCompressedSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_004_DecompressSkeletalBoneData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pvCompressedBuffer); + push_uint32_parameter(unCompressedBufferSize); + push_ptr_parameter(peTransformSpace); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_004_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_float_parameter(fStartSecondsFromNow); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(digitalActionHandle); + push_ptr_parameter(originsOut); + push_uint32_parameter(originOutCount); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(origin); + push_ptr_parameter(pchNameArray); + push_uint32_parameter(unNameArraySize); + return 0; +} + +EVRInputError __thiscall IVRInput_004_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(origin); + push_ptr_parameter(pOriginInfo); + push_uint32_parameter(unOriginInfoSize); + return 0; +} + +EVRInputError __thiscall IVRInput_004_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(ulActionHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_004_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); + push_uint64_parameter(originToHighlight); + return 0; +} + +EVRInputError __thiscall IVRInput_005_SetActionManifestPath(void *_this, const char * pchActionManifestPath) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchActionManifestPath); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchActionSetName); + push_ptr_parameter(pHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchActionName); + push_ptr_parameter(pHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchInputSourcePath); + push_ptr_parameter(pHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_005_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsFromNow); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pBoneCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pParentIndices); + push_uint32_parameter(unIndexArayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(nBoneIndex); + push_ptr_parameter(pchBoneName); + push_uint32_parameter(unNameBufferSize); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eTransformSpace); + push_uint32_parameter(eReferencePose); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pSkeletalTrackingLevel); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eTransformSpace); + push_uint32_parameter(eMotionRange); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pSkeletalSummaryData); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eMotionRange); + push_ptr_parameter(pvCompressedData); + push_uint32_parameter(unCompressedSize); + push_ptr_parameter(punRequiredCompressedSize); + return 0; +} + +EVRInputError __thiscall IVRInput_005_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pvCompressedBuffer); + push_uint32_parameter(unCompressedBufferSize); + push_uint32_parameter(eTransformSpace); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_float_parameter(fStartSecondsFromNow); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(digitalActionHandle); + push_ptr_parameter(originsOut); + push_uint32_parameter(originOutCount); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(origin); + push_ptr_parameter(pchNameArray); + push_uint32_parameter(unNameArraySize); + push_uint32_parameter(unStringSectionsToInclude); + return 0; +} + +EVRInputError __thiscall IVRInput_005_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(origin); + push_ptr_parameter(pOriginInfo); + push_uint32_parameter(unOriginInfoSize); + return 0; +} + +EVRInputError __thiscall IVRInput_005_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(ulActionHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_005_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); + push_uint64_parameter(originToHighlight); + return 0; +} + +bool __thiscall IVRInput_005_IsUsingLegacyInput(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVROverlay_022_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVRInputError __thiscall IVRInput_006_SetActionManifestPath(void *_this, const char * pchActionManifestPath) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchActionManifestPath); return 0; } -EVROverlayError __thiscall IVROverlay_022_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); + push_ptr_parameter(pchActionSetName); + push_ptr_parameter(pHandle); return 0; } -EVROverlayError __thiscall IVROverlay_022_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); + push_ptr_parameter(pchActionName); + push_ptr_parameter(pHandle); return 0; } -void __thiscall IVROverlay_022_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_022_GetPrimaryDashboardDevice(void *_this) +EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) { push_ptr_parameter(_this); + push_ptr_parameter(pchInputSourcePath); + push_ptr_parameter(pHandle); return 0; } -EVROverlayError __thiscall IVROverlay_022_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); return 0; } -EVROverlayError __thiscall IVROverlay_022_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); return 0; } -uint32_t __thiscall IVROverlay_022_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); return 0; } -void __thiscall IVROverlay_022_HideKeyboard(void *_this) +EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_022_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_022_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_022_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); + push_uint64_parameter(action); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsFromNow); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); return 0; } -void __thiscall IVROverlay_022_CloseMessageOverlay(void *_this) +EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pActionData); + push_uint32_parameter(unActionDataSize); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pBoneCount); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pParentIndices); + push_uint32_parameter(unIndexArayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(nBoneIndex); + push_ptr_parameter(pchBoneName); + push_uint32_parameter(unNameBufferSize); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eTransformSpace); + push_uint32_parameter(eReferencePose); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pSkeletalTrackingLevel); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eTransformSpace); + push_uint32_parameter(eMotionRange); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eSummaryType); + push_ptr_parameter(pSkeletalSummaryData); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_uint32_parameter(eMotionRange); + push_ptr_parameter(pvCompressedData); + push_uint32_parameter(unCompressedSize); + push_ptr_parameter(punRequiredCompressedSize); + return 0; +} + +EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pvCompressedBuffer); + push_uint32_parameter(unCompressedBufferSize); + push_uint32_parameter(eTransformSpace); + push_ptr_parameter(pTransformArray); + push_uint32_parameter(unTransformArrayCount); + return 0; +} + +EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_float_parameter(fStartSecondsFromNow); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + push_uint64_parameter(ulRestrictToDevice); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(digitalActionHandle); + push_ptr_parameter(originsOut); + push_uint32_parameter(originOutCount); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(origin); + push_ptr_parameter(pchNameArray); + push_uint32_parameter(unNameArraySize); + push_uint32_parameter(unStringSectionsToInclude); + return 0; +} + +EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(origin); + push_ptr_parameter(pOriginInfo); + push_uint32_parameter(unOriginInfoSize); + return 0; +} + +EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(actionSetHandle); + push_uint64_parameter(ulActionHandle); + return 0; +} + +EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pSets); + push_uint32_parameter(unSizeOfVRSelectedActionSet_t); + push_uint32_parameter(unSetCount); + push_uint64_parameter(originToHighlight); + return 0; +} + +bool __thiscall IVRInput_006_IsUsingLegacyInput(void *_this) +{ + push_ptr_parameter(_this); + return 0; } EVRInputError __thiscall IVRInput_007_SetActionManifestPath(void *_this, const char * pchActionManifestPath) @@ -7157,3559 +8216,14 @@ EVRInputError __thiscall IVRInput_007_OpenBindingUI(void *_this, const char * pc return 0; } -const char * __thiscall IVRSettings_002_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -bool __thiscall IVRSettings_002_Sync(void *_this, bool bForce, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_002_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_bool_parameter(bValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_uint32_parameter(nValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_float_parameter(flValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_ptr_parameter(peError); -} - -bool __thiscall IVRSettings_002_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -int32_t __thiscall IVRSettings_002_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -float __thiscall IVRSettings_002_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_002_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_uint32_parameter(unValueLen); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); -} - -void __thiscall IVRCompositor_022_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_022_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_022_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_022_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_022_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_022_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_022_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_022_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_022_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_022_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_022_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_022_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_022_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_022_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_022_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_022_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_021_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_021_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_021_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_021_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_021_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_021_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_021_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_021_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_021_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_021_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_021_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_021_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_021_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_021_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_020_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_020_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_020_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_020_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_020_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_020_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_020_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_020_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_020_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_020_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_020_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_020_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_020_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_020_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_020_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_020_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_020_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_020_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_020_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_020_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_020_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_020_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_020_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_020_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_020_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_020_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_020_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_020_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_020_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_020_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_020_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_020_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_020_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -uint32_t __thiscall IVRSystem_020_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -const char * __thiscall IVRSystem_020_GetRuntimeVersion(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_006_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchTemplateAppKey); - push_ptr_parameter(pchNewAppKey); - push_ptr_parameter(pKeys); - push_uint32_parameter(unKeys); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchArgs); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_006_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_006_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_006_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_006_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_006_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_ptr_parameter(pchMimeType); - return 0; -} - -bool __thiscall IVRApplications_006_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -bool __thiscall IVRApplications_006_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_ptr_parameter(pchMimeTypesBuffer); - push_uint32_parameter(unMimeTypesBuffer); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchAppKeysThatSupportBuffer); - push_uint32_parameter(unAppKeysThatSupportBuffer); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unHandle); - push_ptr_parameter(pchArgs); - push_uint32_parameter(unArgs); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_006_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_006_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetCurrentSceneProcessId(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_020_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_020_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_020_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_020_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_020_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_020_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_020_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_020_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_020_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_020_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_020_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_020_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_020_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_020_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_020_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_019_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_019_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_019_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_019_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_019_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_019_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_019_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_019_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_019_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_019_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_019_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_019_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_019_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_019_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_019_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_019_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_019_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -const char * __thiscall IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -void __thiscall IVRSystem_019_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_019_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_019_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_019_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_019_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_019_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_019_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_019_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_019_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_019_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_019_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_019_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_019_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_019_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_019_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_019_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_019_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_019_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_019_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_019_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_019_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_019_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_019_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_019_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_019_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_019_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_019_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_019_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_019_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_019_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_019_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_019_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_019_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_019_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -EVRInputError __thiscall IVRInput_006_SetActionManifestPath(void *_this, const char * pchActionManifestPath) +EVRInputError __thiscall IVRInput_010_SetActionManifestPath(void *_this, const char * pchActionManifestPath) { push_ptr_parameter(_this); push_ptr_parameter(pchActionManifestPath); return 0; } -EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +EVRInputError __thiscall IVRInput_010_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchActionSetName); @@ -10717,7 +8231,7 @@ EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char return 0; } -EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) +EVRInputError __thiscall IVRInput_010_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchActionName); @@ -10725,7 +8239,7 @@ EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * return 0; } -EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +EVRInputError __thiscall IVRInput_010_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchInputSourcePath); @@ -10733,7 +8247,7 @@ EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const ch return 0; } -EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +EVRInputError __thiscall IVRInput_010_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) { push_ptr_parameter(_this); push_ptr_parameter(pSets); @@ -10742,7 +8256,7 @@ EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveAct return 0; } -EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall IVRInput_010_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10752,7 +8266,7 @@ EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRAction return 0; } -EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall IVRInput_010_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10762,7 +8276,7 @@ EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionH return 0; } -EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall IVRInput_010_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10774,7 +8288,7 @@ EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this return 0; } -EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall IVRInput_010_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10785,7 +8299,7 @@ EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, return 0; } -EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) +EVRInputError __thiscall IVRInput_010_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10794,7 +8308,21 @@ EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActio return 0; } -EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) +EVRInputError __thiscall IVRInput_010_GetDominantHand(void *_this, ETrackedControllerRole * peDominantHand) +{ + push_ptr_parameter(_this); + push_ptr_parameter(peDominantHand); + return 0; +} + +EVRInputError __thiscall IVRInput_010_SetDominantHand(void *_this, ETrackedControllerRole eDominantHand) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDominantHand); + return 0; +} + +EVRInputError __thiscall IVRInput_010_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10802,7 +8330,7 @@ EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t return 0; } -EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) +EVRInputError __thiscall IVRInput_010_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10811,7 +8339,7 @@ EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHand return 0; } -EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) +EVRInputError __thiscall IVRInput_010_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10821,7 +8349,7 @@ EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t return 0; } -EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall IVRInput_010_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10832,7 +8360,7 @@ EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this return 0; } -EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) +EVRInputError __thiscall IVRInput_010_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10840,7 +8368,7 @@ EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRAc return 0; } -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall IVRInput_010_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10851,7 +8379,7 @@ EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionH return 0; } -EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) +EVRInputError __thiscall IVRInput_010_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10860,7 +8388,7 @@ EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActi return 0; } -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +EVRInputError __thiscall IVRInput_010_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10871,7 +8399,7 @@ EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, return 0; } -EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +EVRInputError __thiscall IVRInput_010_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) { push_ptr_parameter(_this); push_ptr_parameter(pvCompressedBuffer); @@ -10882,7 +8410,7 @@ EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, co return 0; } -EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +EVRInputError __thiscall IVRInput_010_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) { push_ptr_parameter(_this); push_uint64_parameter(action); @@ -10894,7 +8422,7 @@ EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, return 0; } -EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +EVRInputError __thiscall IVRInput_010_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) { push_ptr_parameter(_this); push_uint64_parameter(actionSetHandle); @@ -10904,7 +8432,7 @@ EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetH return 0; } -EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +EVRInputError __thiscall IVRInput_010_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) { push_ptr_parameter(_this); push_uint64_parameter(origin); @@ -10914,7 +8442,7 @@ EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInpu return 0; } -EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +EVRInputError __thiscall IVRInput_010_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) { push_ptr_parameter(_this); push_uint64_parameter(origin); @@ -10923,7 +8451,18 @@ EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VR return 0; } -EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +EVRInputError __thiscall IVRInput_010_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) +{ + push_ptr_parameter(_this); + push_uint64_parameter(action); + push_ptr_parameter(pOriginInfo); + push_uint32_parameter(unBindingInfoSize); + push_uint32_parameter(unBindingInfoCount); + push_ptr_parameter(punReturnedBindingInfoCount); + return 0; +} + +EVRInputError __thiscall IVRInput_010_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) { push_ptr_parameter(_this); push_uint64_parameter(actionSetHandle); @@ -10931,7 +8470,7 @@ EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSet return 0; } -EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +EVRInputError __thiscall IVRInput_010_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) { push_ptr_parameter(_this); push_ptr_parameter(pSets); @@ -10941,433 +8480,158 @@ EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRAc return 0; } -bool __thiscall IVRInput_006_IsUsingLegacyInput(void *_this) +EVRInputError __thiscall IVRInput_010_GetComponentStateForBinding(void *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) { push_ptr_parameter(_this); - return 0; -} - -EVRInputError __thiscall IVRInput_005_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pBoneCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pParentIndices); - push_uint32_parameter(unIndexArayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(nBoneIndex); - push_ptr_parameter(pchBoneName); - push_uint32_parameter(unNameBufferSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eReferencePose); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalTrackingLevel); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalSummaryData); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_uint32_parameter(eTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - push_uint32_parameter(unStringSectionsToInclude); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); + push_uint32_parameter(unBindingInfoSize); + push_uint32_parameter(unBindingInfoCount); + push_ptr_parameter(pComponentState); return 0; } -EVRInputError __thiscall IVRInput_005_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -bool __thiscall IVRInput_005_IsUsingLegacyInput(void *_this) +bool __thiscall IVRInput_010_IsUsingLegacyInput(void *_this) { push_ptr_parameter(_this); return 0; } -EIOBufferError __thiscall IVRIOBuffer_001_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) +EVRInputError __thiscall IVRInput_010_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) { push_ptr_parameter(_this); - push_ptr_parameter(pchPath); - push_uint32_parameter(mode); - push_uint32_parameter(unElementSize); - push_uint32_parameter(unElements); - push_ptr_parameter(pulBuffer); + push_ptr_parameter(pchAppKey); + push_uint64_parameter(ulActionSetHandle); + push_uint64_parameter(ulDeviceHandle); + push_bool_parameter(bShowOnDesktop); return 0; } -EIOBufferError __thiscall IVRIOBuffer_001_Close(void *_this, IOBufferHandle_t ulBuffer) +EVRInputError __thiscall IVRInput_010_GetBindingVariant(void *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) { push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); + push_uint64_parameter(ulDevicePath); + push_ptr_parameter(pchVariantArray); + push_uint32_parameter(unVariantArraySize); return 0; } -EIOBufferError __thiscall IVRIOBuffer_001_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) +vrmb_typeb __thiscall IVRMailbox_001_undoc1(void *_this, const char * a, vrmb_typea * b) { push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pDst); - push_uint32_parameter(unBytes); - push_ptr_parameter(punRead); + push_ptr_parameter(a); + push_ptr_parameter(b); return 0; } -EIOBufferError __thiscall IVRIOBuffer_001_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) +vrmb_typeb __thiscall IVRMailbox_001_undoc2(void *_this, vrmb_typea a) { push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pSrc); - push_uint32_parameter(unBytes); + push_uint64_parameter(a); return 0; } -PropertyContainerHandle_t __thiscall IVRIOBuffer_001_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer) +vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const char * b, const char * c) { push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); + push_uint64_parameter(a); + push_ptr_parameter(b); + push_ptr_parameter(c); return 0; } -bool __thiscall IVRChaperoneSetup_005_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) +vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d) { push_ptr_parameter(_this); - push_uint32_parameter(configFile); + push_uint64_parameter(a); + push_ptr_parameter(b); + push_uint32_parameter(c); + push_ptr_parameter(d); return 0; } -void __thiscall IVRChaperoneSetup_005_RevertWorkingCopy(void *_this) +uint32_t __thiscall IVRNotifications_001_GetErrorString(void *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) { push_ptr_parameter(_this); -} - -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); + push_uint32_parameter(error); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); return 0; } -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) +NotificationError_t __thiscall IVRNotifications_001_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) { push_ptr_parameter(_this); - push_ptr_parameter(rect); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulUserValue); + push_ptr_parameter(strType); + push_ptr_parameter(strText); + push_ptr_parameter(strCategory); + push_ptr_parameter(photo); + push_ptr_parameter(notificationId); return 0; } -bool __thiscall IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +NotificationError_t __thiscall IVRNotifications_001_DismissNotification(void *_this, VRNotificationId notificationId) { push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); + push_uint32_parameter(notificationId); return 0; } -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +EVRNotificationError __thiscall IVRNotifications_002_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) { push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulUserValue); + push_uint32_parameter(type); + push_ptr_parameter(pchText); + push_uint32_parameter(style); + push_ptr_parameter(pImage); + push_ptr_parameter(pNotificationId); return 0; } -bool __thiscall IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +EVRNotificationError __thiscall IVRNotifications_002_RemoveNotification(void *_this, VRNotificationId notificationId) { push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); + push_uint32_parameter(notificationId); return 0; } -bool __thiscall IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) +EVROverlayError __thiscall IVROverlayView_003_AcquireOverlayView(void *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) { push_ptr_parameter(_this); - push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeDevice); + push_ptr_parameter(pOverlayView); + push_uint32_parameter(unOverlayViewSize); return 0; } -void __thiscall IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) +EVROverlayError __thiscall IVROverlayView_003_ReleaseOverlayView(void *_this, VROverlayView_t * pOverlayView) { push_ptr_parameter(_this); - push_float_parameter(sizeX); - push_float_parameter(sizeZ); -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_005_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); -} - -bool __thiscall IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); + push_ptr_parameter(pOverlayView); return 0; } -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) +void __thiscall IVROverlayView_003_PostOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) { push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_uint32_parameter(unTagCount); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvrEvent); } -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) +bool __thiscall IVROverlayView_003_IsViewingPermitted(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_ptr_parameter(punTagCount); + push_uint64_parameter(ulOverlayHandle); return 0; } -bool __thiscall IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBuffer); - push_ptr_parameter(pnBufferLength); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBuffer); - push_uint32_parameter(nImportFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +VROverlayError __thiscall IVROverlay_001_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayKey); @@ -11375,97 +8639,43 @@ EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * return 0; } -EVROverlayError __thiscall IVROverlay_018_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +VROverlayError __thiscall IVROverlay_001_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pchOverlayFriendlyName); push_ptr_parameter(pOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_018_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall IVROverlay_001_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_018_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall IVROverlay_001_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -VROverlayHandle_t __thiscall IVROverlay_018_GetHighQualityOverlay(void *_this) +VROverlayHandle_t __thiscall IVROverlay_001_GetHighQualityOverlay(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVROverlay_018_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_018_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +const char * __thiscall IVROverlay_001_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +VROverlayError __thiscall IVROverlay_001_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11474,7 +8684,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayH return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +VROverlayError __thiscall IVROverlay_001_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11483,27 +8693,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayH return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +VROverlayError __thiscall IVROverlay_001_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11511,7 +8701,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlay return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +VROverlayError __thiscall IVROverlay_001_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11519,39 +8709,23 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlay return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +VROverlayError __thiscall IVROverlay_001_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); + push_float_parameter(fGamma); return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +VROverlayError __thiscall IVROverlay_001_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); + push_ptr_parameter(pfGamma); return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +VROverlayError __thiscall IVROverlay_001_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11559,7 +8733,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +VROverlayError __thiscall IVROverlay_001_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11567,41 +8741,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +VROverlayError __thiscall IVROverlay_001_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11609,7 +8749,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +VROverlayError __thiscall IVROverlay_001_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11617,27 +8757,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, V return 0; } -uint32_t __thiscall IVROverlay_018_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +VROverlayError __thiscall IVROverlay_001_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11645,7 +8765,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall IVROverlay_001_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11654,7 +8774,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_thi return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +VROverlayError __thiscall IVROverlay_001_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11663,7 +8783,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_thi return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11672,7 +8792,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelati return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +VROverlayError __thiscall IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11681,84 +8801,52 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelati return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +VROverlayError __thiscall IVROverlay_001_GetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); + push_ptr_parameter(peOverlayVisibility); return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +VROverlayError __thiscall IVROverlay_001_SetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); + push_uint32_parameter(eOverlayVisibility); return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall IVROverlay_001_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_018_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +VROverlayError __thiscall IVROverlay_001_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -bool __thiscall IVROverlay_018_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVROverlay_001_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_018_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_018_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +bool __thiscall IVROverlay_001_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +VROverlayError __thiscall IVROverlay_001_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11766,7 +8854,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +VROverlayError __thiscall IVROverlay_001_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11774,7 +8862,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +VROverlayError __thiscall IVROverlay_001_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11782,7 +8870,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROv return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +VROverlayError __thiscall IVROverlay_001_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11790,7 +8878,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROv return 0; } -bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +bool __thiscall IVROverlay_001_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11799,64 +8887,15 @@ bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlay return 0; } -bool __thiscall IVROverlay_018_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); return 0; } -VROverlayHandle_t __thiscall IVROverlay_018_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(vCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +VROverlayError __thiscall IVROverlay_001_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11864,14 +8903,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverl return 0; } -EVROverlayError __thiscall IVROverlay_018_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +VROverlayError __thiscall IVROverlay_001_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11882,7 +8914,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHa return 0; } -EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +VROverlayError __thiscall IVROverlay_001_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11890,7 +8922,5281 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROver return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +bool __thiscall IVROverlay_001_IsSystemOverlayVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_001_IsActiveSystemOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_001_SetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_001_GetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_002_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +const char * __thiscall IVROverlay_002_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_002_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_002_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_002_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureType); + push_ptr_parameter(pTexture); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_002_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_002_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_002_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_003_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_003_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_003_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_003_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_003_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_003_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_003_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureType); + push_ptr_parameter(pTexture); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_003_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_003_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_003_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_003_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +VROverlayError __thiscall IVROverlay_004_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_004_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_004_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_004_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_004_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_004_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_004_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_004_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureType); + push_ptr_parameter(pTexture); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_004_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_004_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_004_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_004_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +VROverlayError __thiscall IVROverlay_005_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_005_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_005_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_005_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_005_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfGamma); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_005_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_005_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_005_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_005_IsFocusOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureType); + push_ptr_parameter(pTexture); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_005_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_005_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +VROverlayError __thiscall IVROverlay_005_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_005_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +VROverlayError __thiscall IVROverlay_005_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + return 0; +} + +uint32_t __thiscall IVROverlay_005_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_005_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_007_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_007_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_007_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_007_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_007_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_007_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_007_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_007_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_007_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_007_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_007_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_007_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_007_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +EVROverlayError __thiscall IVROverlay_007_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_007_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_007_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_007_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_008_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_008_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_008_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_008_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_008_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_008_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_008_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_008_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_008_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_008_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_008_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_008_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_008_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +EVROverlayError __thiscall IVROverlay_008_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_008_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_008_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_008_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_008_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_008_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_010_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_010_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_010_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_010_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_010_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_010_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_010_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_010_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_010_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_010_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_010_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_010_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_010_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_010_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_010_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_010_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_010_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_010_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_010_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_011_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_011_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_011_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_011_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_011_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_011_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_011_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_011_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_011_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_011_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_011_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPI); + push_ptr_parameter(pColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_011_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_011_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_011_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_011_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_011_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_011_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_011_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_011_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_011_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_012_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_012_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_012_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_012_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_012_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_012_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_012_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_012_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_012_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_012_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_012_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPI); + push_ptr_parameter(pColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_012_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_012_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_012_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_012_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_012_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_012_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_012_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_012_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_012_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_013_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_013_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_013_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_013_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_013_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_013_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_013_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_013_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_013_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_013_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_013_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPI); + push_ptr_parameter(pColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_013_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_013_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_013_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_013_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_013_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_013_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_013_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_013_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_013_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_013_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_014_GetHighQualityOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVROverlay_014_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_014_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_014_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_014_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_014_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_014_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_014_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unControllerDeviceIndex); + return 0; +} + +bool __thiscall IVROverlay_014_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_014_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11905,7 +14211,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverl return 0; } -EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +EVROverlayError __thiscall IVROverlay_014_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11913,7 +14219,7 @@ EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11922,7 +14228,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +EVROverlayError __thiscall IVROverlay_014_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayKey); @@ -11932,20 +14238,20 @@ EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, co return 0; } -bool __thiscall IVROverlay_018_IsDashboardVisible(void *_this) +bool __thiscall IVROverlay_014_IsDashboardVisible(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVROverlay_018_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVROverlay_014_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall IVROverlay_014_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11953,7 +14259,7 @@ EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void * return 0; } -EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +EVROverlayError __thiscall IVROverlay_014_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -11961,19 +14267,19 @@ EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void * return 0; } -void __thiscall IVROverlay_018_ShowDashboard(void *_this, const char * pchOverlayToShow) +void __thiscall IVROverlay_014_ShowDashboard(void *_this, const char * pchOverlayToShow) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall IVROverlay_018_GetPrimaryDashboardDevice(void *_this) +TrackedDeviceIndex_t __thiscall IVROverlay_014_GetPrimaryDashboardDevice(void *_this) { push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall IVROverlay_014_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { push_ptr_parameter(_this); push_uint32_parameter(eInputMode); @@ -11986,7 +14292,7 @@ EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadText return 0; } -EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall IVROverlay_014_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -12000,7 +14306,7 @@ EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VR return 0; } -uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +uint32_t __thiscall IVROverlay_014_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) { push_ptr_parameter(_this); push_ptr_parameter(pchText); @@ -12008,26 +14314,26 @@ uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, return 0; } -void __thiscall IVROverlay_018_HideKeyboard(void *_this) +void __thiscall IVROverlay_014_HideKeyboard(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVROverlay_018_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +void __thiscall IVROverlay_014_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { push_ptr_parameter(_this); push_uint32_parameter(eTrackingOrigin); push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); } -void __thiscall IVROverlay_018_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall IVROverlay_014_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); push_HmdRect2_parameter(avoidRect); } -EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall IVROverlay_014_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -12037,7 +14343,7 @@ EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this return 0; } -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +EVROverlayError __thiscall IVROverlay_014_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -12045,7 +14351,7 @@ EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlay return 0; } -VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +VRMessageOverlayResponse __thiscall IVROverlay_014_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) { push_ptr_parameter(_this); push_ptr_parameter(pchText); @@ -12057,1075 +14363,685 @@ VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_thi return 0; } -void __thiscall IVROverlay_018_CloseMessageOverlay(void *_this) +EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); -} - -const char * __thiscall IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -EVRInputError __thiscall IVRInput_004_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_DecompressSkeletalBoneData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_ptr_parameter(peTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_004_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_004_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -const char * __thiscall IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_005_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_005_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pD3D11Device); - push_ptr_parameter(ppD3D11Texture2D); - return 0; -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pDstTexture); - return 0; -} - -void __thiscall IVRRenderModels_005_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11Texture2D); -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_005_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_005_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_005_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchThumbnailURL); - push_uint32_parameter(unThumbnailURLLen); - push_ptr_parameter(peError); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchOriginalPath); - push_uint32_parameter(unOriginalPathLen); - push_ptr_parameter(peError); - return 0; -} - -const char * __thiscall IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVRInputError __thiscall IVRInput_003_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetSkeletalActionData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eBoneParent); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetSkeletalActionDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eBoneParent); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_UncompressSkeletalActionData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_ptr_parameter(peBoneParent); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -void __thiscall IVRSystem_017_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_017_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_017_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_017_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_017_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_017_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_017_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_017_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_017_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_017_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_017_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_017_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_017_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_017_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_017_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_017_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); return 0; } -float __thiscall IVRSystem_017_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); return 0; } -int32_t __thiscall IVRSystem_017_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +EVROverlayError __thiscall IVROverlay_016_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); + push_uint64_parameter(ulOverlayHandle); return 0; } -uint64_t __thiscall IVRSystem_017_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +EVROverlayError __thiscall IVROverlay_016_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); + push_uint64_parameter(ulOverlayHandle); return 0; } -HmdMatrix34_t *__thiscall IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +VROverlayHandle_t __thiscall IVROverlay_016_GetHighQualityOverlay(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); return 0; } -uint32_t __thiscall IVRSystem_017_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); + push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); push_ptr_parameter(pError); return 0; } -const char * __thiscall IVRSystem_017_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_016_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -bool __thiscall IVRSystem_017_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_016_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pColor); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchRenderModel); + push_ptr_parameter(pColor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_016_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pEvent); push_uint32_parameter(uncbVREvent); return 0; } -bool __thiscall IVRSystem_017_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); return 0; } -const char * __thiscall IVRSystem_017_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { push_ptr_parameter(_this); - push_uint32_parameter(eType); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); return 0; } -HiddenAreaMesh_t *__thiscall IVRSystem_017_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); return 0; } -bool __thiscall IVRSystem_017_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); return 0; } -bool __thiscall IVRSystem_017_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +bool __thiscall IVROverlay_016_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); + push_uint64_parameter(ulOverlayHandle); return 0; } -void __thiscall IVRSystem_017_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_017_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_017_CaptureInputFocus(void *_this) +VROverlayHandle_t __thiscall IVROverlay_016_GetGamepadFocusOverlay(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRSystem_017_ReleaseInputFocus(void *_this) +EVROverlayError __thiscall IVROverlay_016_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) { push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; } -bool __thiscall IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *_this) +EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_016_IsDashboardVisible(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVRSystem_017_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +bool __thiscall IVROverlay_016_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); + push_uint64_parameter(ulOverlayHandle); return 0; } -EVRFirmwareError __thiscall IVRSystem_017_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); return 0; } -void __thiscall IVRSystem_017_AcknowledgeQuit_Exiting(void *_this) +EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_016_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_016_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_016_HideKeyboard(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRSystem_017_AcknowledgeQuit_UserPrompt(void *_this) +void __thiscall IVROverlay_016_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_016_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_016_CloseMessageOverlay(void *_this) { push_ptr_parameter(_this); } @@ -13833,298 +15749,7 @@ void __thiscall IVROverlay_017_CloseMessageOverlay(void *_this) push_ptr_parameter(_this); } -void __thiscall IVRCompositor_021_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_021_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_021_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_021_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_021_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_021_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_021_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_021_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_021_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_021_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_021_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_021_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_021_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_021_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_021_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_021_SetExplicitTimingMode(void *_this, bool bExplicitTimingMode) -{ - push_ptr_parameter(_this); - push_bool_parameter(bExplicitTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_021_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayKey); @@ -14132,7 +15757,7 @@ EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * return 0; } -EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayKey); @@ -14141,27 +15766,27 @@ EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char return 0; } -EVROverlayError __thiscall IVROverlay_016_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -VROverlayHandle_t __thiscall IVROverlay_016_GetHighQualityOverlay(void *_this) +VROverlayHandle_t __thiscall IVROverlay_018_GetHighQualityOverlay(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +uint32_t __thiscall IVROverlay_018_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14171,7 +15796,7 @@ uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t return 0; } -uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +uint32_t __thiscall IVROverlay_018_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14181,7 +15806,7 @@ uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +EVROverlayError __thiscall IVROverlay_018_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14189,7 +15814,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayH return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +EVROverlayError __thiscall IVROverlay_018_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14200,14 +15825,14 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROve return 0; } -const char * __thiscall IVROverlay_016_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +const char * __thiscall IVROverlay_018_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14215,14 +15840,14 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VR return 0; } -uint32_t __thiscall IVROverlay_016_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall IVROverlay_018_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14231,7 +15856,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayH return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14240,7 +15865,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayH return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +EVROverlayError __thiscall IVROverlay_018_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14250,7 +15875,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlay return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +EVROverlayError __thiscall IVROverlay_018_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14260,7 +15885,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlay return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14268,7 +15893,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlay return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14276,7 +15901,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlay return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14284,7 +15909,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14292,7 +15917,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +EVROverlayError __thiscall IVROverlay_018_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14300,7 +15925,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROve return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +EVROverlayError __thiscall IVROverlay_018_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14308,7 +15933,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROve return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14316,7 +15941,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14324,7 +15949,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +EVROverlayError __thiscall IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14333,7 +15958,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMete return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +EVROverlayError __thiscall IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14342,7 +15967,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMete return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14350,7 +15975,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_thi return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14358,7 +15983,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_thi return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14366,7 +15991,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14374,7 +15999,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, V return 0; } -uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +uint32_t __thiscall IVROverlay_018_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14385,7 +16010,7 @@ uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayH return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14394,7 +16019,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14402,7 +16027,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, V return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14411,7 +16036,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_thi return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14420,7 +16045,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_thi return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14429,7 +16054,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelati return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14438,7 +16063,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelati return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14447,7 +16072,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceCompon return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14457,7 +16082,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceCompon return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14466,7 +16091,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(voi return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14475,28 +16100,28 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(voi return 0; } -EVROverlayError __thiscall IVROverlay_016_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_016_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -bool __thiscall IVROverlay_016_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVROverlay_018_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +EVROverlayError __thiscall IVROverlay_018_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14506,7 +16131,7 @@ EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void return 0; } -bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +bool __thiscall IVROverlay_018_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14515,7 +16140,7 @@ bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14523,7 +16148,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14531,7 +16156,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14539,7 +16164,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROv return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14547,7 +16172,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROv return 0; } -bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14556,35 +16181,27 @@ bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlay return 0; } -bool __thiscall IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_016_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVROverlay_018_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -VROverlayHandle_t __thiscall IVROverlay_016_GetGamepadFocusOverlay(void *_this) +VROverlayHandle_t __thiscall IVROverlay_018_GetGamepadFocusOverlay(void *_this) { push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +EVROverlayError __thiscall IVROverlay_018_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) { push_ptr_parameter(_this); push_uint64_parameter(ulNewFocusOverlay); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +EVROverlayError __thiscall IVROverlay_018_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { push_ptr_parameter(_this); push_uint32_parameter(eDirection); @@ -14593,7 +16210,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverl return 0; } -EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +EVROverlayError __thiscall IVROverlay_018_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { push_ptr_parameter(_this); push_uint32_parameter(eDirection); @@ -14601,7 +16218,27 @@ EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +EVROverlayError __thiscall IVROverlay_018_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(vCenter); + push_float_parameter(fRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_018_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_ptr_parameter(pfRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14609,14 +16246,14 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverl return 0; } -EVROverlayError __thiscall IVROverlay_016_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +EVROverlayError __thiscall IVROverlay_018_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14627,7 +16264,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHa return 0; } -EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14635,7 +16272,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROver return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14650,7 +16287,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverl return 0; } -EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14658,7 +16295,7 @@ EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14667,7 +16304,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VRO return 0; } -EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayKey); @@ -14677,20 +16314,20 @@ EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, co return 0; } -bool __thiscall IVROverlay_016_IsDashboardVisible(void *_this) +bool __thiscall IVROverlay_018_IsDashboardVisible(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVROverlay_016_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVROverlay_018_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); return 0; } -EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14698,7 +16335,7 @@ EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void * return 0; } -EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14706,19 +16343,19 @@ EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void * return 0; } -void __thiscall IVROverlay_016_ShowDashboard(void *_this, const char * pchOverlayToShow) +void __thiscall IVROverlay_018_ShowDashboard(void *_this, const char * pchOverlayToShow) { push_ptr_parameter(_this); push_ptr_parameter(pchOverlayToShow); } -TrackedDeviceIndex_t __thiscall IVROverlay_016_GetPrimaryDashboardDevice(void *_this) +TrackedDeviceIndex_t __thiscall IVROverlay_018_GetPrimaryDashboardDevice(void *_this) { push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { push_ptr_parameter(_this); push_uint32_parameter(eInputMode); @@ -14731,7 +16368,7 @@ EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadText return 0; } -EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14745,7 +16382,7 @@ EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VR return 0; } -uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) { push_ptr_parameter(_this); push_ptr_parameter(pchText); @@ -14753,26 +16390,26 @@ uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, return 0; } -void __thiscall IVROverlay_016_HideKeyboard(void *_this) +void __thiscall IVROverlay_018_HideKeyboard(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVROverlay_016_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +void __thiscall IVROverlay_018_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { push_ptr_parameter(_this); push_uint32_parameter(eTrackingOrigin); push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); } -void __thiscall IVROverlay_016_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +void __thiscall IVROverlay_018_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); push_HmdRect2_parameter(avoidRect); } -EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14782,7 +16419,7 @@ EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this return 0; } -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { push_ptr_parameter(_this); push_uint64_parameter(ulOverlayHandle); @@ -14790,7 +16427,7 @@ EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlay return 0; } -VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) { push_ptr_parameter(_this); push_ptr_parameter(pchText); @@ -14802,3963 +16439,6059 @@ VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_thi return 0; } -void __thiscall IVROverlay_016_CloseMessageOverlay(void *_this) +void __thiscall IVROverlay_018_CloseMessageOverlay(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRSystem_016_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +EVROverlayError __thiscall IVROverlay_019_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_016_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); return 0; } -void __thiscall IVRSystem_016_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +EVROverlayError __thiscall IVROverlay_019_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_016_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); return 0; } -HmdMatrix34_t *__thiscall IVRSystem_016_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +EVROverlayError __thiscall IVROverlay_019_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); + push_uint64_parameter(ulOverlayHandle); return 0; } -bool __thiscall IVRSystem_016_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +EVROverlayError __thiscall IVROverlay_019_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); + push_uint64_parameter(ulOverlayHandle); return 0; } -int32_t __thiscall IVRSystem_016_GetD3D9AdapterIndex(void *_this) +VROverlayHandle_t __thiscall IVROverlay_019_GetHighQualityOverlay(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRSystem_016_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +uint32_t __thiscall IVROverlay_019_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_016_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); -} - -bool __thiscall IVRSystem_016_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_016_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_016_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_016_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_016_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_016_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_016_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_016_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_016_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_016_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_016_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_016_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); + push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); push_ptr_parameter(pError); return 0; } -const char * __thiscall IVRSystem_016_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +uint32_t __thiscall IVROverlay_019_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_019_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -bool __thiscall IVRSystem_016_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); return 0; } -bool __thiscall IVRSystem_016_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +uint32_t __thiscall IVROverlay_019_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); + push_uint64_parameter(ulOverlayHandle); return 0; } -const char * __thiscall IVRSystem_016_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +EVROverlayError __thiscall IVROverlay_019_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { push_ptr_parameter(_this); - push_uint32_parameter(eType); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); return 0; } -HiddenAreaMesh_t *__thiscall IVRSystem_016_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +EVROverlayError __thiscall IVROverlay_019_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); return 0; } -bool __thiscall IVRSystem_016_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +EVROverlayError __thiscall IVROverlay_019_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_016_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_016_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_016_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_016_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_016_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_016_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_016_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_016_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_016_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_020_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_020_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_020_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_020_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_020_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_020_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); + push_uint64_parameter(ulOverlayHandle); push_float_parameter(fRed); push_float_parameter(fGreen); push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_020_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); return 0; } -void __thiscall IVRCompositor_020_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_020_GetCurrentGridAlpha(void *_this) +EVROverlayError __thiscall IVROverlay_019_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); return 0; } -EVRCompositorError __thiscall IVRCompositor_020_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) +EVROverlayError __thiscall IVROverlay_019_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); return 0; } -void __thiscall IVRCompositor_020_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_IsFullscreen(void *_this) +EVROverlayError __thiscall IVROverlay_019_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); return 0; } -uint32_t __thiscall IVRCompositor_020_GetCurrentSceneFocusProcess(void *_this) +EVROverlayError __thiscall IVROverlay_019_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); return 0; } -uint32_t __thiscall IVRCompositor_020_GetLastFrameRenderer(void *_this) +EVROverlayError __thiscall IVROverlay_019_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); return 0; } -bool __thiscall IVRCompositor_020_CanRenderScene(void *_this) +EVROverlayError __thiscall IVROverlay_019_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); return 0; } -void __thiscall IVRCompositor_020_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_IsMirrorWindowVisible(void *_this) +EVROverlayError __thiscall IVROverlay_019_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); return 0; } -void __thiscall IVRCompositor_020_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_ShouldAppRenderWithLowResources(void *_this) +EVROverlayError __thiscall IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); return 0; } -void __thiscall IVRCompositor_020_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +EVROverlayError __thiscall IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_020_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); return 0; } -void __thiscall IVRCompositor_020_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) +EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); return 0; } -bool __thiscall IVRCompositor_020_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); return 0; } -void __thiscall IVRCompositor_020_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; } -void __thiscall IVRCompositor_020_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) +EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; } -uint32_t __thiscall IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) +uint32_t __thiscall IVROverlay_019_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); + push_ptr_parameter(pColor); + push_ptr_parameter(pError); return 0; } -uint32_t __thiscall IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchRenderModel); + push_ptr_parameter(pColor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_019_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_019_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_019_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_019_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_019_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_float_parameter(fRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_ptr_parameter(pfRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_019_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_019_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_019_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_019_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_019_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_019_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_019_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_019_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_019_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_019_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +VRMessageOverlayResponse __thiscall IVROverlay_019_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_019_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_020_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_020_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); return 0; } -EVRInitError __thiscall IVRClientCore_002_Init(void *_this, EVRApplicationType eApplicationType) +uint32_t __thiscall IVROverlay_020_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { push_ptr_parameter(_this); - push_uint32_parameter(eApplicationType); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); return 0; } -void __thiscall IVRClientCore_002_Cleanup(void *_this) +EVROverlayError __thiscall IVROverlay_020_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { push_ptr_parameter(_this); -} - -EVRInitError __thiscall IVRClientCore_002_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInterfaceVersion); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); return 0; } -void * __thiscall IVRClientCore_002_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError) +EVROverlayError __thiscall IVROverlay_020_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { push_ptr_parameter(_this); - push_ptr_parameter(pchNameAndVersion); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_020_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_020_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fMinDistanceInMeters); + push_float_parameter(fMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfMinDistanceInMeters); + push_ptr_parameter(pfMaxDistanceInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +uint32_t __thiscall IVROverlay_020_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pColor); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchRenderModel); + push_ptr_parameter(pColor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_020_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_020_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_020_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_020_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +VROverlayHandle_t __thiscall IVROverlay_020_GetGamepadFocusOverlay(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulNewFocusOverlay); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + push_uint64_parameter(ulTo); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eDirection); + push_uint64_parameter(ulFrom); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_float_parameter(fRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_ptr_parameter(pfRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_020_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_020_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_020_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_020_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_020_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_020_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_020_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_020_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_020_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_020_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +VRMessageOverlayResponse __thiscall IVROverlay_020_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_020_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_021_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_021_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_021_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_021_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_021_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +uint32_t __thiscall IVROverlay_021_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pColor); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchRenderModel); + push_ptr_parameter(pColor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_021_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_021_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_021_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_021_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_float_parameter(fRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_ptr_parameter(pfRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unDepth); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_021_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_021_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_021_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_021_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_021_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_021_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_021_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_021_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +EVROverlayError __thiscall IVROverlay_021_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_021_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +VRMessageOverlayResponse __thiscall IVROverlay_021_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_021_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_022_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_022_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_022_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_022_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_022_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +uint32_t __thiscall IVROverlay_022_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pColor); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchRenderModel); + push_ptr_parameter(pColor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulCursorOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_022_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_022_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_022_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_022_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_float_parameter(fRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlay); + push_uint32_parameter(eWhich); + push_ptr_parameter(pvCenter); + push_ptr_parameter(pfRadius); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulCursorHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvCursor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unBytesPerPixel); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_022_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_022_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_022_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_022_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_022_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_bool_parameter(bUseMinimalMode); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_022_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_022_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_022_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_022_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +VRMessageOverlayResponse __thiscall IVROverlay_022_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_022_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_024_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_024_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_024_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_024_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_024_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulCursorOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_024_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_024_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_024_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_024_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulCursorHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvCursor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unBytesPerPixel); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_024_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_024_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_024_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_024_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_024_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_024_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_024_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_024_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_024_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +VRMessageOverlayResponse __thiscall IVROverlay_024_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_024_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_025_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_025_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_025_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_025_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_025_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulCursorOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + push_ptr_parameter(pProjection); + push_uint32_parameter(eEye); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_025_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +bool __thiscall IVROverlay_025_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_025_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_025_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulCursorHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvCursor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unBytesPerPixel); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_025_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_025_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_025_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_025_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_025_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_025_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_025_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_025_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_025_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +VRMessageOverlayResponse __thiscall IVROverlay_025_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_025_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_026_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_026_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_026_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_026_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_026_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRadians); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRadians); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulOverlayHandleParent); + push_ptr_parameter(pmatParentOverlayToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulCursorOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + push_ptr_parameter(pProjection); + push_uint32_parameter(eEye); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_026_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_WaitFrameSync(void *_this, uint32_t nTimeoutMs) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nTimeoutMs); + return 0; +} + +bool __thiscall IVROverlay_026_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_026_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_026_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulCursorHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvCursor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unBytesPerPixel); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_026_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_026_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_026_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_026_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_026_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_026_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_026_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_026_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_026_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +VRMessageOverlayResponse __thiscall IVROverlay_026_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_026_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +EVROverlayError __thiscall IVROverlay_027_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayName); + push_ptr_parameter(pOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +uint32_t __thiscall IVROverlay_027_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVROverlay_027_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(punWidth); + push_ptr_parameter(punHeight); + return 0; +} + +const char * __thiscall IVROverlay_027_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unPID); + return 0; +} + +uint32_t __thiscall IVROverlay_027_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_bool_parameter(bEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOverlayFlag); + push_ptr_parameter(pbEnabled); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pFlags); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRed); + push_float_parameter(fGreen); + push_float_parameter(fBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRed); + push_ptr_parameter(pfGreen); + push_ptr_parameter(pfBlue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfAlpha); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfTexelAspect); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punSortOrder); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfWidthInMeters); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfCurvature); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fRadians); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pfRadians); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTextureColorSpace); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pOverlayTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTransformType); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punTrackedDevice); + push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punDeviceIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulCursorOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvHotspot); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToOverlayTransform); + push_ptr_parameter(pProjection); + push_uint32_parameter(eEye); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +bool __thiscall IVROverlay_027_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eTrackingOrigin); + push_HmdVector2_parameter(coordinatesInOverlay); + push_ptr_parameter(pmatTransform); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_WaitFrameSync(void *_this, uint32_t nTimeoutMs) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nTimeoutMs); + return 0; +} + +bool __thiscall IVROverlay_027_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(peInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMethod); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvecMouseScale); + return 0; +} + +bool __thiscall IVROverlay_027_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pParams); + push_ptr_parameter(pResults); + return 0; +} + +bool __thiscall IVROverlay_027_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pMaskPrimitives); + push_uint32_parameter(unNumMaskPrimitives); + push_uint32_parameter(unPrimitiveSize); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_float_parameter(fDurationSeconds); + push_float_parameter(fFrequency); + push_float_parameter(fAmplitude); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(ulCursorHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvCursor); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pTexture); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pvBuffer); + push_uint32_parameter(unWidth); + push_uint32_parameter(unHeight); + push_uint32_parameter(unBytesPerPixel); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchFilePath); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + push_ptr_parameter(pNativeTextureRef); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + push_ptr_parameter(pNativeFormat); + push_ptr_parameter(pAPIType); + push_ptr_parameter(pColorSpace); + push_ptr_parameter(pTextureBounds); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pNativeTextureHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pWidth); + push_ptr_parameter(pHeight); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayKey); + push_ptr_parameter(pchOverlayFriendlyName); + push_ptr_parameter(pMainHandle); + push_ptr_parameter(pThumbnailHandle); + return 0; +} + +bool __thiscall IVROverlay_027_IsDashboardVisible(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVROverlay_027_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unProcessId); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(punProcessId); + return 0; +} + +void __thiscall IVROverlay_027_ShowDashboard(void *_this, const char * pchOverlayToShow) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchOverlayToShow); +} + +TrackedDeviceIndex_t __thiscall IVROverlay_027_GetPrimaryDashboardDevice(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +EVROverlayError __thiscall IVROverlay_027_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eInputMode); + push_uint32_parameter(eLineInputMode); + push_uint32_parameter(unFlags); + push_ptr_parameter(pchDescription); + push_uint32_parameter(unCharMax); + push_ptr_parameter(pchExistingText); + push_uint64_parameter(uUserValue); + return 0; +} + +uint32_t __thiscall IVROverlay_027_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_uint32_parameter(cchText); + return 0; +} + +void __thiscall IVROverlay_027_HideKeyboard(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVROverlay_027_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackingOrigin); + push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); +} + +void __thiscall IVROverlay_027_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + push_ptr_parameter(_this); + push_uint64_parameter(ulOverlayHandle); + push_HmdRect2_parameter(avoidRect); +} + +VRMessageOverlayResponse __thiscall IVROverlay_027_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchText); + push_ptr_parameter(pchCaption); + push_ptr_parameter(pchButton0Text); + push_ptr_parameter(pchButton1Text); + push_ptr_parameter(pchButton2Text); + push_ptr_parameter(pchButton3Text); + return 0; +} + +void __thiscall IVROverlay_027_CloseMessageOverlay(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRRenderModels_001_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pRenderModel); + return 0; +} + +void __thiscall IVRRenderModels_001_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderModel); +} + +uint32_t __thiscall IVRRenderModels_001_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unRenderModelIndex); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unRenderModelNameLen); + return 0; +} + +uint32_t __thiscall IVRRenderModels_001_GetRenderModelCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRRenderModels_002_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(ppRenderModel); + return 0; +} + +void __thiscall IVRRenderModels_002_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderModel); +} + +bool __thiscall IVRRenderModels_002_LoadTexture(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(ppTexture); + return 0; +} + +void __thiscall IVRRenderModels_002_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTexture); +} + +uint32_t __thiscall IVRRenderModels_002_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unRenderModelIndex); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unRenderModelNameLen); + return 0; +} + +uint32_t __thiscall IVRRenderModels_002_GetRenderModelCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRRenderModels_002_GetComponentCount(void *_this, const char * pchRenderModelName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_002_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unComponentIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameLen); + return 0; +} + +uint64_t __thiscall IVRRenderModels_002_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_002_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pchComponentRenderModelName); + push_uint32_parameter(unComponentRenderModelNameLen); + return 0; +} + +bool __thiscall IVRRenderModels_002_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pComponentState); + return 0; +} + +bool __thiscall IVRRenderModels_002_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVRRenderModelError __thiscall IVRRenderModels_004_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(ppRenderModel); + return 0; +} + +void __thiscall IVRRenderModels_004_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderModel); +} + +EVRRenderModelError __thiscall IVRRenderModels_004_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(ppTexture); + return 0; +} + +void __thiscall IVRRenderModels_004_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTexture); +} + +EVRRenderModelError __thiscall IVRRenderModels_004_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(pD3D11Device); + push_ptr_parameter(ppD3D11Texture2D); + return 0; +} + +void __thiscall IVRRenderModels_004_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11Texture2D); +} + +uint32_t __thiscall IVRRenderModels_004_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unRenderModelIndex); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unRenderModelNameLen); + return 0; +} + +uint32_t __thiscall IVRRenderModels_004_GetRenderModelCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRRenderModels_004_GetComponentCount(void *_this, const char * pchRenderModelName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_004_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unComponentIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameLen); + return 0; +} + +uint64_t __thiscall IVRRenderModels_004_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_004_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pchComponentRenderModelName); + push_uint32_parameter(unComponentRenderModelNameLen); + return 0; +} + +bool __thiscall IVRRenderModels_004_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pState); + push_ptr_parameter(pComponentState); + return 0; +} + +bool __thiscall IVRRenderModels_004_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +EVRRenderModelError __thiscall IVRRenderModels_005_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(ppRenderModel); + return 0; +} + +void __thiscall IVRRenderModels_005_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pRenderModel); +} + +EVRRenderModelError __thiscall IVRRenderModels_005_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(ppTexture); + return 0; +} + +void __thiscall IVRRenderModels_005_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pTexture); +} + +EVRRenderModelError __thiscall IVRRenderModels_005_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(pD3D11Device); + push_ptr_parameter(ppD3D11Texture2D); + return 0; +} + +EVRRenderModelError __thiscall IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(pDstTexture); + return 0; +} + +void __thiscall IVRRenderModels_005_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11Texture2D); +} + +uint32_t __thiscall IVRRenderModels_005_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unRenderModelIndex); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unRenderModelNameLen); + return 0; +} + +uint32_t __thiscall IVRRenderModels_005_GetRenderModelCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRRenderModels_005_GetComponentCount(void *_this, const char * pchRenderModelName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_005_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unComponentIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameLen); + return 0; +} + +uint64_t __thiscall IVRRenderModels_005_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_005_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pchComponentRenderModelName); + push_uint32_parameter(unComponentRenderModelNameLen); + return 0; +} + +bool __thiscall IVRRenderModels_005_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pState); + push_ptr_parameter(pComponentState); + return 0; +} + +bool __thiscall IVRRenderModels_005_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_005_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchThumbnailURL); + push_uint32_parameter(unThumbnailURLLen); push_ptr_parameter(peError); return 0; } -bool __thiscall IVRClientCore_002_BIsHmdPresent(void *_this) +uint32_t __thiscall IVRRenderModels_005_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) { push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchOriginalPath); + push_uint32_parameter(unOriginalPathLen); + push_ptr_parameter(peError); return 0; } -const char * __thiscall IVRClientCore_002_GetEnglishStringForHmdError(void *_this, EVRInitError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -const char * __thiscall IVRClientCore_002_GetIDForVRInitError(void *_this, EVRInitError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -void __thiscall IVRSystem_015_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_015_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_015_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_015_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_015_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_015_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_015_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_015_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_015_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_015_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_015_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_015_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_015_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_015_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_015_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_015_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_015_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_015_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_015_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_015_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +const char * __thiscall IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -bool __thiscall IVRSystem_015_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +EVRRenderModelError __thiscall IVRRenderModels_006_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) { push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(ppRenderModel); return 0; } -bool __thiscall IVRSystem_015_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +void __thiscall IVRRenderModels_006_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pRenderModel); +} + +EVRRenderModelError __thiscall IVRRenderModels_006_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(ppTexture); return 0; } -const char * __thiscall IVRSystem_015_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +void __thiscall IVRRenderModels_006_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) { push_ptr_parameter(_this); - push_uint32_parameter(eType); + push_ptr_parameter(pTexture); +} + +EVRRenderModelError __thiscall IVRRenderModels_006_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) +{ + push_ptr_parameter(_this); + push_uint32_parameter(textureId); + push_ptr_parameter(pD3D11Device); + push_ptr_parameter(ppD3D11Texture2D); return 0; } -HiddenAreaMesh_t *__thiscall IVRSystem_015_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +EVRRenderModelError __thiscall IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture) { push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); + push_uint32_parameter(textureId); + push_ptr_parameter(pDstTexture); + return 0; +} + +void __thiscall IVRRenderModels_006_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pD3D11Texture2D); +} + +uint32_t __thiscall IVRRenderModels_006_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unRenderModelIndex); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unRenderModelNameLen); + return 0; +} + +uint32_t __thiscall IVRRenderModels_006_GetRenderModelCount(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRRenderModels_006_GetComponentCount(void *_this, const char * pchRenderModelName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_006_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_uint32_parameter(unComponentIndex); + push_ptr_parameter(pchComponentName); + push_uint32_parameter(unComponentNameLen); + return 0; +} + +uint64_t __thiscall IVRRenderModels_006_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_006_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pchComponentRenderModelName); + push_uint32_parameter(unComponentRenderModelNameLen); + return 0; +} + +bool __thiscall IVRRenderModels_006_GetComponentStateForDevicePath(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_uint64_parameter(devicePath); + push_ptr_parameter(pState); + push_ptr_parameter(pComponentState); + return 0; +} + +bool __thiscall IVRRenderModels_006_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pState); + push_ptr_parameter(pComponentState); + return 0; +} + +bool __thiscall IVRRenderModels_006_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchComponentName); + return 0; +} + +uint32_t __thiscall IVRRenderModels_006_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchThumbnailURL); + push_uint32_parameter(unThumbnailURLLen); + push_ptr_parameter(peError); + return 0; +} + +uint32_t __thiscall IVRRenderModels_006_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pchOriginalPath); + push_uint32_parameter(unOriginalPathLen); + push_ptr_parameter(peError); + return 0; +} + +const char * __thiscall IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +uint32_t __thiscall IVRResources_001_LoadSharedResource(void *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchResourceName); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferLen); + return 0; +} + +uint32_t __thiscall IVRResources_001_GetResourceFullPath(void *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchResourceName); + push_ptr_parameter(pchResourceTypeDirectory); + push_ptr_parameter(pchPathBuffer); + push_uint32_parameter(unBufferLen); + return 0; +} + +EVRScreenshotError __thiscall IVRScreenshots_001_RequestScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutScreenshotHandle); push_uint32_parameter(type); + push_ptr_parameter(pchPreviewFilename); + push_ptr_parameter(pchVRFilename); return 0; } -bool __thiscall IVRSystem_015_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +EVRScreenshotError __thiscall IVRScreenshots_001_HookScreenshot(void *_this, EVRScreenshotType * pSupportedTypes, int numTypes) { push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pSupportedTypes); + push_uint32_parameter(numTypes); return 0; } -bool __thiscall IVRSystem_015_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +EVRScreenshotType __thiscall IVRScreenshots_001_GetScreenshotPropertyType(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_015_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_015_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_015_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_015_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_015_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_015_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_015_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_015_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_014_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_014_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); + push_uint32_parameter(screenshotHandle); push_ptr_parameter(pError); return 0; } -uint32_t __thiscall IVROverlay_014_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +uint32_t __thiscall IVRScreenshots_001_GetScreenshotPropertyFilename(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); + push_uint32_parameter(screenshotHandle); + push_uint32_parameter(filenameType); + push_ptr_parameter(pchFilename); + push_uint32_parameter(cchFilename); push_ptr_parameter(pError); return 0; } -EVROverlayError __thiscall IVROverlay_014_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +EVRScreenshotError __thiscall IVRScreenshots_001_UpdateScreenshotProgress(void *_this, ScreenshotHandle_t screenshotHandle, float flProgress) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); + push_uint32_parameter(screenshotHandle); + push_float_parameter(flProgress); return 0; } -const char * __thiscall IVROverlay_014_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +EVRScreenshotError __thiscall IVRScreenshots_001_TakeStereoScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) { push_ptr_parameter(_this); - push_uint32_parameter(error); + push_ptr_parameter(pOutScreenshotHandle); + push_ptr_parameter(pchPreviewFilename); + push_ptr_parameter(pchVRFilename); return 0; } -EVROverlayError __thiscall IVROverlay_014_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +EVRScreenshotError __thiscall IVRScreenshots_001_SubmitScreenshot(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_014_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_014_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_014_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_014_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_014_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_014_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_014_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_014_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_014_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_014_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_014_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_014_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_014_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVRCompositor_019_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_019_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_019_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_019_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_019_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_019_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_019_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_019_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_019_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_019_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_019_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_019_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_019_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_019_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRSystem_014_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_014_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_014_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_014_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_014_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_014_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_014_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_014_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_014_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_014_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_014_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_014_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_014_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_014_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_014_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_014_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_014_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_014_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_014_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_014_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_014_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_014_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_014_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_014_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); + push_uint32_parameter(screenshotHandle); push_uint32_parameter(type); + push_ptr_parameter(pchSourcePreviewFilename); + push_ptr_parameter(pchSourceVRFilename); return 0; } -bool __thiscall IVRSystem_014_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_014_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_014_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_014_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_014_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_014_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_014_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_014_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_014_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_014_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_018_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_018_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_018_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_018_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_018_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_018_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_018_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_018_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_018_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_018_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_018_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_018_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_018_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_018_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_018_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_018_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -EVROverlayError __thiscall IVROverlay_013_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_013_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_013_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_013_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_013_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_013_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_013_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_013_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPI); - push_ptr_parameter(pColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_013_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_013_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_013_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_013_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_013_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_013_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_013_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -void __thiscall IVRCompositor_017_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_017_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_017_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_017_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_017_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_017_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_017_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_017_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_017_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_017_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_017_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_017_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_017_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_017_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_017_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_017_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRSystem_012_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_012_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_012_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_012_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_012_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_012_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_012_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_012_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_012_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_012_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_012_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_012_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_012_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_012_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_012_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_012_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_012_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_012_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_012_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_012_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_012_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_012_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_012_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_012_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_012_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_012_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_012_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_012_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_012_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_012_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_012_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_012_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_012_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_012_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_016_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_016_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_016_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_016_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_016_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_016_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_016_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_016_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_016_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_016_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_016_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_016_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_016_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_016_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - const char * __thiscall IVRSettings_001_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) { push_ptr_parameter(_this); @@ -18866,2009 +22599,2107 @@ void __thiscall IVRSettings_001_RemoveKeyInSection(void *_this, const char * pch push_ptr_parameter(peError); } -EVRApplicationError __thiscall IVRApplications_005_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +const char * __thiscall IVRSettings_002_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) { push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); + push_uint32_parameter(eError); return 0; } -EVRApplicationError __thiscall IVRApplications_005_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) +bool __thiscall IVRSettings_002_Sync(void *_this, bool bForce, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_005_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_005_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchTemplateAppKey); - push_ptr_parameter(pchNewAppKey); - push_ptr_parameter(pKeys); - push_uint32_parameter(unKeys); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_005_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_005_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_005_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_005_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); + push_bool_parameter(bForce); push_ptr_parameter(peError); return 0; } -bool __thiscall IVRApplications_005_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +void __thiscall IVRSettings_002_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_bool_parameter(bValue); push_ptr_parameter(peError); - return 0; } -uint64_t __thiscall IVRApplications_005_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +void __thiscall IVRSettings_002_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_uint32_parameter(nValue); push_ptr_parameter(peError); - return 0; } -EVRApplicationError __thiscall IVRApplications_005_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) +void __thiscall IVRSettings_002_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_float_parameter(flValue); + push_ptr_parameter(peError); } -bool __thiscall IVRApplications_005_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) +void __thiscall IVRSettings_002_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_005_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_005_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -void __thiscall IVRCompositor_015_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_015_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_015_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_015_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_015_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_015_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_015_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_015_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_015_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_015_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_015_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_015_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_015_RequestScreenshot(void *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) -{ - push_ptr_parameter(_this); - push_uint32_parameter(type); - push_ptr_parameter(pchDestinationFileName); - push_ptr_parameter(pchVRDestinationFileName); - return 0; -} - -EVRScreenshotType __thiscall IVRCompositor_015_GetCurrentScreenshotType(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_015_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_015_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_015_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -EVROverlayError __thiscall IVROverlay_012_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_012_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_012_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); + push_ptr_parameter(peError); +} + +bool __thiscall IVRSettings_002_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); return 0; } -uint32_t __thiscall IVROverlay_012_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +int32_t __thiscall IVRSettings_002_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); + return 0; +} + +float __thiscall IVRSettings_002_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); + return 0; +} + +void __thiscall IVRSettings_002_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); + push_uint32_parameter(unValueLen); + push_ptr_parameter(peError); +} + +void __thiscall IVRSettings_002_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(peError); +} + +void __thiscall IVRSettings_002_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); +} + +const char * __thiscall IVRSettings_003_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eError); return 0; } -EVROverlayError __thiscall IVROverlay_012_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +void __thiscall IVRSettings_003_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_bool_parameter(bValue); + push_ptr_parameter(peError); +} + +void __thiscall IVRSettings_003_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_uint32_parameter(nValue); + push_ptr_parameter(peError); +} + +void __thiscall IVRSettings_003_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_float_parameter(flValue); + push_ptr_parameter(peError); +} + +void __thiscall IVRSettings_003_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(pchValue); + push_ptr_parameter(peError); +} + +bool __thiscall IVRSettings_003_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); return 0; } -const char * __thiscall IVROverlay_012_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +int32_t __thiscall IVRSettings_003_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint32_parameter(error); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); return 0; } -EVROverlayError __thiscall IVROverlay_012_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +float __thiscall IVRSettings_003_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); return 0; } -uint32_t __thiscall IVROverlay_012_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) +void __thiscall IVRSettings_003_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(pchValue); + push_uint32_parameter(unValueLen); + push_ptr_parameter(peError); } -EVROverlayError __thiscall IVROverlay_012_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +void __thiscall IVRSettings_003_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; + push_ptr_parameter(pchSection); + push_ptr_parameter(peError); } -EVROverlayError __thiscall IVROverlay_012_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +void __thiscall IVRSettings_003_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; + push_ptr_parameter(pchSection); + push_ptr_parameter(pchSettingsKey); + push_ptr_parameter(peError); } -EVROverlayError __thiscall IVROverlay_012_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +void __thiscall IVRSystem_003_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_012_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_012_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_012_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_012_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_012_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPI); - push_ptr_parameter(pColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_012_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_012_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_012_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_012_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_012_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_012_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_012_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_012_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -const char * __thiscall IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; } -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraIntrinisics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) +void __thiscall IVRSystem_003_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); } -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -void __thiscall IVRCompositor_014_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_014_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +void __thiscall IVRSystem_003_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_003_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); return 0; } -void __thiscall IVRCompositor_014_ClearLastSubmittedFrame(void *_this) +void __thiscall IVRSystem_003_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); } -void __thiscall IVRCompositor_014_PostPresentHandoff(void *_this) +DistortionCoordinates_t *__thiscall IVRSystem_003_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) { push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); return 0; } -float __thiscall IVRCompositor_014_GetFrameTimeRemaining(void *_this) +HmdMatrix34_t *__thiscall IVRSystem_003_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_003_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_003_GetD3D9AdapterIndex(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_014_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall IVRSystem_003_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) { push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); + push_ptr_parameter(pnAdapterIndex); + push_ptr_parameter(pnAdapterOutputIndex); } -void __thiscall IVRCompositor_014_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +bool __thiscall IVRSystem_003_AttachToWindow(void *_this, void * hWnd) { push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_014_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); + push_ptr_parameter(hWnd); return 0; } -void __thiscall IVRCompositor_014_ClearSkyboxOverride(void *_this) +void __thiscall IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_003_ResetSeatedZeroPose(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRCompositor_014_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_IsFullscreen(void *_this) +HmdMatrix34_t *__thiscall IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); + push_ptr_parameter(_r); return 0; } -uint32_t __thiscall IVRCompositor_014_GetCurrentSceneFocusProcess(void *_this) +bool __thiscall IVRSystem_003_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel) { push_ptr_parameter(_this); + push_ptr_parameter(pchRenderModelName); + push_ptr_parameter(pRenderModel); return 0; } -uint32_t __thiscall IVRCompositor_014_GetLastFrameRenderer(void *_this) +void __thiscall IVRSystem_003_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) { push_ptr_parameter(_this); + push_ptr_parameter(pRenderModel); +} + +TrackedDeviceClass __thiscall IVRSystem_003_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); return 0; } -bool __thiscall IVRCompositor_014_CanRenderScene(void *_this) +bool __thiscall IVRSystem_003_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); return 0; } -void __thiscall IVRCompositor_014_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_IsMirrorWindowVisible(void *_this) +bool __thiscall IVRSystem_003_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); return 0; } -void __thiscall IVRCompositor_014_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_ShouldAppRenderWithLowResources(void *_this) +float __thiscall IVRSystem_003_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); return 0; } -void __thiscall IVRCompositor_014_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +int32_t __thiscall IVRSystem_003_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_014_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVROverlayError __thiscall IVROverlay_011_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); return 0; } -EVROverlayError __thiscall IVROverlay_011_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +uint64_t __thiscall IVRSystem_003_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); return 0; } -EVROverlayError __thiscall IVROverlay_011_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +HmdMatrix34_t *__thiscall IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); return 0; } -EVROverlayError __thiscall IVROverlay_011_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall IVRSystem_003_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_011_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); push_ptr_parameter(pError); return 0; } -uint32_t __thiscall IVROverlay_011_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_011_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +const char * __thiscall IVRSystem_003_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -EVROverlayError __thiscall IVROverlay_011_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +bool __thiscall IVRSystem_003_PollNextEvent(void *_this, VREvent_t * pEvent) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_011_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_011_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); return 0; } -EVROverlayError __thiscall IVROverlay_011_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_011_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_011_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_011_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPI); - push_ptr_parameter(pColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_011_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_011_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_011_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_011_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_011_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_011_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_011_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -void __thiscall IVRCompositor_013_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) +bool __thiscall IVRSystem_003_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) { push_ptr_parameter(_this); push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; } -ETrackingUniverseOrigin __thiscall IVRCompositor_013_GetTrackingSpace(void *_this) +const char * __thiscall IVRSystem_003_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_003_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_003_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + return 0; +} + +bool __thiscall IVRSystem_003_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_003_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_003_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(overlaySettings); + push_HmdVector2_parameter(vecWindowClientPositionOnScreen); + push_HmdVector2_parameter(vecWindowClientSize); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(eOutputType); + return 0; +} + +bool __thiscall IVRSystem_003_CaptureInputFocus(void *_this) { push_ptr_parameter(_this); return 0; } -EVRCompositorError __thiscall IVRCompositor_013_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +void __thiscall IVRSystem_003_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *_this) { push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); return 0; } -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +void __thiscall IVRSystem_004_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); } -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +void __thiscall IVRSystem_004_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); } -EVRCompositorError __thiscall IVRCompositor_013_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +void __thiscall IVRSystem_004_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_004_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); return 0; } -void __thiscall IVRCompositor_013_ClearLastSubmittedFrame(void *_this) +void __thiscall IVRSystem_004_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); } -void __thiscall IVRCompositor_013_PostPresentHandoff(void *_this) +DistortionCoordinates_t *__thiscall IVRSystem_004_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) { push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_013_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); return 0; } -float __thiscall IVRCompositor_013_GetFrameTimeRemaining(void *_this) +HmdMatrix34_t *__thiscall IVRSystem_004_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_004_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_004_GetD3D9AdapterIndex(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_013_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall IVRSystem_004_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) { push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); + push_ptr_parameter(pnAdapterIndex); + push_ptr_parameter(pnAdapterOutputIndex); } -void __thiscall IVRCompositor_013_FadeGrid(void *_this, float fSeconds, bool bFadeIn) +bool __thiscall IVRSystem_004_AttachToWindow(void *_this, void * hWnd) { push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_013_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); + push_ptr_parameter(hWnd); return 0; } -void __thiscall IVRCompositor_013_ClearSkyboxOverride(void *_this) +void __thiscall IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_004_ResetSeatedZeroPose(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRCompositor_013_CompositorBringToFront(void *_this) +HmdMatrix34_t *__thiscall IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; } -void __thiscall IVRCompositor_013_CompositorGoToBack(void *_this) +TrackedDeviceClass __thiscall IVRSystem_004_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; } -void __thiscall IVRCompositor_013_CompositorQuit(void *_this) +bool __thiscall IVRSystem_004_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; } -bool __thiscall IVRCompositor_013_IsFullscreen(void *_this) +bool __thiscall IVRSystem_004_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_004_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_004_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_004_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_004_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_004_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_004_PollNextEvent(void *_this, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + return 0; +} + +bool __thiscall IVRSystem_004_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_004_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_004_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_004_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + return 0; +} + +bool __thiscall IVRSystem_004_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_004_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_004_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_004_CaptureInputFocus(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVRCompositor_013_GetCurrentSceneFocusProcess(void *_this) +void __thiscall IVRSystem_004_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVRCompositor_013_GetLastFrameRenderer(void *_this) +uint32_t __thiscall IVRSystem_004_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +void __thiscall IVRSystem_005_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRSystem_005_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRSystem_005_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_005_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); + return 0; +} + +void __thiscall IVRSystem_005_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +DistortionCoordinates_t *__thiscall IVRSystem_005_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_005_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_005_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_005_GetD3D9AdapterIndex(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVRCompositor_013_CanRenderScene(void *_this) +void __thiscall IVRSystem_005_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); + push_ptr_parameter(pnAdapterOutputIndex); +} + +bool __thiscall IVRSystem_005_AttachToWindow(void *_this, void * hWnd) +{ + push_ptr_parameter(_this); + push_ptr_parameter(hWnd); + return 0; +} + +void __thiscall IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_005_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +TrackedDeviceClass __thiscall IVRSystem_005_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_005_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_005_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_005_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_005_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_005_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_005_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_005_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_005_PollNextEvent(void *_this, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + return 0; +} + +bool __thiscall IVRSystem_005_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_005_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_005_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_005_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + return 0; +} + +bool __thiscall IVRSystem_005_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_005_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_005_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_005_CaptureInputFocus(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_013_ShowMirrorWindow(void *_this) +void __thiscall IVRSystem_005_ReleaseInputFocus(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRCompositor_013_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_013_IsMirrorWindowVisible(void *_this) +bool __thiscall IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_013_CompositorDumpImages(void *_this) +uint32_t __thiscall IVRSystem_005_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; } -bool __thiscall IVRCompositor_013_ShouldAppRenderWithLowResources(void *_this) +void __thiscall IVRSystem_006_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRSystem_006_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +void __thiscall IVRSystem_006_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pnX); + push_ptr_parameter(pnY); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_006_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); + return 0; +} + +void __thiscall IVRSystem_006_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +DistortionCoordinates_t *__thiscall IVRSystem_006_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_006_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_006_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_006_GetD3D9AdapterIndex(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_013_ForceInterleavedReprojectionOn(void *_this, bool bOverride) +void __thiscall IVRSystem_006_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) { push_ptr_parameter(_this); - push_bool_parameter(bOverride); + push_ptr_parameter(pnAdapterIndex); + push_ptr_parameter(pnAdapterOutputIndex); +} + +bool __thiscall IVRSystem_006_AttachToWindow(void *_this, void * hWnd) +{ + push_ptr_parameter(_this); + push_ptr_parameter(hWnd); + return 0; +} + +void __thiscall IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_006_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_006_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +TrackedDeviceClass __thiscall IVRSystem_006_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_006_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_006_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_006_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_006_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_006_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_006_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_006_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_006_PollNextEvent(void *_this, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + return 0; +} + +bool __thiscall IVRSystem_006_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_006_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_006_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_006_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + return 0; +} + +bool __thiscall IVRSystem_006_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_006_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_006_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_006_CaptureInputFocus(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_006_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_006_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +VRFirmwareError __thiscall IVRSystem_006_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_006_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_006_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_009_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_009_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); + return 0; +} + +void __thiscall IVRSystem_009_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +DistortionCoordinates_t *__thiscall IVRSystem_009_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_009_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_009_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_009_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_009_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +bool __thiscall IVRSystem_009_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_009_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_009_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_009_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_009_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +ETrackedDeviceClass __thiscall IVRSystem_009_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_009_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_009_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_009_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_009_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_009_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_009_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_009_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_009_PollNextEvent(void *_this, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + return 0; +} + +bool __thiscall IVRSystem_009_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_009_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_009_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_009_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + return 0; +} + +bool __thiscall IVRSystem_009_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_009_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_009_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_009_CaptureInputFocus(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_009_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_009_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_009_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_009_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_009_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_010_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_010_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); + return 0; +} + +void __thiscall IVRSystem_010_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +DistortionCoordinates_t *__thiscall IVRSystem_010_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_010_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_010_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_010_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_010_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +bool __thiscall IVRSystem_010_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_010_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_010_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_010_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_010_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_010_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_010_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_010_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_010_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_010_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_010_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_010_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_010_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_010_PollNextEvent(void *_this, VREvent_t * pEvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + return 0; +} + +bool __thiscall IVRSystem_010_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_010_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_010_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_010_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + return 0; +} + +bool __thiscall IVRSystem_010_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_010_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_010_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_010_CaptureInputFocus(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_010_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_010_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_010_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_010_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_010_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_010_PerformanceTestEnableCapture(void *_this, bool bEnable) +{ + push_ptr_parameter(_this); + push_bool_parameter(bEnable); +} + +void __thiscall IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nFidelityLevel); } void __thiscall IVRSystem_011_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) @@ -21224,1410 +25055,14 @@ void __thiscall IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *_th push_uint32_parameter(nFidelityLevel); } -EVRApplicationError __thiscall IVRApplications_004_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_004_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_004_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_004_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_004_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_004_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_004_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_004_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_004_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_004_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_004_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_004_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_010_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_010_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_010_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_010_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_010_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_010_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_010_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_010_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_010_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_010_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_010_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_010_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_010_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_010_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_010_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_010_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_010_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_004_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_004_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pD3D11Device); - push_ptr_parameter(ppD3D11Texture2D); - return 0; -} - -void __thiscall IVRRenderModels_004_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11Texture2D); -} - -uint32_t __thiscall IVRRenderModels_004_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_004_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_004_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_004_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -void __thiscall IVRCompositor_012_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_012_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_012_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_012_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_012_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_012_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_012_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_012_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_012_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_012_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_012_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_012_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_012_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_003_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_003_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_003_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_003_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_003_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_003_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_003_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_003_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_003_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_003_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_011_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_011_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_011_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_011_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_011_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_011_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_011_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_011_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_011_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_011_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_011_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_011_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_011_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_011_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_011_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRRenderModels_002_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_002_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -bool __thiscall IVRRenderModels_002_LoadTexture(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_002_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -uint32_t __thiscall IVRRenderModels_002_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_002_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_002_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_002_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -void __thiscall IVRSystem_010_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +void __thiscall IVRSystem_012_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); } -HmdMatrix44_t *__thiscall IVRSystem_010_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +HmdMatrix44_t *__thiscall IVRSystem_012_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { push_ptr_parameter(_this); push_ptr_parameter(_r); @@ -22638,7 +25073,7 @@ HmdMatrix44_t *__thiscall IVRSystem_010_GetProjectionMatrix(void *_this, HmdMatr return 0; } -void __thiscall IVRSystem_010_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +void __thiscall IVRSystem_012_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { push_ptr_parameter(_this); push_uint32_parameter(eEye); @@ -22648,7 +25083,7 @@ void __thiscall IVRSystem_010_GetProjectionRaw(void *_this, EVREye eEye, float * push_ptr_parameter(pfBottom); } -DistortionCoordinates_t *__thiscall IVRSystem_010_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) +DistortionCoordinates_t *__thiscall IVRSystem_012_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) { push_ptr_parameter(_this); push_ptr_parameter(_r); @@ -22658,7 +25093,7 @@ DistortionCoordinates_t *__thiscall IVRSystem_010_ComputeDistortion(void *_this, return 0; } -HmdMatrix34_t *__thiscall IVRSystem_010_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +HmdMatrix34_t *__thiscall IVRSystem_012_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) { push_ptr_parameter(_this); push_ptr_parameter(_r); @@ -22666,7 +25101,7 @@ HmdMatrix34_t *__thiscall IVRSystem_010_GetEyeToHeadTransform(void *_this, HmdMa return 0; } -bool __thiscall IVRSystem_010_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +bool __thiscall IVRSystem_012_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) { push_ptr_parameter(_this); push_ptr_parameter(pfSecondsSinceLastVsync); @@ -22674,32 +25109,32 @@ bool __thiscall IVRSystem_010_GetTimeSinceLastVsync(void *_this, float * pfSecon return 0; } -int32_t __thiscall IVRSystem_010_GetD3D9AdapterIndex(void *_this) +int32_t __thiscall IVRSystem_012_GetD3D9AdapterIndex(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRSystem_010_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +void __thiscall IVRSystem_012_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) { push_ptr_parameter(_this); push_ptr_parameter(pnAdapterIndex); } -bool __thiscall IVRSystem_010_IsDisplayOnDesktop(void *_this) +bool __thiscall IVRSystem_012_IsDisplayOnDesktop(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVRSystem_010_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +bool __thiscall IVRSystem_012_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) { push_ptr_parameter(_this); push_bool_parameter(bIsVisibleOnDesktop); return 0; } -void __thiscall IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +void __thiscall IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { push_ptr_parameter(_this); push_uint32_parameter(eOrigin); @@ -22708,26 +25143,26 @@ void __thiscall IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *_this, ETrac push_uint32_parameter(unTrackedDevicePoseArrayCount); } -void __thiscall IVRSystem_010_ResetSeatedZeroPose(void *_this) +void __thiscall IVRSystem_012_ResetSeatedZeroPose(void *_this) { push_ptr_parameter(_this); } -HmdMatrix34_t *__thiscall IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +HmdMatrix34_t *__thiscall IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); push_ptr_parameter(_r); return 0; } -HmdMatrix34_t *__thiscall IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +HmdMatrix34_t *__thiscall IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); push_ptr_parameter(_r); return 0; } -uint32_t __thiscall IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +uint32_t __thiscall IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { push_ptr_parameter(_this); push_uint32_parameter(eTrackedDeviceClass); @@ -22737,14 +25172,14 @@ uint32_t __thiscall IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *_th return 0; } -EDeviceActivityLevel __thiscall IVRSystem_010_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +EDeviceActivityLevel __thiscall IVRSystem_012_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceId); return 0; } -void __thiscall IVRSystem_010_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +void __thiscall IVRSystem_012_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) { push_ptr_parameter(_this); push_ptr_parameter(pOutputPose); @@ -22752,35 +25187,35 @@ void __thiscall IVRSystem_010_ApplyTransform(void *_this, TrackedDevicePose_t * push_ptr_parameter(pTransform); } -TrackedDeviceIndex_t __thiscall IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +TrackedDeviceIndex_t __thiscall IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceType); return 0; } -ETrackedControllerRole __thiscall IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedControllerRole __thiscall IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); return 0; } -ETrackedDeviceClass __thiscall IVRSystem_010_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +ETrackedDeviceClass __thiscall IVRSystem_012_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); return 0; } -bool __thiscall IVRSystem_010_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +bool __thiscall IVRSystem_012_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); return 0; } -bool __thiscall IVRSystem_010_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +bool __thiscall IVRSystem_012_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); @@ -22789,7 +25224,7 @@ bool __thiscall IVRSystem_010_GetBoolTrackedDeviceProperty(void *_this, TrackedD return 0; } -float __thiscall IVRSystem_010_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +float __thiscall IVRSystem_012_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); @@ -22798,7 +25233,7 @@ float __thiscall IVRSystem_010_GetFloatTrackedDeviceProperty(void *_this, Tracke return 0; } -int32_t __thiscall IVRSystem_010_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +int32_t __thiscall IVRSystem_012_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); @@ -22807,7 +25242,7 @@ int32_t __thiscall IVRSystem_010_GetInt32TrackedDeviceProperty(void *_this, Trac return 0; } -uint64_t __thiscall IVRSystem_010_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +uint64_t __thiscall IVRSystem_012_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); @@ -22816,7 +25251,7 @@ uint64_t __thiscall IVRSystem_010_GetUint64TrackedDeviceProperty(void *_this, Tr return 0; } -HmdMatrix34_t *__thiscall IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +HmdMatrix34_t *__thiscall IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { push_ptr_parameter(_this); push_ptr_parameter(_r); @@ -22826,7 +25261,7 @@ HmdMatrix34_t *__thiscall IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *_ return 0; } -uint32_t __thiscall IVRSystem_010_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +uint32_t __thiscall IVRSystem_012_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); @@ -22837,37 +25272,39 @@ uint32_t __thiscall IVRSystem_010_GetStringTrackedDeviceProperty(void *_this, Tr return 0; } -const char * __thiscall IVRSystem_010_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +const char * __thiscall IVRSystem_012_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -bool __thiscall IVRSystem_010_PollNextEvent(void *_this, VREvent_t * pEvent) +bool __thiscall IVRSystem_012_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) { push_ptr_parameter(_this); push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); return 0; } -bool __thiscall IVRSystem_010_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +bool __thiscall IVRSystem_012_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) { push_ptr_parameter(_this); push_uint32_parameter(eOrigin); push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); push_ptr_parameter(pTrackedDevicePose); return 0; } -const char * __thiscall IVRSystem_010_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +const char * __thiscall IVRSystem_012_GetEventTypeNameFromEnum(void *_this, EVREventType eType) { push_ptr_parameter(_this); push_uint32_parameter(eType); return 0; } -HiddenAreaMesh_t *__thiscall IVRSystem_010_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) +HiddenAreaMesh_t *__thiscall IVRSystem_012_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) { push_ptr_parameter(_this); push_ptr_parameter(_r); @@ -22875,7 +25312,7 @@ HiddenAreaMesh_t *__thiscall IVRSystem_010_GetHiddenAreaMesh(void *_this, Hidden return 0; } -bool __thiscall IVRSystem_010_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +bool __thiscall IVRSystem_012_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) { push_ptr_parameter(_this); push_uint32_parameter(unControllerDeviceIndex); @@ -22883,7 +25320,7 @@ bool __thiscall IVRSystem_010_GetControllerState(void *_this, TrackedDeviceIndex return 0; } -bool __thiscall IVRSystem_010_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +bool __thiscall IVRSystem_012_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) { push_ptr_parameter(_this); push_uint32_parameter(eOrigin); @@ -22893,7 +25330,7 @@ bool __thiscall IVRSystem_010_GetControllerStateWithPose(void *_this, ETrackingU return 0; } -void __thiscall IVRSystem_010_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +void __thiscall IVRSystem_012_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { push_ptr_parameter(_this); push_uint32_parameter(unControllerDeviceIndex); @@ -22901,38 +25338,38 @@ void __thiscall IVRSystem_010_TriggerHapticPulse(void *_this, TrackedDeviceIndex push_uint32_parameter(usDurationMicroSec); } -const char * __thiscall IVRSystem_010_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +const char * __thiscall IVRSystem_012_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) { push_ptr_parameter(_this); push_uint32_parameter(eButtonId); return 0; } -const char * __thiscall IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +const char * __thiscall IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) { push_ptr_parameter(_this); push_uint32_parameter(eAxisType); return 0; } -bool __thiscall IVRSystem_010_CaptureInputFocus(void *_this) +bool __thiscall IVRSystem_012_CaptureInputFocus(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRSystem_010_ReleaseInputFocus(void *_this) +void __thiscall IVRSystem_012_ReleaseInputFocus(void *_this) { push_ptr_parameter(_this); } -bool __thiscall IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *_this) +bool __thiscall IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVRSystem_010_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +uint32_t __thiscall IVRSystem_012_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); @@ -22942,949 +25379,2886 @@ uint32_t __thiscall IVRSystem_010_DriverDebugRequest(void *_this, TrackedDeviceI return 0; } -EVRFirmwareError __thiscall IVRSystem_010_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +EVRFirmwareError __thiscall IVRSystem_012_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); push_uint32_parameter(unDeviceIndex); return 0; } -void __thiscall IVRSystem_010_AcknowledgeQuit_Exiting(void *_this) +void __thiscall IVRSystem_012_AcknowledgeQuit_Exiting(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRSystem_010_AcknowledgeQuit_UserPrompt(void *_this) +void __thiscall IVRSystem_012_AcknowledgeQuit_UserPrompt(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVRSystem_010_PerformanceTestEnableCapture(void *_this, bool bEnable) +void __thiscall IVRSystem_014_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); - push_bool_parameter(bEnable); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); } -void __thiscall IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel) +HmdMatrix44_t *__thiscall IVRSystem_014_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { push_ptr_parameter(_this); - push_uint32_parameter(nFidelityLevel); -} - -EVRApplicationError __thiscall IVRApplications_002_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + push_uint32_parameter(eProjType); return 0; } -EVRApplicationError __thiscall IVRApplications_002_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_002_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_002_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_002_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_002_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_002_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_002_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_002_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_002_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_002_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); - return 0; -} - -void __thiscall IVRChaperoneSetup_004_RevertWorkingCopy(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) -{ - push_ptr_parameter(_this); - push_float_parameter(sizeX); - push_float_parameter(sizeZ); -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_004_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); -} - -bool __thiscall IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_uint32_parameter(unTagCount); -} - -bool __thiscall IVRChaperoneSetup_004_GetLiveWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_ptr_parameter(punTagCount); - return 0; -} - -void __thiscall IVRCompositor_010_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_010_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_010_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_010_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_010_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +void __thiscall IVRSystem_014_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { push_ptr_parameter(_this); push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_014_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); return 0; } -void __thiscall IVRCompositor_010_ClearLastSubmittedFrame(void *_this) +HmdMatrix34_t *__thiscall IVRSystem_014_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) { push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_010_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); return 0; } -float __thiscall IVRCompositor_010_GetFrameTimeRemaining(void *_this) +bool __thiscall IVRSystem_014_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_014_GetD3D9AdapterIndex(void *_this) { push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_010_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +void __thiscall IVRSystem_014_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) { push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); + push_ptr_parameter(pnAdapterIndex); } -void __thiscall IVRCompositor_010_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_010_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_010_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_010_IsFullscreen(void *_this) +bool __thiscall IVRSystem_014_IsDisplayOnDesktop(void *_this) { push_ptr_parameter(_this); return 0; } -uint32_t __thiscall IVRCompositor_010_GetCurrentSceneFocusProcess(void *_this) +bool __thiscall IVRSystem_014_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) { push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); return 0; } -uint32_t __thiscall IVRCompositor_010_GetLastFrameRenderer(void *_this) +void __thiscall IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_014_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); return 0; } -bool __thiscall IVRCompositor_010_CanRenderScene(void *_this) +HmdMatrix34_t *__thiscall IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); + push_ptr_parameter(_r); return 0; } -void __thiscall IVRCompositor_010_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_010_IsMirrorWindowVisible(void *_this) +uint32_t __thiscall IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); return 0; } -void __thiscall IVRCompositor_010_CompositorDumpImages(void *_this) +EDeviceActivityLevel __thiscall IVRSystem_014_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) { push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_008_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); + push_uint32_parameter(unDeviceId); return 0; } -EVROverlayError __thiscall IVROverlay_008_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +void __thiscall IVRSystem_014_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); return 0; } -EVROverlayError __thiscall IVROverlay_008_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +ETrackedControllerRole __thiscall IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); return 0; } -EVROverlayError __thiscall IVROverlay_008_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +ETrackedDeviceClass __thiscall IVRSystem_014_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); return 0; } -VROverlayHandle_t __thiscall IVROverlay_008_GetHighQualityOverlay(void *_this) +bool __thiscall IVRSystem_014_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); return 0; } -uint32_t __thiscall IVROverlay_008_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +bool __thiscall IVRSystem_014_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_014_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_014_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_014_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_014_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); push_ptr_parameter(pchValue); push_uint32_parameter(unBufferSize); push_ptr_parameter(pError); return 0; } -uint32_t __thiscall IVROverlay_008_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_008_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) +const char * __thiscall IVRSystem_014_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) { push_ptr_parameter(_this); push_uint32_parameter(error); return 0; } -EVROverlayError __thiscall IVROverlay_008_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +bool __thiscall IVRSystem_014_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_008_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_008_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); return 0; } -EVROverlayError __thiscall IVROverlay_008_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +bool __thiscall IVRSystem_014_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); return 0; } -EVROverlayError __thiscall IVROverlay_008_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +const char * __thiscall IVRSystem_014_GetEventTypeNameFromEnum(void *_this, EVREventType eType) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); + push_uint32_parameter(eType); return 0; } -EVROverlayError __thiscall IVROverlay_008_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +HiddenAreaMesh_t *__thiscall IVRSystem_014_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); return 0; } -EVROverlayError __thiscall IVROverlay_008_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +bool __thiscall IVRSystem_014_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_008_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); return 0; } -bool __thiscall IVROverlay_008_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +bool __thiscall IVRSystem_014_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); return 0; } -VROverlayHandle_t __thiscall IVROverlay_008_GetGamepadFocusOverlay(void *_this) +void __thiscall IVRSystem_014_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_014_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_014_CaptureInputFocus(void *_this) { push_ptr_parameter(_this); return 0; } -EVROverlayError __thiscall IVROverlay_008_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) +void __thiscall IVRSystem_014_ReleaseInputFocus(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; } -EVROverlayError __thiscall IVROverlay_008_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_008_IsDashboardVisible(void *_this) +bool __thiscall IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *_this) { push_ptr_parameter(_this); return 0; } -bool __thiscall IVROverlay_008_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +uint32_t __thiscall IVRSystem_014_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); return 0; } -EVROverlayError __thiscall IVROverlay_008_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVRFirmwareError __thiscall IVRSystem_014_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); + push_uint32_parameter(unDeviceIndex); return 0; } -EVROverlayError __thiscall IVROverlay_008_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +void __thiscall IVRSystem_014_AcknowledgeQuit_Exiting(void *_this) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); +} + +void __thiscall IVRSystem_014_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_015_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_015_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); return 0; } -void __thiscall IVROverlay_008_ShowDashboard(void *_this, const char * pchOverlayToShow) +void __thiscall IVRSystem_015_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); } -EVROverlayError __thiscall IVROverlay_008_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +bool __thiscall IVRSystem_015_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) { push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); return 0; } -EVROverlayError __thiscall IVROverlay_008_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +HmdMatrix34_t *__thiscall IVRSystem_015_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); return 0; } -uint32_t __thiscall IVROverlay_008_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) +bool __thiscall IVRSystem_015_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) { push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); return 0; } -void __thiscall IVROverlay_008_HideKeyboard(void *_this) +int32_t __thiscall IVRSystem_015_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_015_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +bool __thiscall IVRSystem_015_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_015_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_015_ResetSeatedZeroPose(void *_this) { push_ptr_parameter(_this); } -void __thiscall IVROverlay_008_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +HmdMatrix34_t *__thiscall IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); + push_ptr_parameter(_r); + return 0; } -void __thiscall IVROverlay_008_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +HmdMatrix34_t *__thiscall IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_015_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_015_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_015_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_015_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_015_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_015_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_015_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_015_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_015_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_015_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_015_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_015_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_015_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_015_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_015_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_015_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_015_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_015_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_015_CaptureInputFocus(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_015_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_015_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_015_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_015_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_015_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_016_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_016_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + return 0; +} + +void __thiscall IVRSystem_016_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_016_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_016_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_016_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_016_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_016_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +void __thiscall IVRSystem_016_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnDevice); + push_uint32_parameter(textureType); +} + +bool __thiscall IVRSystem_016_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_016_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_016_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_016_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_016_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_016_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_016_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_016_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_016_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_016_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_016_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_016_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_016_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_016_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_016_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_016_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_016_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_016_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_016_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_016_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_016_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_016_CaptureInputFocus(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_016_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_016_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_016_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_016_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_016_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_017_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_017_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + return 0; +} + +void __thiscall IVRSystem_017_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_017_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_017_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_017_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_017_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_017_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +void __thiscall IVRSystem_017_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnDevice); + push_uint32_parameter(textureType); + push_ptr_parameter(pInstance); +} + +bool __thiscall IVRSystem_017_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_017_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_017_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_017_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_017_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_017_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_017_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_017_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_017_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_017_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_017_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_017_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_017_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_017_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_017_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_017_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_017_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_017_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_017_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_017_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_017_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_017_CaptureInputFocus(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_017_ReleaseInputFocus(void *_this) +{ + push_ptr_parameter(_this); +} + +bool __thiscall IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_017_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_017_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_017_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_017_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_019_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_019_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + return 0; +} + +void __thiscall IVRSystem_019_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_019_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_019_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_019_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_019_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_019_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +void __thiscall IVRSystem_019_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnDevice); + push_uint32_parameter(textureType); + push_ptr_parameter(pInstance); +} + +bool __thiscall IVRSystem_019_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_019_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_019_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_019_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_019_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_019_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_019_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_019_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_019_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_019_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_019_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_019_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_uint32_parameter(propType); + push_ptr_parameter(pBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_019_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_019_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_019_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_019_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_019_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_019_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_019_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_019_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_019_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_019_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_019_IsInputAvailable(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_019_IsSteamVRDrawingControllers(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_019_ShouldApplicationPause(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_019_ShouldApplicationReduceRenderingWork(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +uint32_t __thiscall IVRSystem_019_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_ptr_parameter(pchRequest); + push_ptr_parameter(pchResponseBuffer); + push_uint32_parameter(unResponseBufferSize); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_019_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_019_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_019_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_020_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_020_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + return 0; +} + +void __thiscall IVRSystem_020_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_020_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_020_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_020_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_020_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_020_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +void __thiscall IVRSystem_020_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnDevice); + push_uint32_parameter(textureType); + push_ptr_parameter(pInstance); +} + +bool __thiscall IVRSystem_020_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_020_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_020_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_020_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_020_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_020_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_020_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_020_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_020_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_020_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_020_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_020_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_uint32_parameter(propType); + push_ptr_parameter(pBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_020_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_020_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_020_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_020_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_020_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_020_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_020_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_020_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_020_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_020_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_020_IsInputAvailable(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_020_IsSteamVRDrawingControllers(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_020_ShouldApplicationPause(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_020_ShouldApplicationReduceRenderingWork(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_020_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_020_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +void __thiscall IVRSystem_020_AcknowledgeQuit_UserPrompt(void *_this) +{ + push_ptr_parameter(_this); +} + +uint32_t __thiscall IVRSystem_020_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); + return 0; +} + +const char * __thiscall IVRSystem_020_GetRuntimeVersion(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_021_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_021_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + return 0; +} + +void __thiscall IVRSystem_021_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_021_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_021_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_021_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_021_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_021_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +void __thiscall IVRSystem_021_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnDevice); + push_uint32_parameter(textureType); + push_ptr_parameter(pInstance); +} + +bool __thiscall IVRSystem_021_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_021_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +void __thiscall IVRSystem_021_ResetSeatedZeroPose(void *_this) +{ + push_ptr_parameter(_this); +} + +HmdMatrix34_t *__thiscall IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_021_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_021_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_021_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_021_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_021_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_021_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_021_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_021_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_021_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_uint32_parameter(propType); + push_ptr_parameter(pBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_021_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_021_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_021_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_021_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_021_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_021_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_021_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_021_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_021_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_021_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_021_IsInputAvailable(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_021_IsSteamVRDrawingControllers(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_021_ShouldApplicationPause(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_021_ShouldApplicationReduceRenderingWork(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_021_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_021_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +uint32_t __thiscall IVRSystem_021_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); + return 0; +} + +const char * __thiscall IVRSystem_021_GetRuntimeVersion(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_022_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnWidth); + push_ptr_parameter(pnHeight); +} + +HmdMatrix44_t *__thiscall IVRSystem_022_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_float_parameter(fNearZ); + push_float_parameter(fFarZ); + return 0; +} + +void __thiscall IVRSystem_022_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_ptr_parameter(pfLeft); + push_ptr_parameter(pfRight); + push_ptr_parameter(pfTop); + push_ptr_parameter(pfBottom); +} + +bool __thiscall IVRSystem_022_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eEye); + push_float_parameter(fU); + push_float_parameter(fV); + push_ptr_parameter(pDistortionCoordinates); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_022_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + return 0; +} + +bool __thiscall IVRSystem_022_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pfSecondsSinceLastVsync); + push_ptr_parameter(pulFrameCounter); + return 0; +} + +int32_t __thiscall IVRSystem_022_GetD3D9AdapterIndex(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +void __thiscall IVRSystem_022_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnAdapterIndex); +} + +void __thiscall IVRSystem_022_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pnDevice); + push_uint32_parameter(textureType); + push_ptr_parameter(pInstance); +} + +bool __thiscall IVRSystem_022_IsDisplayOnDesktop(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_022_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) +{ + push_ptr_parameter(_this); + push_bool_parameter(bIsVisibleOnDesktop); + return 0; +} + +void __thiscall IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_float_parameter(fPredictedSecondsToPhotonsFromNow); + push_ptr_parameter(pTrackedDevicePoseArray); + push_uint32_parameter(unTrackedDevicePoseArrayCount); +} + +HmdMatrix34_t *__thiscall IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + return 0; +} + +uint32_t __thiscall IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eTrackedDeviceClass); + push_ptr_parameter(punTrackedDeviceIndexArray); + push_uint32_parameter(unTrackedDeviceIndexArrayCount); + push_uint32_parameter(unRelativeToTrackedDeviceIndex); + return 0; +} + +EDeviceActivityLevel __thiscall IVRSystem_022_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceId); + return 0; +} + +void __thiscall IVRSystem_022_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pOutputPose); + push_ptr_parameter(pTrackedDevicePose); + push_ptr_parameter(pTransform); +} + +TrackedDeviceIndex_t __thiscall IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceType); + return 0; +} + +ETrackedControllerRole __thiscall IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +ETrackedDeviceClass __thiscall IVRSystem_022_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_022_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +bool __thiscall IVRSystem_022_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +float __thiscall IVRSystem_022_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +int32_t __thiscall IVRSystem_022_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint64_t __thiscall IVRSystem_022_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +HmdMatrix34_t *__thiscall IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_022_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_uint32_parameter(propType); + push_ptr_parameter(pBuffer); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +uint32_t __thiscall IVRSystem_022_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(prop); + push_ptr_parameter(pchValue); + push_uint32_parameter(unBufferSize); + push_ptr_parameter(pError); + return 0; +} + +const char * __thiscall IVRSystem_022_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) +{ + push_ptr_parameter(_this); + push_uint32_parameter(error); + return 0; +} + +bool __thiscall IVRSystem_022_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + return 0; +} + +bool __thiscall IVRSystem_022_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_ptr_parameter(pEvent); + push_uint32_parameter(uncbVREvent); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +const char * __thiscall IVRSystem_022_GetEventTypeNameFromEnum(void *_this, EVREventType eType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eType); + return 0; +} + +HiddenAreaMesh_t *__thiscall IVRSystem_022_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + push_ptr_parameter(_this); + push_ptr_parameter(_r); + push_uint32_parameter(eEye); + push_uint32_parameter(type); + return 0; +} + +bool __thiscall IVRSystem_022_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + return 0; +} + +bool __thiscall IVRSystem_022_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eOrigin); + push_uint32_parameter(unControllerDeviceIndex); + push_ptr_parameter(pControllerState); + push_uint32_parameter(unControllerStateSize); + push_ptr_parameter(pTrackedDevicePose); + return 0; +} + +void __thiscall IVRSystem_022_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unControllerDeviceIndex); + push_uint32_parameter(unAxisId); + push_uint32_parameter(usDurationMicroSec); +} + +const char * __thiscall IVRSystem_022_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eButtonId); + return 0; +} + +const char * __thiscall IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eAxisType); + return 0; +} + +bool __thiscall IVRSystem_022_IsInputAvailable(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_022_IsSteamVRDrawingControllers(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_022_ShouldApplicationPause(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +bool __thiscall IVRSystem_022_ShouldApplicationReduceRenderingWork(void *_this) +{ + push_ptr_parameter(_this); + return 0; +} + +EVRFirmwareError __thiscall IVRSystem_022_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + push_ptr_parameter(_this); + push_uint32_parameter(unDeviceIndex); + return 0; +} + +void __thiscall IVRSystem_022_AcknowledgeQuit_Exiting(void *_this) +{ + push_ptr_parameter(_this); +} + +uint32_t __thiscall IVRSystem_022_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) +{ + push_ptr_parameter(_this); + push_ptr_parameter(pchBuffer); + push_uint32_parameter(unBufferSize); + return 0; +} + +const char * __thiscall IVRSystem_022_GetRuntimeVersion(void *_this) +{ + push_ptr_parameter(_this); + return 0; } bool __thiscall IVRTrackedCamera_001_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex) @@ -24031,4929 +28405,555 @@ bool __thiscall IVRTrackedCamera_001_GetCameraProjection(void *_this, TrackedDev return 0; } -void __thiscall IVRCompositor_009_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_009_GetTrackingSpace(void *_this) +const char * __thiscall IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) { push_ptr_parameter(_this); + push_uint32_parameter(eCameraError); return 0; } -EVRCompositorError __thiscall IVRCompositor_009_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) { push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHasCamera); return 0; } -EVRCompositorError __thiscall IVRCompositor_009_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_009_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_009_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_009_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_009_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_009_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_009_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_009_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_009_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_009_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_009_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_009_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_009_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_009_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_009_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_009_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_009_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) { push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_009_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_009_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_009_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_009_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_009_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_009_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_009_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_009_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_009_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_009_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_009_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -ETrackedDeviceClass __thiscall IVRSystem_009_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_009_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_009_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_009_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_009_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_009_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_009_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_009_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_009_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_009_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_009_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_009_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); + push_ptr_parameter(pnFrameBufferSize); return 0; } -bool __thiscall IVRSystem_009_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraIntrinisics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) { push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFocalLength); + push_ptr_parameter(pCenter); return 0; } -bool __thiscall IVRSystem_009_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_float_parameter(flZNear); + push_float_parameter(flZFar); + push_ptr_parameter(pProjection); return 0; } -void __thiscall IVRSystem_009_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_009_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_009_CaptureInputFocus(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) { push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHandle); return 0; } -void __thiscall IVRSystem_009_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) { push_ptr_parameter(_this); + push_uint32_parameter(hTrackedCamera); return 0; } -uint32_t __thiscall IVRSystem_009_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); + push_uint32_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFrameBuffer); + push_uint32_parameter(nFrameBufferSize); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); return 0; } -EVRFirmwareError __thiscall IVRSystem_009_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) +const char * __thiscall IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) { push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); + push_uint32_parameter(eCameraError); return 0; } -void __thiscall IVRSystem_009_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_009_AcknowledgeQuit_UserPrompt(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) { push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_007_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHasCamera); return 0; } -EVROverlayError __thiscall IVROverlay_007_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_007_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_007_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_007_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_007_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_007_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_007_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_007_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_007_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_007_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_007_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_007_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_007_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_007_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_007_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_006_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) { push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); + push_ptr_parameter(pnFrameBufferSize); + return 0; } -void __thiscall IVRSystem_006_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) { push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFocalLength); + push_ptr_parameter(pCenter); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_float_parameter(flZNear); + push_float_parameter(flZFar); + push_ptr_parameter(pProjection); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHandle); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFrameBuffer); + push_uint32_parameter(nFrameBufferSize); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pTextureBounds); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); + return 0; } -void __thiscall IVRSystem_006_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(glTextureId); + return 0; +} + +const char * __thiscall IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eCameraError); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHasCamera); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_006_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_006_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_006_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_006_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_006_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_006_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_006_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_006_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_006_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -TrackedDeviceClass __thiscall IVRSystem_006_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_006_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_006_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_006_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_006_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_006_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_006_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_006_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_006_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_006_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_006_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_006_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_006_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_006_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_006_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_006_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_006_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_006_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_006_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -VRFirmwareError __thiscall IVRSystem_006_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_006_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_006_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_001_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_001_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_001_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_001_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_001_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_001_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetHomeApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_SetHomeApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_001_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_001_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -ChaperoneCalibrationState __thiscall IVRChaperone_002_GetCalibrationState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperone_002_GetSoftBoundsInfo(void *_this, ChaperoneSoftBoundsInfo_t * pInfo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pInfo); - return 0; -} - -bool __thiscall IVRChaperone_002_GetHardBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperone_002_GetSeatedBoundsInfo(void *_this, ChaperoneSeatedBoundsInfo_t * pInfo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pInfo); - return 0; -} - -void __thiscall IVRChaperone_002_ReloadInfo(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperone_002_SetSceneColor(void *_this, HmdColor_t color) -{ - push_ptr_parameter(_this); - push_HmdColor_parameter(color); -} - -void __thiscall IVRChaperone_002_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputColorArray); - push_uint32_parameter(nNumOutputColors); -} - -bool __thiscall IVRChaperone_002_AreBoundsVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRChaperone_002_ForceBoundsVisible(void *_this, bool bForce) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); -} - -uint32_t __thiscall IVRCompositor_008_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_008_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_008_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_008_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_008_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_008_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_008_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_008_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_008_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_008_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_008_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_008_SetSkyboxOverride(void *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pFront); - push_ptr_parameter(pBack); - push_ptr_parameter(pLeft); - push_ptr_parameter(pRight); - push_ptr_parameter(pTop); - push_ptr_parameter(pBottom); -} - -void __thiscall IVRCompositor_008_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_008_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_008_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_008_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_008_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_008_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_008_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -float __thiscall IVRCompositor_008_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_008_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRNotifications_001_GetErrorString(void *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -NotificationError_t __thiscall IVRNotifications_001_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulUserValue); - push_ptr_parameter(strType); - push_ptr_parameter(strText); - push_ptr_parameter(strCategory); - push_ptr_parameter(photo); - push_ptr_parameter(notificationId); - return 0; -} - -NotificationError_t __thiscall IVRNotifications_001_DismissNotification(void *_this, VRNotificationId notificationId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(notificationId); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_005_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_005_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_005_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_005_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_005_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_005_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_005_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_005_IsFocusOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); + push_ptr_parameter(pnFrameBufferSize); return 0; } -bool __thiscall IVROverlay_005_IsDashboardVisible(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) { push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFocalLength); + push_ptr_parameter(pCenter); return 0; } -bool __thiscall IVROverlay_005_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_float_parameter(flZNear); + push_float_parameter(flZFar); + push_ptr_parameter(pProjection); return 0; } -VROverlayError __thiscall IVROverlay_005_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHandle); return 0; } -VROverlayError __thiscall IVROverlay_005_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_005_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -VROverlayError __thiscall IVROverlay_005_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - return 0; -} - -uint32_t __thiscall IVROverlay_005_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_005_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRRenderModels_001_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_001_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) { push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); + push_uint64_parameter(hTrackedCamera); return 0; } -uint32_t __thiscall IVRRenderModels_001_GetRenderModelCount(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFrameBuffer); + push_uint32_parameter(nFrameBufferSize); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); return 0; } -void __thiscall IVRSystem_005_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) { push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pTextureBounds); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); + return 0; } -void __thiscall IVRSystem_005_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(glTextureId); + return 0; +} + +const char * __thiscall IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) +{ + push_ptr_parameter(_this); + push_uint32_parameter(eCameraError); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHasCamera); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); + push_ptr_parameter(pnFrameBufferSize); + return 0; } -void __thiscall IVRSystem_005_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) { push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(nCameraIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFocalLength); + push_ptr_parameter(pCenter); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(nCameraIndex); + push_uint32_parameter(eFrameType); + push_float_parameter(flZNear); + push_float_parameter(flZFar); + push_ptr_parameter(pProjection); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHandle); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFrameBuffer); + push_uint32_parameter(nFrameBufferSize); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pTextureBounds); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_005_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_005_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_005_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_005_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_005_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_005_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_005_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_005_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_005_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -TrackedDeviceClass __thiscall IVRSystem_005_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_005_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_005_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_005_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_005_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_005_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_005_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_005_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_005_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_005_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_005_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_005_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_005_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_005_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_005_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_005_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_005_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_005_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_005_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_007_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_007_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_007_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_007_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_007_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_007_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_007_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - return 0; -} - -void __thiscall IVRCompositor_007_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_007_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_007_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_007_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_007_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_007_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_007_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_007_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_007_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_007_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_007_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_007_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_004_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_004_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_004_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_004_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_004_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_004_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_004_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_004_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_004_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_004_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -VROverlayError __thiscall IVROverlay_003_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_003_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_003_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_003_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_003_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_003_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_003_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_003_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_003_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_003_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_003_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -VROverlayError __thiscall IVROverlay_002_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_002_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVROverlay_002_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_002_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_002_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_002_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); return 0; } -VROverlayError __thiscall IVROverlay_002_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); return 0; } -bool __thiscall IVROverlay_002_IsDashboardVisible(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); return 0; } -bool __thiscall IVROverlay_002_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(glTextureId); return 0; } -VROverlayError __thiscall IVROverlay_002_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +const char * __thiscall IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); + push_uint32_parameter(eCameraError); return 0; } -VROverlayError __thiscall IVROverlay_002_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) { push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHasCamera); return 0; } -void __thiscall IVRSystem_004_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) { push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); + push_ptr_parameter(pnFrameBufferSize); + return 0; } -void __thiscall IVRSystem_004_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) { push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(nCameraIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFocalLength); + push_ptr_parameter(pCenter); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(nCameraIndex); + push_uint32_parameter(eFrameType); + push_float_parameter(flZNear); + push_float_parameter(flZFar); + push_ptr_parameter(pProjection); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_ptr_parameter(pHandle); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pFrameBuffer); + push_uint32_parameter(nFrameBufferSize); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); + return 0; +} + +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + push_ptr_parameter(_this); + push_uint32_parameter(nDeviceIndex); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pTextureBounds); push_ptr_parameter(pnWidth); push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_004_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_004_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_004_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_004_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_004_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_004_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_004_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_004_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_004_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_004_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -TrackedDeviceClass __thiscall IVRSystem_004_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_004_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_004_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_004_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_004_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_004_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_004_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_004_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_004_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_004_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_004_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_004_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_004_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_004_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_004_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_004_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_004_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_004_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_004_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_006_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_006_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_006_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_006_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_006_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_006_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - push_ptr_parameter(pDevice); -} - -VRCompositorError __thiscall IVRCompositor_006_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_006_Submit(void *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - return 0; -} - -void __thiscall IVRCompositor_006_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_006_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_006_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_006_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_006_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_006_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_006_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_006_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_006_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_006_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_006_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_006_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_001_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVROverlay_001_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peOverlayVisibility); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayVisibility); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_001_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_001_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_001_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -bool __thiscall IVROverlay_001_IsSystemOverlayVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_001_IsActiveSystemOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVRSystem_003_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_003_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_003_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_003_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_003_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_003_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_003_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_003_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_003_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_003_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_003_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_003_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -bool __thiscall IVRSystem_003_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pRenderModel); - return 0; -} - -void __thiscall IVRSystem_003_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -TrackedDeviceClass __thiscall IVRSystem_003_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_003_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_003_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_003_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_003_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_003_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_003_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_003_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_003_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_003_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_003_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_003_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_003_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_003_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_003_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_003_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(overlaySettings); - push_HmdVector2_parameter(vecWindowClientPositionOnScreen); - push_HmdVector2_parameter(vecWindowClientSize); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(eOutputType); - return 0; -} - -bool __thiscall IVRSystem_003_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_003_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_005_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_005_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_005_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_005_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_005_GetGamma(void *_this) -{ - push_ptr_parameter(_this); return 0; } -void __thiscall IVRCompositor_005_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - push_ptr_parameter(pDevice); -} - -void __thiscall IVRCompositor_005_WaitGetPoses(void *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPoseArray); - push_uint32_parameter(unPoseArrayCount); -} - -void __thiscall IVRCompositor_005_Submit(void *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); -} - -void __thiscall IVRCompositor_005_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_005_GetOverlayDefaults(void *_this, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_SetOverlay(void *_this, void * pTexture, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_SetOverlayRaw(void *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); - push_ptr_parameter(buffer); - push_uint32_parameter(width); - push_uint32_parameter(height); - push_uint32_parameter(depth); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_SetOverlayFromFile(void *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchFilePath); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_ClearOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_005_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pD3D11DeviceOrResource); + push_ptr_parameter(ppD3D11ShaderResourceView); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); return 0; } -void __thiscall IVRCompositor_005_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_005_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_005_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_005_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_005_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_005_IsFullscreen(void *_this) +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) { push_ptr_parameter(_this); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(eFrameType); + push_ptr_parameter(pglTextureId); + push_ptr_parameter(pFrameHeader); + push_uint32_parameter(nFrameHeaderSize); return 0; } -bool __thiscall IVRCompositor_005_ComputeOverlayIntersection(void *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) { push_ptr_parameter(_this); - push_ptr_parameter(pSettings); - push_float_parameter(fAspectRatio); - push_uint32_parameter(eOrigin); - push_HmdVector3_parameter(vSource); - push_HmdVector3_parameter(vDirection); - push_ptr_parameter(pvecIntersectionUV); - push_ptr_parameter(pvecIntersectionTrackingSpace); + push_uint64_parameter(hTrackedCamera); + push_uint32_parameter(glTextureId); return 0; } -void __thiscall IVRCompositor_005_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) +void __thiscall IVRTrackedCamera_006_SetCameraTrackingSpace(void *_this, ETrackingUniverseOrigin eUniverse) { push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); + push_uint32_parameter(eUniverse); } -TrackingUniverseOrigin __thiscall IVRCompositor_005_GetTrackingSpace(void *_this) +ETrackingUniverseOrigin __thiscall IVRTrackedCamera_006_GetCameraTrackingSpace(void *_this) { push_ptr_parameter(_this); return 0; diff --git a/vrclient_x64/tests/capi_thunks_autogen.h b/vrclient_x64/tests/capi_thunks_autogen.h index e27052d3..2c42fff1 100644 --- a/vrclient_x64/tests/capi_thunks_autogen.h +++ b/vrclient_x64/tests/capi_thunks_autogen.h @@ -11,99 +11,297 @@ #include "capi_thunks.h" -void test_capi_thunks_IVRSystem_022(void); +void test_capi_thunks_IVRApplications_001(void); -void __thiscall IVRSystem_022_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVRApplicationError __thiscall IVRApplications_001_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); -HmdMatrix44_t *__thiscall IVRSystem_022_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); +EVRApplicationError __thiscall IVRApplications_001_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); -void __thiscall IVRSystem_022_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +bool __thiscall IVRApplications_001_IsApplicationInstalled(void *_this, const char * pchAppKey); -bool __thiscall IVRSystem_022_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +uint32_t __thiscall IVRApplications_001_GetApplicationCount(void *_this); -HmdMatrix34_t *__thiscall IVRSystem_022_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -bool __thiscall IVRSystem_022_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -int32_t __thiscall IVRSystem_022_GetD3D9AdapterIndex(void *_this); +EVRApplicationError __thiscall IVRApplications_001_LaunchApplication(void *_this, const char * pchAppKey); -void __thiscall IVRSystem_022_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVRApplicationError __thiscall IVRApplications_001_LaunchDashboardOverlay(void *_this, const char * pchAppKey); -void __thiscall IVRSystem_022_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); +EVRApplicationError __thiscall IVRApplications_001_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); -bool __thiscall IVRSystem_022_IsDisplayOnDesktop(void *_this); +uint32_t __thiscall IVRApplications_001_GetApplicationProcessId(void *_this, const char * pchAppKey); -bool __thiscall IVRSystem_022_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +const char * __thiscall IVRApplications_001_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); -void __thiscall IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +uint32_t __thiscall IVRApplications_001_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); -HmdMatrix34_t *__thiscall IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +bool __thiscall IVRApplications_001_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); -HmdMatrix34_t *__thiscall IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVRApplicationError __thiscall IVRApplications_001_GetHomeApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -uint32_t __thiscall IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVRApplicationError __thiscall IVRApplications_001_SetHomeApplication(void *_this, const char * pchAppKey); -EDeviceActivityLevel __thiscall IVRSystem_022_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVRApplicationError __thiscall IVRApplications_001_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); -void __thiscall IVRSystem_022_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +bool __thiscall IVRApplications_001_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); -TrackedDeviceIndex_t __thiscall IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +EVRApplicationError __thiscall IVRApplications_001_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -ETrackedControllerRole __thiscall IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVRApplicationTransitionState __thiscall IVRApplications_001_GetTransitionState(void *_this); -ETrackedDeviceClass __thiscall IVRSystem_022_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVRApplicationError __thiscall IVRApplications_001_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); -bool __thiscall IVRSystem_022_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +const char * __thiscall IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); -bool __thiscall IVRSystem_022_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +void test_capi_thunks_IVRApplications_002(void); -float __thiscall IVRSystem_022_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVRApplicationError __thiscall IVRApplications_002_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); -int32_t __thiscall IVRSystem_022_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVRApplicationError __thiscall IVRApplications_002_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); -uint64_t __thiscall IVRSystem_022_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +bool __thiscall IVRApplications_002_IsApplicationInstalled(void *_this, const char * pchAppKey); -HmdMatrix34_t *__thiscall IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +uint32_t __thiscall IVRApplications_002_GetApplicationCount(void *_this); -uint32_t __thiscall IVRSystem_022_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -uint32_t __thiscall IVRSystem_022_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -const char * __thiscall IVRSystem_022_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +EVRApplicationError __thiscall IVRApplications_002_LaunchApplication(void *_this, const char * pchAppKey); -bool __thiscall IVRSystem_022_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +EVRApplicationError __thiscall IVRApplications_002_LaunchDashboardOverlay(void *_this, const char * pchAppKey); -bool __thiscall IVRSystem_022_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +EVRApplicationError __thiscall IVRApplications_002_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); -const char * __thiscall IVRSystem_022_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +uint32_t __thiscall IVRApplications_002_GetApplicationProcessId(void *_this, const char * pchAppKey); -HiddenAreaMesh_t *__thiscall IVRSystem_022_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +const char * __thiscall IVRApplications_002_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); -bool __thiscall IVRSystem_022_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +uint32_t __thiscall IVRApplications_002_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); -bool __thiscall IVRSystem_022_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +bool __thiscall IVRApplications_002_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); -void __thiscall IVRSystem_022_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +EVRApplicationError __thiscall IVRApplications_002_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); -const char * __thiscall IVRSystem_022_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +bool __thiscall IVRApplications_002_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); -const char * __thiscall IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +EVRApplicationError __thiscall IVRApplications_002_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); -bool __thiscall IVRSystem_022_IsInputAvailable(void *_this); +EVRApplicationTransitionState __thiscall IVRApplications_002_GetTransitionState(void *_this); -bool __thiscall IVRSystem_022_IsSteamVRDrawingControllers(void *_this); +EVRApplicationError __thiscall IVRApplications_002_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); -bool __thiscall IVRSystem_022_ShouldApplicationPause(void *_this); +const char * __thiscall IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); -bool __thiscall IVRSystem_022_ShouldApplicationReduceRenderingWork(void *_this); +bool __thiscall IVRApplications_002_IsQuitUserPromptRequested(void *_this); -EVRFirmwareError __thiscall IVRSystem_022_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +void test_capi_thunks_IVRApplications_003(void); -void __thiscall IVRSystem_022_AcknowledgeQuit_Exiting(void *_this); +EVRApplicationError __thiscall IVRApplications_003_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); -uint32_t __thiscall IVRSystem_022_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); +EVRApplicationError __thiscall IVRApplications_003_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); -const char * __thiscall IVRSystem_022_GetRuntimeVersion(void *_this); +bool __thiscall IVRApplications_003_IsApplicationInstalled(void *_this, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_003_GetApplicationCount(void *_this); + +EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_003_LaunchApplication(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_003_LaunchDashboardOverlay(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_003_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_003_GetApplicationProcessId(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_003_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); + +uint32_t __thiscall IVRApplications_003_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); + +bool __thiscall IVRApplications_003_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +uint64_t __thiscall IVRApplications_003_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +EVRApplicationError __thiscall IVRApplications_003_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); + +bool __thiscall IVRApplications_003_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_003_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationTransitionState __thiscall IVRApplications_003_GetTransitionState(void *_this); + +EVRApplicationError __thiscall IVRApplications_003_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); + +bool __thiscall IVRApplications_003_IsQuitUserPromptRequested(void *_this); + +void test_capi_thunks_IVRApplications_004(void); + +EVRApplicationError __thiscall IVRApplications_004_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); + +EVRApplicationError __thiscall IVRApplications_004_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); + +bool __thiscall IVRApplications_004_IsApplicationInstalled(void *_this, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_004_GetApplicationCount(void *_this); + +EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_004_LaunchApplication(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_004_LaunchDashboardOverlay(void *_this, const char * pchAppKey); + +bool __thiscall IVRApplications_004_CancelApplicationLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_004_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_004_GetApplicationProcessId(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_004_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); + +uint32_t __thiscall IVRApplications_004_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); + +bool __thiscall IVRApplications_004_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +uint64_t __thiscall IVRApplications_004_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +EVRApplicationError __thiscall IVRApplications_004_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); + +bool __thiscall IVRApplications_004_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_004_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationTransitionState __thiscall IVRApplications_004_GetTransitionState(void *_this); + +EVRApplicationError __thiscall IVRApplications_004_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); + +bool __thiscall IVRApplications_004_IsQuitUserPromptRequested(void *_this); + +EVRApplicationError __thiscall IVRApplications_004_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); + +void test_capi_thunks_IVRApplications_005(void); + +EVRApplicationError __thiscall IVRApplications_005_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); + +EVRApplicationError __thiscall IVRApplications_005_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); + +bool __thiscall IVRApplications_005_IsApplicationInstalled(void *_this, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_005_GetApplicationCount(void *_this); + +EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_005_LaunchApplication(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_005_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); + +EVRApplicationError __thiscall IVRApplications_005_LaunchDashboardOverlay(void *_this, const char * pchAppKey); + +bool __thiscall IVRApplications_005_CancelApplicationLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_005_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_005_GetApplicationProcessId(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_005_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); + +uint32_t __thiscall IVRApplications_005_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); + +bool __thiscall IVRApplications_005_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +uint64_t __thiscall IVRApplications_005_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +EVRApplicationError __thiscall IVRApplications_005_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); + +bool __thiscall IVRApplications_005_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_005_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationTransitionState __thiscall IVRApplications_005_GetTransitionState(void *_this); + +EVRApplicationError __thiscall IVRApplications_005_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); + +bool __thiscall IVRApplications_005_IsQuitUserPromptRequested(void *_this); + +EVRApplicationError __thiscall IVRApplications_005_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); + +void test_capi_thunks_IVRApplications_006(void); + +EVRApplicationError __thiscall IVRApplications_006_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); + +EVRApplicationError __thiscall IVRApplications_006_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); + +bool __thiscall IVRApplications_006_IsApplicationInstalled(void *_this, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_006_GetApplicationCount(void *_this); + +EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationError __thiscall IVRApplications_006_LaunchApplication(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_006_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); + +EVRApplicationError __thiscall IVRApplications_006_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs); + +EVRApplicationError __thiscall IVRApplications_006_LaunchDashboardOverlay(void *_this, const char * pchAppKey); + +bool __thiscall IVRApplications_006_CancelApplicationLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_006_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); + +uint32_t __thiscall IVRApplications_006_GetApplicationProcessId(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_006_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); + +uint32_t __thiscall IVRApplications_006_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); + +bool __thiscall IVRApplications_006_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +uint64_t __thiscall IVRApplications_006_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); + +EVRApplicationError __thiscall IVRApplications_006_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); + +bool __thiscall IVRApplications_006_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); + +EVRApplicationError __thiscall IVRApplications_006_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType); + +bool __thiscall IVRApplications_006_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +bool __thiscall IVRApplications_006_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer); + +uint32_t __thiscall IVRApplications_006_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer); + +uint32_t __thiscall IVRApplications_006_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs); + +EVRApplicationError __thiscall IVRApplications_006_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); + +EVRApplicationTransitionState __thiscall IVRApplications_006_GetTransitionState(void *_this); + +EVRApplicationError __thiscall IVRApplications_006_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); + +const char * __thiscall IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); + +bool __thiscall IVRApplications_006_IsQuitUserPromptRequested(void *_this); + +EVRApplicationError __thiscall IVRApplications_006_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); + +uint32_t __thiscall IVRApplications_006_GetCurrentSceneProcessId(void *_this); void test_capi_thunks_IVRApplications_007(void); @@ -167,49 +365,81 @@ EVRApplicationError __thiscall IVRApplications_007_LaunchInternalProcess(void *_ uint32_t __thiscall IVRApplications_007_GetCurrentSceneProcessId(void *_this); -void test_capi_thunks_IVRSettings_003(void); +void test_capi_thunks_IVRChaperoneSetup_004(void); -const char * __thiscall IVRSettings_003_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); +bool __thiscall IVRChaperoneSetup_004_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); -void __thiscall IVRSettings_003_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); +void __thiscall IVRChaperoneSetup_004_RevertWorkingCopy(void *_this); -void __thiscall IVRSettings_003_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); +bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); -void __thiscall IVRSettings_003_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); +bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); -void __thiscall IVRSettings_003_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); +bool __thiscall IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); -bool __thiscall IVRSettings_003_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +bool __thiscall IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); -int32_t __thiscall IVRSettings_003_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +bool __thiscall IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); -float __thiscall IVRSettings_003_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +bool __thiscall IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); -void __thiscall IVRSettings_003_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError); +void __thiscall IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); -void __thiscall IVRSettings_003_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); +void __thiscall IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); -void __thiscall IVRSettings_003_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +void __thiscall IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); -void test_capi_thunks_IVRChaperone_004(void); +void __thiscall IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); -ChaperoneCalibrationState __thiscall IVRChaperone_004_GetCalibrationState(void *_this); +void __thiscall IVRChaperoneSetup_004_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); -bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); +bool __thiscall IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); -bool __thiscall IVRChaperone_004_GetPlayAreaRect(void *_this, HmdQuad_t * rect); +void __thiscall IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount); -void __thiscall IVRChaperone_004_ReloadInfo(void *_this); +bool __thiscall IVRChaperoneSetup_004_GetLiveWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount); -void __thiscall IVRChaperone_004_SetSceneColor(void *_this, HmdColor_t color); +void test_capi_thunks_IVRChaperoneSetup_005(void); -void __thiscall IVRChaperone_004_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor); +bool __thiscall IVRChaperoneSetup_005_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); -bool __thiscall IVRChaperone_004_AreBoundsVisible(void *_this); +void __thiscall IVRChaperoneSetup_005_RevertWorkingCopy(void *_this); -void __thiscall IVRChaperone_004_ForceBoundsVisible(void *_this, bool bForce); +bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); -void __thiscall IVRChaperone_004_ResetZeroPose(void *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin); +bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); + +bool __thiscall IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); + +bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); + +bool __thiscall IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); + +bool __thiscall IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); + +void __thiscall IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); + +void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); + +void __thiscall IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); + +void __thiscall IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); + +void __thiscall IVRChaperoneSetup_005_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); + +bool __thiscall IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); + +void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount); + +bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount); + +bool __thiscall IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); + +bool __thiscall IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); + +bool __thiscall IVRChaperoneSetup_005_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength); + +bool __thiscall IVRChaperoneSetup_005_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags); void test_capi_thunks_IVRChaperoneSetup_006(void); @@ -253,497 +483,79 @@ void __thiscall IVRChaperoneSetup_006_HideWorkingSetPreview(void *_this); void __thiscall IVRChaperoneSetup_006_RoomSetupStarting(void *_this); -void test_capi_thunks_IVRCompositor_027(void); +void test_capi_thunks_IVRChaperone_002(void); -void __thiscall IVRCompositor_027_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +ChaperoneCalibrationState __thiscall IVRChaperone_002_GetCalibrationState(void *_this); -ETrackingUniverseOrigin __thiscall IVRCompositor_027_GetTrackingSpace(void *_this); +bool __thiscall IVRChaperone_002_GetSoftBoundsInfo(void *_this, ChaperoneSoftBoundsInfo_t * pInfo); -EVRCompositorError __thiscall IVRCompositor_027_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +bool __thiscall IVRChaperone_002_GetHardBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +bool __thiscall IVRChaperone_002_GetSeatedBoundsInfo(void *_this, ChaperoneSeatedBoundsInfo_t * pInfo); -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +void __thiscall IVRChaperone_002_ReloadInfo(void *_this); -EVRCompositorError __thiscall IVRCompositor_027_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +void __thiscall IVRChaperone_002_SetSceneColor(void *_this, HmdColor_t color); -void __thiscall IVRCompositor_027_ClearLastSubmittedFrame(void *_this); +void __thiscall IVRChaperone_002_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors); -void __thiscall IVRCompositor_027_PostPresentHandoff(void *_this); +bool __thiscall IVRChaperone_002_AreBoundsVisible(void *_this); -bool __thiscall IVRCompositor_027_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +void __thiscall IVRChaperone_002_ForceBoundsVisible(void *_this, bool bForce); -uint32_t __thiscall IVRCompositor_027_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +void test_capi_thunks_IVRChaperone_003(void); -float __thiscall IVRCompositor_027_GetFrameTimeRemaining(void *_this); +ChaperoneCalibrationState __thiscall IVRChaperone_003_GetCalibrationState(void *_this); -void __thiscall IVRCompositor_027_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +bool __thiscall IVRChaperone_003_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); -void __thiscall IVRCompositor_027_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +bool __thiscall IVRChaperone_003_GetPlayAreaRect(void *_this, HmdQuad_t * rect); -HmdColor_t *__thiscall IVRCompositor_027_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +void __thiscall IVRChaperone_003_ReloadInfo(void *_this); -void __thiscall IVRCompositor_027_FadeGrid(void *_this, float fSeconds, bool bFadeGridIn); +void __thiscall IVRChaperone_003_SetSceneColor(void *_this, HmdColor_t color); -float __thiscall IVRCompositor_027_GetCurrentGridAlpha(void *_this); +void __thiscall IVRChaperone_003_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor); -EVRCompositorError __thiscall IVRCompositor_027_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +bool __thiscall IVRChaperone_003_AreBoundsVisible(void *_this); -void __thiscall IVRCompositor_027_ClearSkyboxOverride(void *_this); +void __thiscall IVRChaperone_003_ForceBoundsVisible(void *_this, bool bForce); -void __thiscall IVRCompositor_027_CompositorBringToFront(void *_this); +void test_capi_thunks_IVRChaperone_004(void); -void __thiscall IVRCompositor_027_CompositorGoToBack(void *_this); +ChaperoneCalibrationState __thiscall IVRChaperone_004_GetCalibrationState(void *_this); -void __thiscall IVRCompositor_027_CompositorQuit(void *_this); +bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); -bool __thiscall IVRCompositor_027_IsFullscreen(void *_this); +bool __thiscall IVRChaperone_004_GetPlayAreaRect(void *_this, HmdQuad_t * rect); -uint32_t __thiscall IVRCompositor_027_GetCurrentSceneFocusProcess(void *_this); +void __thiscall IVRChaperone_004_ReloadInfo(void *_this); -uint32_t __thiscall IVRCompositor_027_GetLastFrameRenderer(void *_this); +void __thiscall IVRChaperone_004_SetSceneColor(void *_this, HmdColor_t color); -bool __thiscall IVRCompositor_027_CanRenderScene(void *_this); +void __thiscall IVRChaperone_004_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor); -void __thiscall IVRCompositor_027_ShowMirrorWindow(void *_this); +bool __thiscall IVRChaperone_004_AreBoundsVisible(void *_this); -void __thiscall IVRCompositor_027_HideMirrorWindow(void *_this); +void __thiscall IVRChaperone_004_ForceBoundsVisible(void *_this, bool bForce); -bool __thiscall IVRCompositor_027_IsMirrorWindowVisible(void *_this); +void __thiscall IVRChaperone_004_ResetZeroPose(void *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin); -void __thiscall IVRCompositor_027_CompositorDumpImages(void *_this); +void test_capi_thunks_IVRClientCore_002(void); -bool __thiscall IVRCompositor_027_ShouldAppRenderWithLowResources(void *_this); +EVRInitError __thiscall IVRClientCore_002_Init(void *_this, EVRApplicationType eApplicationType); -void __thiscall IVRCompositor_027_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +void __thiscall IVRClientCore_002_Cleanup(void *_this); -void __thiscall IVRCompositor_027_ForceReconnectProcess(void *_this); +EVRInitError __thiscall IVRClientCore_002_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion); -void __thiscall IVRCompositor_027_SuspendRendering(void *_this, bool bSuspend); +void * __thiscall IVRClientCore_002_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError); -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +bool __thiscall IVRClientCore_002_BIsHmdPresent(void *_this); -void __thiscall IVRCompositor_027_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); +const char * __thiscall IVRClientCore_002_GetEnglishStringForHmdError(void *_this, EVRInitError eError); -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_027_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_027_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_027_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void __thiscall IVRCompositor_027_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); - -EVRCompositorError __thiscall IVRCompositor_027_SubmitExplicitTimingData(void *_this); - -bool __thiscall IVRCompositor_027_IsMotionSmoothingEnabled(void *_this); - -bool __thiscall IVRCompositor_027_IsMotionSmoothingSupported(void *_this); - -bool __thiscall IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *_this); - -EVRCompositorError __thiscall IVRCompositor_027_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); - -void __thiscall IVRCompositor_027_ClearStageOverride(void *_this); - -bool __thiscall IVRCompositor_027_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults); - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID); - -EVRCompositorError __thiscall IVRCompositor_027_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); - -void test_capi_thunks_IVRHeadsetView_001(void); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewSize(void *_this, uint32_t nWidth, uint32_t nHeight); - -void __thiscall IVRHeadsetView_001_GetHeadsetViewSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewMode(void *_this, HeadsetViewMode_t eHeadsetViewMode); - -HeadsetViewMode_t __thiscall IVRHeadsetView_001_GetHeadsetViewMode(void *_this); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewCropped(void *_this, bool bCropped); - -bool __thiscall IVRHeadsetView_001_GetHeadsetViewCropped(void *_this); - -float __thiscall IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *_this); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewBlendRange(void *_this, float flStartPct, float flEndPct); - -void __thiscall IVRHeadsetView_001_GetHeadsetViewBlendRange(void *_this, float * pStartPct, float * pEndPct); - -void test_capi_thunks_IVRNotifications_002(void); - -EVRNotificationError __thiscall IVRNotifications_002_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId); - -EVRNotificationError __thiscall IVRNotifications_002_RemoveNotification(void *_this, VRNotificationId notificationId); - -void test_capi_thunks_IVROverlay_027(void); - -EVROverlayError __thiscall IVROverlay_027_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_027_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_027_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_027_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_027_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_027_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_027_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); - -EVROverlayError __thiscall IVROverlay_027_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_027_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -EVROverlayError __thiscall IVROverlay_027_WaitFrameSync(void *_this, uint32_t nTimeoutMs); - -bool __thiscall IVROverlay_027_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_027_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_027_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_027_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); - -EVROverlayError __thiscall IVROverlay_027_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_027_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); - -EVROverlayError __thiscall IVROverlay_027_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_027_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_027_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_027_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_027_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_027_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_027_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_027_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_027_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_027_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_027_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_027_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_027_HideKeyboard(void *_this); - -void __thiscall IVROverlay_027_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_027_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_027_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_027_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVROverlayView_003(void); - -EVROverlayError __thiscall IVROverlayView_003_AcquireOverlayView(void *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize); - -EVROverlayError __thiscall IVROverlayView_003_ReleaseOverlayView(void *_this, VROverlayView_t * pOverlayView); - -void __thiscall IVROverlayView_003_PostOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent); - -bool __thiscall IVROverlayView_003_IsViewingPermitted(void *_this, VROverlayHandle_t ulOverlayHandle); - -void test_capi_thunks_IVRRenderModels_006(void); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); - -void __thiscall IVRRenderModels_006_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); - -void __thiscall IVRRenderModels_006_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture); - -void __thiscall IVRRenderModels_006_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelCount(void *_this); - -uint32_t __thiscall IVRRenderModels_006_GetComponentCount(void *_this, const char * pchRenderModelName); - -uint32_t __thiscall IVRRenderModels_006_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); - -uint64_t __thiscall IVRRenderModels_006_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_006_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); - -bool __thiscall IVRRenderModels_006_GetComponentStateForDevicePath(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_006_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_006_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError); - -const char * __thiscall IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error); - -void test_capi_thunks_IVRExtendedDisplay_001(void); - -void __thiscall IVRExtendedDisplay_001_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRExtendedDisplay_001_GetEyeOutputViewport(void *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRExtendedDisplay_001_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -void test_capi_thunks_IVRTrackedCamera_006(void); - -const char * __thiscall IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); - -void __thiscall IVRTrackedCamera_006_SetCameraTrackingSpace(void *_this, ETrackingUniverseOrigin eUniverse); - -ETrackingUniverseOrigin __thiscall IVRTrackedCamera_006_GetCameraTrackingSpace(void *_this); - -void test_capi_thunks_IVRScreenshots_001(void); - -EVRScreenshotError __thiscall IVRScreenshots_001_RequestScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename); - -EVRScreenshotError __thiscall IVRScreenshots_001_HookScreenshot(void *_this, EVRScreenshotType * pSupportedTypes, int numTypes); - -EVRScreenshotType __thiscall IVRScreenshots_001_GetScreenshotPropertyType(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError); - -uint32_t __thiscall IVRScreenshots_001_GetScreenshotPropertyFilename(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError); - -EVRScreenshotError __thiscall IVRScreenshots_001_UpdateScreenshotProgress(void *_this, ScreenshotHandle_t screenshotHandle, float flProgress); - -EVRScreenshotError __thiscall IVRScreenshots_001_TakeStereoScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename); - -EVRScreenshotError __thiscall IVRScreenshots_001_SubmitScreenshot(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename); - -void test_capi_thunks_IVRResources_001(void); - -uint32_t __thiscall IVRResources_001_LoadSharedResource(void *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen); - -uint32_t __thiscall IVRResources_001_GetResourceFullPath(void *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen); - -void test_capi_thunks_IVRDriverManager_001(void); - -uint32_t __thiscall IVRDriverManager_001_GetDriverCount(void *_this); - -uint32_t __thiscall IVRDriverManager_001_GetDriverName(void *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize); - -DriverHandle_t __thiscall IVRDriverManager_001_GetDriverHandle(void *_this, const char * pchDriverName); - -bool __thiscall IVRDriverManager_001_IsEnabled(void *_this, DriverId_t nDriver); - -void test_capi_thunks_IVRInput_010(void); - -EVRInputError __thiscall IVRInput_010_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_010_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_010_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_010_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_010_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_010_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_010_GetDominantHand(void *_this, ETrackedControllerRole * peDominantHand); - -EVRInputError __thiscall IVRInput_010_SetDominantHand(void *_this, ETrackedControllerRole eDominantHand); - -EVRInputError __thiscall IVRInput_010_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); - -EVRInputError __thiscall IVRInput_010_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); - -EVRInputError __thiscall IVRInput_010_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); - -EVRInputError __thiscall IVRInput_010_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_010_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_010_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); - -EVRInputError __thiscall IVRInput_010_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_010_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_010_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); - -EVRInputError __thiscall IVRInput_010_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_010_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount); - -EVRInputError __thiscall IVRInput_010_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_010_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -EVRInputError __thiscall IVRInput_010_GetComponentStateForBinding(void *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRInput_010_IsUsingLegacyInput(void *_this); - -EVRInputError __thiscall IVRInput_010_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop); - -EVRInputError __thiscall IVRInput_010_GetBindingVariant(void *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize); - -void test_capi_thunks_IVRIOBuffer_002(void); - -EIOBufferError __thiscall IVRIOBuffer_002_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer); - -EIOBufferError __thiscall IVRIOBuffer_002_Close(void *_this, IOBufferHandle_t ulBuffer); - -EIOBufferError __thiscall IVRIOBuffer_002_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead); - -EIOBufferError __thiscall IVRIOBuffer_002_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes); - -PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer); - -bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer); +const char * __thiscall IVRClientCore_002_GetIDForVRInitError(void *_this, EVRInitError eError); void test_capi_thunks_IVRClientCore_003(void); @@ -761,331 +573,1257 @@ const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_thi const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError); -void test_capi_thunks_IVROverlay_026(void); +void test_capi_thunks_IVRCompositor_005(void); -EVROverlayError __thiscall IVROverlay_026_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +uint32_t __thiscall IVRCompositor_005_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); -EVROverlayError __thiscall IVROverlay_026_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +void __thiscall IVRCompositor_005_SetVSync(void *_this, bool bVSync); -EVROverlayError __thiscall IVROverlay_026_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVRCompositor_005_GetVSync(void *_this); -uint32_t __thiscall IVROverlay_026_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +void __thiscall IVRCompositor_005_SetGamma(void *_this, float fGamma); -uint32_t __thiscall IVROverlay_026_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +float __thiscall IVRCompositor_005_GetGamma(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +void __thiscall IVRCompositor_005_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice); -EVROverlayError __thiscall IVROverlay_026_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +void __thiscall IVRCompositor_005_WaitGetPoses(void *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); -const char * __thiscall IVROverlay_026_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +void __thiscall IVRCompositor_005_Submit(void *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds); -EVROverlayError __thiscall IVROverlay_026_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +void __thiscall IVRCompositor_005_ClearLastSubmittedFrame(void *_this); -uint32_t __thiscall IVROverlay_026_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_005_GetOverlayDefaults(void *_this, Compositor_OverlaySettings * pSettings); -EVROverlayError __thiscall IVROverlay_026_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +void __thiscall IVRCompositor_005_SetOverlay(void *_this, void * pTexture, Compositor_OverlaySettings * pSettings); -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +void __thiscall IVRCompositor_005_SetOverlayRaw(void *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings); -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +void __thiscall IVRCompositor_005_SetOverlayFromFile(void *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings); -EVROverlayError __thiscall IVROverlay_026_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +void __thiscall IVRCompositor_005_ClearOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +bool __thiscall IVRCompositor_005_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -EVROverlayError __thiscall IVROverlay_026_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +void __thiscall IVRCompositor_005_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -EVROverlayError __thiscall IVROverlay_026_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +void __thiscall IVRCompositor_005_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +void __thiscall IVRCompositor_005_CompositorBringToFront(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +void __thiscall IVRCompositor_005_CompositorGoToBack(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +void __thiscall IVRCompositor_005_CompositorQuit(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +bool __thiscall IVRCompositor_005_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +bool __thiscall IVRCompositor_005_ComputeOverlayIntersection(void *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace); -EVROverlayError __thiscall IVROverlay_026_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +void __thiscall IVRCompositor_005_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_026_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); +TrackingUniverseOrigin __thiscall IVRCompositor_005_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); +void test_capi_thunks_IVRCompositor_006(void); -EVROverlayError __thiscall IVROverlay_026_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians); +uint32_t __thiscall IVRCompositor_006_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); -EVROverlayError __thiscall IVROverlay_026_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians); +void __thiscall IVRCompositor_006_SetVSync(void *_this, bool bVSync); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +bool __thiscall IVRCompositor_006_GetVSync(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +void __thiscall IVRCompositor_006_SetGamma(void *_this, float fGamma); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +float __thiscall IVRCompositor_006_GetGamma(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +void __thiscall IVRCompositor_006_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +VRCompositorError __thiscall IVRCompositor_006_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +VRCompositorError __thiscall IVRCompositor_006_Submit(void *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +void __thiscall IVRCompositor_006_ClearLastSubmittedFrame(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +bool __thiscall IVRCompositor_006_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +void __thiscall IVRCompositor_006_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +void __thiscall IVRCompositor_006_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +void __thiscall IVRCompositor_006_CompositorBringToFront(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +void __thiscall IVRCompositor_006_CompositorGoToBack(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +void __thiscall IVRCompositor_006_CompositorQuit(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); +bool __thiscall IVRCompositor_006_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); +void __thiscall IVRCompositor_006_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); +TrackingUniverseOrigin __thiscall IVRCompositor_006_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_026_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +uint32_t __thiscall IVRCompositor_006_GetCurrentSceneFocusProcess(void *_this); -EVROverlayError __thiscall IVROverlay_026_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVRCompositor_006_CanRenderScene(void *_this); -bool __thiscall IVROverlay_026_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +void test_capi_thunks_IVRCompositor_007(void); -EVROverlayError __thiscall IVROverlay_026_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +uint32_t __thiscall IVRCompositor_007_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); -EVROverlayError __thiscall IVROverlay_026_WaitFrameSync(void *_this, uint32_t nTimeoutMs); +void __thiscall IVRCompositor_007_SetVSync(void *_this, bool bVSync); -bool __thiscall IVROverlay_026_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +bool __thiscall IVRCompositor_007_GetVSync(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +void __thiscall IVRCompositor_007_SetGamma(void *_this, float fGamma); -EVROverlayError __thiscall IVROverlay_026_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +float __thiscall IVRCompositor_007_GetGamma(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +VRCompositorError __thiscall IVRCompositor_007_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_026_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +VRCompositorError __thiscall IVRCompositor_007_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds); -bool __thiscall IVROverlay_026_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +void __thiscall IVRCompositor_007_ClearLastSubmittedFrame(void *_this); -bool __thiscall IVROverlay_026_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVRCompositor_007_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -EVROverlayError __thiscall IVROverlay_026_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +void __thiscall IVRCompositor_007_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -EVROverlayError __thiscall IVROverlay_026_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); +void __thiscall IVRCompositor_007_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); +void __thiscall IVRCompositor_007_CompositorBringToFront(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); +void __thiscall IVRCompositor_007_CompositorGoToBack(void *_this); -EVROverlayError __thiscall IVROverlay_026_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_007_CompositorQuit(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +bool __thiscall IVRCompositor_007_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_026_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_007_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_026_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); +TrackingUniverseOrigin __thiscall IVRCompositor_007_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_026_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +uint32_t __thiscall IVRCompositor_007_GetCurrentSceneFocusProcess(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +bool __thiscall IVRCompositor_007_CanRenderScene(void *_this); -EVROverlayError __thiscall IVROverlay_026_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +void test_capi_thunks_IVRCompositor_008(void); -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +uint32_t __thiscall IVRCompositor_008_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); -EVROverlayError __thiscall IVROverlay_026_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +void __thiscall IVRCompositor_008_SetVSync(void *_this, bool bVSync); -bool __thiscall IVROverlay_026_IsDashboardVisible(void *_this); +bool __thiscall IVRCompositor_008_GetVSync(void *_this); -bool __thiscall IVROverlay_026_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_008_SetGamma(void *_this, float fGamma); -EVROverlayError __thiscall IVROverlay_026_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +float __thiscall IVRCompositor_008_GetGamma(void *_this); -EVROverlayError __thiscall IVROverlay_026_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +VRCompositorError __thiscall IVRCompositor_008_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -void __thiscall IVROverlay_026_ShowDashboard(void *_this, const char * pchOverlayToShow); +VRCompositorError __thiscall IVRCompositor_008_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags); -TrackedDeviceIndex_t __thiscall IVROverlay_026_GetPrimaryDashboardDevice(void *_this); +void __thiscall IVRCompositor_008_ClearLastSubmittedFrame(void *_this); -EVROverlayError __thiscall IVROverlay_026_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); +bool __thiscall IVRCompositor_008_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -EVROverlayError __thiscall IVROverlay_026_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); +void __thiscall IVRCompositor_008_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -uint32_t __thiscall IVROverlay_026_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +void __thiscall IVRCompositor_008_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -void __thiscall IVROverlay_026_HideKeyboard(void *_this); +void __thiscall IVRCompositor_008_SetSkyboxOverride(void *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom); -void __thiscall IVROverlay_026_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +void __thiscall IVRCompositor_008_ClearSkyboxOverride(void *_this); -void __thiscall IVROverlay_026_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +void __thiscall IVRCompositor_008_CompositorBringToFront(void *_this); -VRMessageOverlayResponse __thiscall IVROverlay_026_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +void __thiscall IVRCompositor_008_CompositorGoToBack(void *_this); -void __thiscall IVROverlay_026_CloseMessageOverlay(void *_this); +void __thiscall IVRCompositor_008_CompositorQuit(void *_this); -void test_capi_thunks_IVROverlay_025(void); +bool __thiscall IVRCompositor_008_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_025_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +void __thiscall IVRCompositor_008_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_025_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +TrackingUniverseOrigin __thiscall IVRCompositor_008_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_025_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +uint32_t __thiscall IVRCompositor_008_GetCurrentSceneFocusProcess(void *_this); -uint32_t __thiscall IVROverlay_025_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +bool __thiscall IVRCompositor_008_CanRenderScene(void *_this); -uint32_t __thiscall IVROverlay_025_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +void __thiscall IVRCompositor_008_ShowMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +void __thiscall IVRCompositor_008_HideMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +void __thiscall IVRCompositor_008_CompositorDumpImages(void *_this); -const char * __thiscall IVROverlay_025_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +float __thiscall IVRCompositor_008_GetFrameTimeRemaining(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +uint32_t __thiscall IVRCompositor_008_GetLastFrameRenderer(void *_this); -uint32_t __thiscall IVROverlay_025_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +void test_capi_thunks_IVRCompositor_009(void); -EVROverlayError __thiscall IVROverlay_025_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +void __thiscall IVRCompositor_009_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +ETrackingUniverseOrigin __thiscall IVRCompositor_009_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +EVRCompositorError __thiscall IVRCompositor_009_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_025_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +EVRCompositorError __thiscall IVRCompositor_009_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_025_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +EVRCompositorError __thiscall IVRCompositor_009_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); -EVROverlayError __thiscall IVROverlay_025_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +void __thiscall IVRCompositor_009_ClearLastSubmittedFrame(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +void __thiscall IVRCompositor_009_PostPresentHandoff(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +bool __thiscall IVRCompositor_009_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +float __thiscall IVRCompositor_009_GetFrameTimeRemaining(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +void __thiscall IVRCompositor_009_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -EVROverlayError __thiscall IVROverlay_025_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +void __thiscall IVRCompositor_009_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -EVROverlayError __thiscall IVROverlay_025_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +EVRCompositorError __thiscall IVRCompositor_009_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); -EVROverlayError __thiscall IVROverlay_025_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +void __thiscall IVRCompositor_009_ClearSkyboxOverride(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); +void __thiscall IVRCompositor_009_CompositorBringToFront(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); +void __thiscall IVRCompositor_009_CompositorGoToBack(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +void __thiscall IVRCompositor_009_CompositorQuit(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +bool __thiscall IVRCompositor_009_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +uint32_t __thiscall IVRCompositor_009_GetCurrentSceneFocusProcess(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +uint32_t __thiscall IVRCompositor_009_GetLastFrameRenderer(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +bool __thiscall IVRCompositor_009_CanRenderScene(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +void __thiscall IVRCompositor_009_ShowMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +void __thiscall IVRCompositor_009_HideMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +bool __thiscall IVRCompositor_009_IsMirrorWindowVisible(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +void __thiscall IVRCompositor_009_CompositorDumpImages(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +void test_capi_thunks_IVRCompositor_010(void); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +void __thiscall IVRCompositor_010_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +ETrackingUniverseOrigin __thiscall IVRCompositor_010_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +EVRCompositorError __thiscall IVRCompositor_010_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); +EVRCompositorError __thiscall IVRCompositor_010_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); +EVRCompositorError __thiscall IVRCompositor_010_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); +void __thiscall IVRCompositor_010_ClearLastSubmittedFrame(void *_this); -EVROverlayError __thiscall IVROverlay_025_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_010_PostPresentHandoff(void *_this); -EVROverlayError __thiscall IVROverlay_025_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVRCompositor_010_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -bool __thiscall IVROverlay_025_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +float __thiscall IVRCompositor_010_GetFrameTimeRemaining(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +void __thiscall IVRCompositor_010_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -bool __thiscall IVROverlay_025_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +void __thiscall IVRCompositor_010_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -EVROverlayError __thiscall IVROverlay_025_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +EVRCompositorError __thiscall IVRCompositor_010_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); -EVROverlayError __thiscall IVROverlay_025_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +void __thiscall IVRCompositor_010_ClearSkyboxOverride(void *_this); -EVROverlayError __thiscall IVROverlay_025_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +void __thiscall IVRCompositor_010_CompositorBringToFront(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +void __thiscall IVRCompositor_010_CompositorGoToBack(void *_this); -bool __thiscall IVROverlay_025_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +void __thiscall IVRCompositor_010_CompositorQuit(void *_this); -bool __thiscall IVROverlay_025_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVRCompositor_010_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +uint32_t __thiscall IVRCompositor_010_GetCurrentSceneFocusProcess(void *_this); -EVROverlayError __thiscall IVROverlay_025_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); +uint32_t __thiscall IVRCompositor_010_GetLastFrameRenderer(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); +bool __thiscall IVRCompositor_010_CanRenderScene(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); +void __thiscall IVRCompositor_010_ShowMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_025_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_010_HideMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +bool __thiscall IVRCompositor_010_IsMirrorWindowVisible(void *_this); -EVROverlayError __thiscall IVROverlay_025_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_010_CompositorDumpImages(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); +void test_capi_thunks_IVRCompositor_011(void); -EVROverlayError __thiscall IVROverlay_025_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +void __thiscall IVRCompositor_011_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +ETrackingUniverseOrigin __thiscall IVRCompositor_011_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_025_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVRCompositorError __thiscall IVRCompositor_011_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +EVRCompositorError __thiscall IVRCompositor_011_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -EVROverlayError __thiscall IVROverlay_025_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +EVRCompositorError __thiscall IVRCompositor_011_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); -bool __thiscall IVROverlay_025_IsDashboardVisible(void *_this); +void __thiscall IVRCompositor_011_ClearLastSubmittedFrame(void *_this); -bool __thiscall IVROverlay_025_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_011_PostPresentHandoff(void *_this); -EVROverlayError __thiscall IVROverlay_025_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +bool __thiscall IVRCompositor_011_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -EVROverlayError __thiscall IVROverlay_025_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +float __thiscall IVRCompositor_011_GetFrameTimeRemaining(void *_this); -void __thiscall IVROverlay_025_ShowDashboard(void *_this, const char * pchOverlayToShow); +void __thiscall IVRCompositor_011_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -TrackedDeviceIndex_t __thiscall IVROverlay_025_GetPrimaryDashboardDevice(void *_this); +void __thiscall IVRCompositor_011_FadeGrid(void *_this, float fSeconds, bool bFadeIn); -EVROverlayError __thiscall IVROverlay_025_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); +EVRCompositorError __thiscall IVRCompositor_011_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); -EVROverlayError __thiscall IVROverlay_025_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); +void __thiscall IVRCompositor_011_ClearSkyboxOverride(void *_this); -uint32_t __thiscall IVROverlay_025_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +void __thiscall IVRCompositor_011_CompositorBringToFront(void *_this); -void __thiscall IVROverlay_025_HideKeyboard(void *_this); +void __thiscall IVRCompositor_011_CompositorGoToBack(void *_this); -void __thiscall IVROverlay_025_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +void __thiscall IVRCompositor_011_CompositorQuit(void *_this); -void __thiscall IVROverlay_025_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +bool __thiscall IVRCompositor_011_IsFullscreen(void *_this); -VRMessageOverlayResponse __thiscall IVROverlay_025_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +uint32_t __thiscall IVRCompositor_011_GetCurrentSceneFocusProcess(void *_this); -void __thiscall IVROverlay_025_CloseMessageOverlay(void *_this); +uint32_t __thiscall IVRCompositor_011_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_011_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_011_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_011_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_011_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_011_CompositorDumpImages(void *_this); + +void test_capi_thunks_IVRCompositor_012(void); + +void __thiscall IVRCompositor_012_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_012_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_012_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_012_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_012_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_012_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_012_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_012_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +float __thiscall IVRCompositor_012_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_012_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +void __thiscall IVRCompositor_012_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +EVRCompositorError __thiscall IVRCompositor_012_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_012_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_012_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_012_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_012_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_012_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_012_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_012_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_012_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_012_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_012_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_012_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_012_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_012_ShouldAppRenderWithLowResources(void *_this); + +void test_capi_thunks_IVRCompositor_013(void); + +void __thiscall IVRCompositor_013_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_013_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_013_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_013_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_013_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_013_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_013_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_013_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +float __thiscall IVRCompositor_013_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_013_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +void __thiscall IVRCompositor_013_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +EVRCompositorError __thiscall IVRCompositor_013_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_013_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_013_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_013_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_013_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_013_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_013_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_013_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_013_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_013_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_013_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_013_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_013_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_013_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_013_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void test_capi_thunks_IVRCompositor_014(void); + +void __thiscall IVRCompositor_014_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_014_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_014_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_014_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_014_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_014_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_014_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_014_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +float __thiscall IVRCompositor_014_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_014_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +void __thiscall IVRCompositor_014_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +EVRCompositorError __thiscall IVRCompositor_014_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_014_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_014_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_014_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_014_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_014_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_014_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_014_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_014_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_014_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_014_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_014_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_014_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_014_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_014_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_014_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_014_SuspendRendering(void *_this, bool bSuspend); + +void test_capi_thunks_IVRCompositor_015(void); + +void __thiscall IVRCompositor_015_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_015_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_015_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_015_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_015_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_015_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_015_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_015_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +float __thiscall IVRCompositor_015_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_015_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_015_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +void __thiscall IVRCompositor_015_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +EVRCompositorError __thiscall IVRCompositor_015_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_015_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_015_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_015_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_015_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_015_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_015_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_015_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_015_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_015_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_015_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_015_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_015_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_015_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_015_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_015_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_015_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_015_RequestScreenshot(void *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName); + +EVRScreenshotType __thiscall IVRCompositor_015_GetCurrentScreenshotType(void *_this); + +EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_015_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_015_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_015_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void test_capi_thunks_IVRCompositor_016(void); + +void __thiscall IVRCompositor_016_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_016_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_016_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_016_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_016_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_016_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_016_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_016_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +float __thiscall IVRCompositor_016_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_016_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_016_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +void __thiscall IVRCompositor_016_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +EVRCompositorError __thiscall IVRCompositor_016_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_016_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_016_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_016_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_016_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_016_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_016_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_016_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_016_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_016_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_016_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_016_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_016_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_016_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_016_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_016_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_016_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_016_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_016_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_016_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void test_capi_thunks_IVRCompositor_017(void); + +void __thiscall IVRCompositor_017_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_017_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_017_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_017_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_017_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_017_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_017_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_017_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_017_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_017_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_017_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_017_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +void __thiscall IVRCompositor_017_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +EVRCompositorError __thiscall IVRCompositor_017_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_017_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_017_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_017_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_017_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_017_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_017_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_017_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_017_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_017_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_017_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_017_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_017_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_017_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_017_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_017_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_017_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_017_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_017_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_017_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void test_capi_thunks_IVRCompositor_018(void); + +void __thiscall IVRCompositor_018_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_018_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_018_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_018_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_018_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_018_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_018_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_018_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_018_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_018_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_018_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_018_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +HmdColor_t *__thiscall IVRCompositor_018_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); + +void __thiscall IVRCompositor_018_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +float __thiscall IVRCompositor_018_GetCurrentGridAlpha(void *_this); + +EVRCompositorError __thiscall IVRCompositor_018_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_018_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_018_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_018_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_018_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_018_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_018_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_018_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_018_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_018_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_018_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_018_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_018_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_018_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_018_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_018_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_018_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_018_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_018_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_018_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void test_capi_thunks_IVRCompositor_019(void); + +void __thiscall IVRCompositor_019_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_019_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_019_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_019_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_019_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_019_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_019_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_019_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_019_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_019_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_019_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_019_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +HmdColor_t *__thiscall IVRCompositor_019_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); + +void __thiscall IVRCompositor_019_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +float __thiscall IVRCompositor_019_GetCurrentGridAlpha(void *_this); + +EVRCompositorError __thiscall IVRCompositor_019_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_019_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_019_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_019_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_019_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_019_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_019_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_019_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_019_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_019_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_019_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_019_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_019_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_019_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_019_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_019_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_019_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_019_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_019_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_019_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +uint32_t __thiscall IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); + +uint32_t __thiscall IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); + +void test_capi_thunks_IVRCompositor_020(void); + +void __thiscall IVRCompositor_020_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_020_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_020_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_020_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_020_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_020_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_020_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_020_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_020_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_020_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_020_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_020_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +HmdColor_t *__thiscall IVRCompositor_020_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); + +void __thiscall IVRCompositor_020_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +float __thiscall IVRCompositor_020_GetCurrentGridAlpha(void *_this); + +EVRCompositorError __thiscall IVRCompositor_020_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_020_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_020_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_020_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_020_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_020_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_020_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_020_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_020_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_020_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_020_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_020_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_020_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_020_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_020_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_020_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_020_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +void __thiscall IVRCompositor_020_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_020_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_020_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_020_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +uint32_t __thiscall IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); + +uint32_t __thiscall IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); + +void test_capi_thunks_IVRCompositor_021(void); + +void __thiscall IVRCompositor_021_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_021_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_021_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_021_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_021_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_021_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_021_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_021_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_021_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_021_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_021_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_021_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +HmdColor_t *__thiscall IVRCompositor_021_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); + +void __thiscall IVRCompositor_021_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +float __thiscall IVRCompositor_021_GetCurrentGridAlpha(void *_this); + +EVRCompositorError __thiscall IVRCompositor_021_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_021_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_021_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_021_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_021_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_021_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_021_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_021_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_021_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_021_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_021_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_021_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_021_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_021_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_021_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_021_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_021_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +void __thiscall IVRCompositor_021_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_021_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_021_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_021_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +uint32_t __thiscall IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); + +uint32_t __thiscall IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); + +void __thiscall IVRCompositor_021_SetExplicitTimingMode(void *_this, bool bExplicitTimingMode); + +EVRCompositorError __thiscall IVRCompositor_021_SubmitExplicitTimingData(void *_this); + +void test_capi_thunks_IVRCompositor_022(void); + +void __thiscall IVRCompositor_022_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_022_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_022_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_022_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_022_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_022_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_022_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_022_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_022_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_022_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_022_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_022_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +HmdColor_t *__thiscall IVRCompositor_022_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); + +void __thiscall IVRCompositor_022_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +float __thiscall IVRCompositor_022_GetCurrentGridAlpha(void *_this); + +EVRCompositorError __thiscall IVRCompositor_022_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_022_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_022_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_022_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_022_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_022_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_022_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_022_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_022_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_022_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_022_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_022_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_022_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_022_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_022_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_022_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_022_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +void __thiscall IVRCompositor_022_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_022_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_022_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_022_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +uint32_t __thiscall IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); + +uint32_t __thiscall IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); + +void __thiscall IVRCompositor_022_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); + +EVRCompositorError __thiscall IVRCompositor_022_SubmitExplicitTimingData(void *_this); + +bool __thiscall IVRCompositor_022_IsMotionSmoothingEnabled(void *_this); + +bool __thiscall IVRCompositor_022_IsMotionSmoothingSupported(void *_this); + +bool __thiscall IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *_this); + +void test_capi_thunks_IVRCompositor_024(void); + +void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); + +ETrackingUniverseOrigin __thiscall IVRCompositor_024_GetTrackingSpace(void *_this); + +EVRCompositorError __thiscall IVRCompositor_024_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_024_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); + +EVRCompositorError __thiscall IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); + +EVRCompositorError __thiscall IVRCompositor_024_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); + +void __thiscall IVRCompositor_024_ClearLastSubmittedFrame(void *_this); + +void __thiscall IVRCompositor_024_PostPresentHandoff(void *_this); + +bool __thiscall IVRCompositor_024_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); + +uint32_t __thiscall IVRCompositor_024_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); + +float __thiscall IVRCompositor_024_GetFrameTimeRemaining(void *_this); + +void __thiscall IVRCompositor_024_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); + +void __thiscall IVRCompositor_024_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); + +HmdColor_t *__thiscall IVRCompositor_024_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); + +void __thiscall IVRCompositor_024_FadeGrid(void *_this, float fSeconds, bool bFadeIn); + +float __thiscall IVRCompositor_024_GetCurrentGridAlpha(void *_this); + +EVRCompositorError __thiscall IVRCompositor_024_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); + +void __thiscall IVRCompositor_024_ClearSkyboxOverride(void *_this); + +void __thiscall IVRCompositor_024_CompositorBringToFront(void *_this); + +void __thiscall IVRCompositor_024_CompositorGoToBack(void *_this); + +void __thiscall IVRCompositor_024_CompositorQuit(void *_this); + +bool __thiscall IVRCompositor_024_IsFullscreen(void *_this); + +uint32_t __thiscall IVRCompositor_024_GetCurrentSceneFocusProcess(void *_this); + +uint32_t __thiscall IVRCompositor_024_GetLastFrameRenderer(void *_this); + +bool __thiscall IVRCompositor_024_CanRenderScene(void *_this); + +void __thiscall IVRCompositor_024_ShowMirrorWindow(void *_this); + +void __thiscall IVRCompositor_024_HideMirrorWindow(void *_this); + +bool __thiscall IVRCompositor_024_IsMirrorWindowVisible(void *_this); + +void __thiscall IVRCompositor_024_CompositorDumpImages(void *_this); + +bool __thiscall IVRCompositor_024_ShouldAppRenderWithLowResources(void *_this); + +void __thiscall IVRCompositor_024_ForceInterleavedReprojectionOn(void *_this, bool bOverride); + +void __thiscall IVRCompositor_024_ForceReconnectProcess(void *_this); + +void __thiscall IVRCompositor_024_SuspendRendering(void *_this, bool bSuspend); + +EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); + +void __thiscall IVRCompositor_024_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); + +EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); + +bool __thiscall IVRCompositor_024_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_024_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +void __thiscall IVRCompositor_024_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); + +uint32_t __thiscall IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); + +uint32_t __thiscall IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); + +void __thiscall IVRCompositor_024_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); + +EVRCompositorError __thiscall IVRCompositor_024_SubmitExplicitTimingData(void *_this); + +bool __thiscall IVRCompositor_024_IsMotionSmoothingEnabled(void *_this); + +bool __thiscall IVRCompositor_024_IsMotionSmoothingSupported(void *_this); + +bool __thiscall IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *_this); + +EVRCompositorError __thiscall IVRCompositor_024_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); + +void __thiscall IVRCompositor_024_ClearStageOverride(void *_this); void test_capi_thunks_IVRCompositor_026(void); @@ -1191,277 +1929,109 @@ EVRCompositorError __thiscall IVRCompositor_026_GetLastPosePredictionIDs(void *_ EVRCompositorError __thiscall IVRCompositor_026_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); -void test_capi_thunks_IVROverlay_024(void); +void test_capi_thunks_IVRCompositor_027(void); -EVROverlayError __thiscall IVROverlay_024_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +void __thiscall IVRCompositor_027_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); -EVROverlayError __thiscall IVROverlay_024_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +ETrackingUniverseOrigin __thiscall IVRCompositor_027_GetTrackingSpace(void *_this); -EVROverlayError __thiscall IVROverlay_024_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRCompositorError __thiscall IVRCompositor_027_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -uint32_t __thiscall IVROverlay_024_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVRCompositorError __thiscall IVRCompositor_027_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); -uint32_t __thiscall IVROverlay_024_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVRCompositorError __thiscall IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); -EVROverlayError __thiscall IVROverlay_024_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +EVRCompositorError __thiscall IVRCompositor_027_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); -EVROverlayError __thiscall IVROverlay_024_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +void __thiscall IVRCompositor_027_ClearLastSubmittedFrame(void *_this); -const char * __thiscall IVROverlay_024_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +void __thiscall IVRCompositor_027_PostPresentHandoff(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +bool __thiscall IVRCompositor_027_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); -uint32_t __thiscall IVROverlay_024_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +uint32_t __thiscall IVRCompositor_027_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); -EVROverlayError __thiscall IVROverlay_024_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +float __thiscall IVRCompositor_027_GetFrameTimeRemaining(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +void __thiscall IVRCompositor_027_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +void __thiscall IVRCompositor_027_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); -EVROverlayError __thiscall IVROverlay_024_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +HmdColor_t *__thiscall IVRCompositor_027_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); -EVROverlayError __thiscall IVROverlay_024_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +void __thiscall IVRCompositor_027_FadeGrid(void *_this, float fSeconds, bool bFadeGridIn); -EVROverlayError __thiscall IVROverlay_024_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +float __thiscall IVRCompositor_027_GetCurrentGridAlpha(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +EVRCompositorError __thiscall IVRCompositor_027_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +void __thiscall IVRCompositor_027_ClearSkyboxOverride(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +void __thiscall IVRCompositor_027_CompositorBringToFront(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +void __thiscall IVRCompositor_027_CompositorGoToBack(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +void __thiscall IVRCompositor_027_CompositorQuit(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +bool __thiscall IVRCompositor_027_IsFullscreen(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +uint32_t __thiscall IVRCompositor_027_GetCurrentSceneFocusProcess(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); +uint32_t __thiscall IVRCompositor_027_GetLastFrameRenderer(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); +bool __thiscall IVRCompositor_027_CanRenderScene(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +void __thiscall IVRCompositor_027_ShowMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +void __thiscall IVRCompositor_027_HideMirrorWindow(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +bool __thiscall IVRCompositor_027_IsMirrorWindowVisible(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +void __thiscall IVRCompositor_027_CompositorDumpImages(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +bool __thiscall IVRCompositor_027_ShouldAppRenderWithLowResources(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +void __thiscall IVRCompositor_027_ForceInterleavedReprojectionOn(void *_this, bool bOverride); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +void __thiscall IVRCompositor_027_ForceReconnectProcess(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +void __thiscall IVRCompositor_027_SuspendRendering(void *_this, bool bSuspend); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +void __thiscall IVRCompositor_027_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +bool __thiscall IVRCompositor_027_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +void __thiscall IVRCompositor_027_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); +void __thiscall IVRCompositor_027_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); +uint32_t __thiscall IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); -EVROverlayError __thiscall IVROverlay_024_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +uint32_t __thiscall IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); -EVROverlayError __thiscall IVROverlay_024_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRCompositor_027_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); -bool __thiscall IVROverlay_024_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRCompositorError __thiscall IVRCompositor_027_SubmitExplicitTimingData(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +bool __thiscall IVRCompositor_027_IsMotionSmoothingEnabled(void *_this); -bool __thiscall IVROverlay_024_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +bool __thiscall IVRCompositor_027_IsMotionSmoothingSupported(void *_this); -EVROverlayError __thiscall IVROverlay_024_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +bool __thiscall IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +EVRCompositorError __thiscall IVRCompositor_027_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); -EVROverlayError __thiscall IVROverlay_024_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +void __thiscall IVRCompositor_027_ClearStageOverride(void *_this); -EVROverlayError __thiscall IVROverlay_024_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +bool __thiscall IVRCompositor_027_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults); -bool __thiscall IVROverlay_024_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +EVRCompositorError __thiscall IVRCompositor_027_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID); -bool __thiscall IVROverlay_024_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_024_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_024_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_024_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_024_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_024_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_024_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_024_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_024_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_024_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_024_HideKeyboard(void *_this); - -void __thiscall IVROverlay_024_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_024_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_024_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_024_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRSystem_021(void); - -void __thiscall IVRSystem_021_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_021_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_021_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_021_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_021_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_021_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_021_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_021_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); - -bool __thiscall IVRSystem_021_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_021_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_021_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_021_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_021_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_021_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_021_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_021_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_021_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_021_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_021_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_021_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_021_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_021_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_021_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_021_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_021_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_021_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_021_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_021_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_021_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_021_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_021_IsInputAvailable(void *_this); - -bool __thiscall IVRSystem_021_IsSteamVRDrawingControllers(void *_this); - -bool __thiscall IVRSystem_021_ShouldApplicationPause(void *_this); - -bool __thiscall IVRSystem_021_ShouldApplicationReduceRenderingWork(void *_this); - -EVRFirmwareError __thiscall IVRSystem_021_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_021_AcknowledgeQuit_Exiting(void *_this); - -uint32_t __thiscall IVRSystem_021_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); - -const char * __thiscall IVRSystem_021_GetRuntimeVersion(void *_this); - -void test_capi_thunks_IVRChaperone_003(void); - -ChaperoneCalibrationState __thiscall IVRChaperone_003_GetCalibrationState(void *_this); - -bool __thiscall IVRChaperone_003_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); - -bool __thiscall IVRChaperone_003_GetPlayAreaRect(void *_this, HmdQuad_t * rect); - -void __thiscall IVRChaperone_003_ReloadInfo(void *_this); - -void __thiscall IVRChaperone_003_SetSceneColor(void *_this, HmdColor_t color); - -void __thiscall IVRChaperone_003_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor); - -bool __thiscall IVRChaperone_003_AreBoundsVisible(void *_this); - -void __thiscall IVRChaperone_003_ForceBoundsVisible(void *_this, bool bForce); +EVRCompositorError __thiscall IVRCompositor_027_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); void test_capi_thunks_IVRControlPanel_006(void); @@ -1521,279 +2091,249 @@ EVRCompositorError __thiscall IVRControlPanel_006_undoc27(void *_this, const cha void __thiscall IVRControlPanel_006_undoc28(void *_this, VROverlayHandle_t a); -void test_capi_thunks_IVRMailbox_001(void); +void test_capi_thunks_IVRDriverManager_001(void); -vrmb_typeb __thiscall IVRMailbox_001_undoc1(void *_this, const char * a, vrmb_typea * b); +uint32_t __thiscall IVRDriverManager_001_GetDriverCount(void *_this); -vrmb_typeb __thiscall IVRMailbox_001_undoc2(void *_this, vrmb_typea a); +uint32_t __thiscall IVRDriverManager_001_GetDriverName(void *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize); -vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const char * b, const char * c); +DriverHandle_t __thiscall IVRDriverManager_001_GetDriverHandle(void *_this, const char * pchDriverName); -vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d); +bool __thiscall IVRDriverManager_001_IsEnabled(void *_this, DriverId_t nDriver); -void test_capi_thunks_IVRCompositor_024(void); +void test_capi_thunks_IVRExtendedDisplay_001(void); -void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +void __thiscall IVRExtendedDisplay_001_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); -ETrackingUniverseOrigin __thiscall IVRCompositor_024_GetTrackingSpace(void *_this); +void __thiscall IVRExtendedDisplay_001_GetEyeOutputViewport(void *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); -EVRCompositorError __thiscall IVRCompositor_024_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +void __thiscall IVRExtendedDisplay_001_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +void test_capi_thunks_IVRHeadsetView_001(void); -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +void __thiscall IVRHeadsetView_001_SetHeadsetViewSize(void *_this, uint32_t nWidth, uint32_t nHeight); -EVRCompositorError __thiscall IVRCompositor_024_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +void __thiscall IVRHeadsetView_001_GetHeadsetViewSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); -void __thiscall IVRCompositor_024_ClearLastSubmittedFrame(void *_this); +void __thiscall IVRHeadsetView_001_SetHeadsetViewMode(void *_this, HeadsetViewMode_t eHeadsetViewMode); -void __thiscall IVRCompositor_024_PostPresentHandoff(void *_this); +HeadsetViewMode_t __thiscall IVRHeadsetView_001_GetHeadsetViewMode(void *_this); -bool __thiscall IVRCompositor_024_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +void __thiscall IVRHeadsetView_001_SetHeadsetViewCropped(void *_this, bool bCropped); -uint32_t __thiscall IVRCompositor_024_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +bool __thiscall IVRHeadsetView_001_GetHeadsetViewCropped(void *_this); -float __thiscall IVRCompositor_024_GetFrameTimeRemaining(void *_this); +float __thiscall IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *_this); -void __thiscall IVRCompositor_024_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +void __thiscall IVRHeadsetView_001_SetHeadsetViewBlendRange(void *_this, float flStartPct, float flEndPct); -void __thiscall IVRCompositor_024_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +void __thiscall IVRHeadsetView_001_GetHeadsetViewBlendRange(void *_this, float * pStartPct, float * pEndPct); -HmdColor_t *__thiscall IVRCompositor_024_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +void test_capi_thunks_IVRIOBuffer_001(void); -void __thiscall IVRCompositor_024_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EIOBufferError __thiscall IVRIOBuffer_001_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer); -float __thiscall IVRCompositor_024_GetCurrentGridAlpha(void *_this); +EIOBufferError __thiscall IVRIOBuffer_001_Close(void *_this, IOBufferHandle_t ulBuffer); -EVRCompositorError __thiscall IVRCompositor_024_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EIOBufferError __thiscall IVRIOBuffer_001_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead); -void __thiscall IVRCompositor_024_ClearSkyboxOverride(void *_this); +EIOBufferError __thiscall IVRIOBuffer_001_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes); -void __thiscall IVRCompositor_024_CompositorBringToFront(void *_this); +PropertyContainerHandle_t __thiscall IVRIOBuffer_001_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer); -void __thiscall IVRCompositor_024_CompositorGoToBack(void *_this); +void test_capi_thunks_IVRIOBuffer_002(void); -void __thiscall IVRCompositor_024_CompositorQuit(void *_this); +EIOBufferError __thiscall IVRIOBuffer_002_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer); -bool __thiscall IVRCompositor_024_IsFullscreen(void *_this); +EIOBufferError __thiscall IVRIOBuffer_002_Close(void *_this, IOBufferHandle_t ulBuffer); -uint32_t __thiscall IVRCompositor_024_GetCurrentSceneFocusProcess(void *_this); +EIOBufferError __thiscall IVRIOBuffer_002_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead); -uint32_t __thiscall IVRCompositor_024_GetLastFrameRenderer(void *_this); +EIOBufferError __thiscall IVRIOBuffer_002_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes); -bool __thiscall IVRCompositor_024_CanRenderScene(void *_this); +PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer); -void __thiscall IVRCompositor_024_ShowMirrorWindow(void *_this); +bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer); -void __thiscall IVRCompositor_024_HideMirrorWindow(void *_this); +void test_capi_thunks_IVRInput_003(void); -bool __thiscall IVRCompositor_024_IsMirrorWindowVisible(void *_this); +EVRInputError __thiscall IVRInput_003_SetActionManifestPath(void *_this, const char * pchActionManifestPath); -void __thiscall IVRCompositor_024_CompositorDumpImages(void *_this); +EVRInputError __thiscall IVRInput_003_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); -bool __thiscall IVRCompositor_024_ShouldAppRenderWithLowResources(void *_this); +EVRInputError __thiscall IVRInput_003_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); -void __thiscall IVRCompositor_024_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +EVRInputError __thiscall IVRInput_003_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); -void __thiscall IVRCompositor_024_ForceReconnectProcess(void *_this); +EVRInputError __thiscall IVRInput_003_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); -void __thiscall IVRCompositor_024_SuspendRendering(void *_this, bool bSuspend); +EVRInputError __thiscall IVRInput_003_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize); -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +EVRInputError __thiscall IVRInput_003_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize); -void __thiscall IVRCompositor_024_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); +EVRInputError __thiscall IVRInput_003_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize); -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +EVRInputError __thiscall IVRInput_003_GetSkeletalActionData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -bool __thiscall IVRCompositor_024_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +EVRInputError __thiscall IVRInput_003_GetSkeletalActionDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); -void __thiscall IVRCompositor_024_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVRInputError __thiscall IVRInput_003_UncompressSkeletalActionData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -void __thiscall IVRCompositor_024_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVRInputError __thiscall IVRInput_003_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude); -uint32_t __thiscall IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); +EVRInputError __thiscall IVRInput_003_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); -uint32_t __thiscall IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); +EVRInputError __thiscall IVRInput_003_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize); -void __thiscall IVRCompositor_024_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); +EVRInputError __thiscall IVRInput_003_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); -EVRCompositorError __thiscall IVRCompositor_024_SubmitExplicitTimingData(void *_this); +EVRInputError __thiscall IVRInput_003_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); -bool __thiscall IVRCompositor_024_IsMotionSmoothingEnabled(void *_this); +EVRInputError __thiscall IVRInput_003_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); -bool __thiscall IVRCompositor_024_IsMotionSmoothingSupported(void *_this); +void test_capi_thunks_IVRInput_004(void); -bool __thiscall IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *_this); +EVRInputError __thiscall IVRInput_004_SetActionManifestPath(void *_this, const char * pchActionManifestPath); -EVRCompositorError __thiscall IVRCompositor_024_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); +EVRInputError __thiscall IVRInput_004_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); -void __thiscall IVRCompositor_024_ClearStageOverride(void *_this); +EVRInputError __thiscall IVRInput_004_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); -void test_capi_thunks_IVROverlay_022(void); +EVRInputError __thiscall IVRInput_004_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); -EVROverlayError __thiscall IVROverlay_022_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +EVRInputError __thiscall IVRInput_004_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); -EVROverlayError __thiscall IVROverlay_022_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +EVRInputError __thiscall IVRInput_004_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_004_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -uint32_t __thiscall IVROverlay_022_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVRInputError __thiscall IVRInput_004_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -uint32_t __thiscall IVROverlay_022_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVRInputError __thiscall IVRInput_004_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +EVRInputError __thiscall IVRInput_004_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +EVRInputError __thiscall IVRInput_004_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice); -const char * __thiscall IVROverlay_022_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +EVRInputError __thiscall IVRInput_004_DecompressSkeletalBoneData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +EVRInputError __thiscall IVRInput_004_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); -uint32_t __thiscall IVROverlay_022_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_004_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +EVRInputError __thiscall IVRInput_004_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize); -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +EVRInputError __thiscall IVRInput_004_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +EVRInputError __thiscall IVRInput_004_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); -EVROverlayError __thiscall IVROverlay_022_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +EVRInputError __thiscall IVRInput_004_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); -EVROverlayError __thiscall IVROverlay_022_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +void test_capi_thunks_IVRInput_005(void); -EVROverlayError __thiscall IVROverlay_022_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +EVRInputError __thiscall IVRInput_005_SetActionManifestPath(void *_this, const char * pchActionManifestPath); -EVROverlayError __thiscall IVROverlay_022_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +EVRInputError __thiscall IVRInput_005_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +EVRInputError __thiscall IVRInput_005_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +EVRInputError __thiscall IVRInput_005_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); -EVROverlayError __thiscall IVROverlay_022_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +EVRInputError __thiscall IVRInput_005_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); -EVROverlayError __thiscall IVROverlay_022_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +EVRInputError __thiscall IVRInput_005_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +EVRInputError __thiscall IVRInput_005_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +EVRInputError __thiscall IVRInput_005_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); +EVRInputError __thiscall IVRInput_005_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); -EVROverlayError __thiscall IVROverlay_022_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); +EVRInputError __thiscall IVRInput_005_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +EVRInputError __thiscall IVRInput_005_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +EVRInputError __thiscall IVRInput_005_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVRInputError __thiscall IVRInput_005_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVRInputError __thiscall IVRInput_005_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); -uint32_t __thiscall IVROverlay_022_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); +EVRInputError __thiscall IVRInput_005_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); +EVRInputError __thiscall IVRInput_005_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +EVRInputError __thiscall IVRInput_005_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVRInputError __thiscall IVRInput_005_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVRInputError __thiscall IVRInput_005_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVRInputError __thiscall IVRInput_005_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVRInputError __thiscall IVRInput_005_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +EVRInputError __thiscall IVRInput_005_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +EVRInputError __thiscall IVRInput_005_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +EVRInputError __thiscall IVRInput_005_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +bool __thiscall IVRInput_005_IsUsingLegacyInput(void *_this); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); +void test_capi_thunks_IVRInput_006(void); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); +EVRInputError __thiscall IVRInput_006_SetActionManifestPath(void *_this, const char * pchActionManifestPath); -EVROverlayError __thiscall IVROverlay_022_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); -EVROverlayError __thiscall IVROverlay_022_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); -bool __thiscall IVROverlay_022_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); -EVROverlayError __thiscall IVROverlay_022_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); -bool __thiscall IVROverlay_022_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); -bool __thiscall IVROverlay_022_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); -bool __thiscall IVROverlay_022_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); +EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); -EVROverlayError __thiscall IVROverlay_022_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); +EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); -EVROverlayError __thiscall IVROverlay_022_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); +EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); +EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); +EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); -EVROverlayError __thiscall IVROverlay_022_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); -EVROverlayError __thiscall IVROverlay_022_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); -EVROverlayError __thiscall IVROverlay_022_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); +EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); -EVROverlayError __thiscall IVROverlay_022_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); -EVROverlayError __thiscall IVROverlay_022_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_022_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_022_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_022_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_022_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_022_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_022_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_022_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_022_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_022_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_022_HideKeyboard(void *_this); - -void __thiscall IVROverlay_022_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_022_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_022_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_022_CloseMessageOverlay(void *_this); +bool __thiscall IVRInput_006_IsUsingLegacyInput(void *_this); void test_capi_thunks_IVRInput_007(void); @@ -1853,1473 +2393,1675 @@ bool __thiscall IVRInput_007_IsUsingLegacyInput(void *_this); EVRInputError __thiscall IVRInput_007_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop); -void test_capi_thunks_IVRSettings_002(void); +void test_capi_thunks_IVRInput_010(void); -const char * __thiscall IVRSettings_002_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); +EVRInputError __thiscall IVRInput_010_SetActionManifestPath(void *_this, const char * pchActionManifestPath); -bool __thiscall IVRSettings_002_Sync(void *_this, bool bForce, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); -void __thiscall IVRSettings_002_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); -void __thiscall IVRSettings_002_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); -void __thiscall IVRSettings_002_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); -void __thiscall IVRSettings_002_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -bool __thiscall IVRSettings_002_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -int32_t __thiscall IVRSettings_002_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -float __thiscall IVRSettings_002_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); -void __thiscall IVRSettings_002_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); -void __thiscall IVRSettings_002_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_GetDominantHand(void *_this, ETrackedControllerRole * peDominantHand); -void __thiscall IVRSettings_002_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +EVRInputError __thiscall IVRInput_010_SetDominantHand(void *_this, ETrackedControllerRole eDominantHand); -void test_capi_thunks_IVRCompositor_022(void); +EVRInputError __thiscall IVRInput_010_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); -void __thiscall IVRCompositor_022_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVRInputError __thiscall IVRInput_010_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); -ETrackingUniverseOrigin __thiscall IVRCompositor_022_GetTrackingSpace(void *_this); +EVRInputError __thiscall IVRInput_010_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); -EVRCompositorError __thiscall IVRCompositor_022_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVRInputError __thiscall IVRInput_010_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVRInputError __thiscall IVRInput_010_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVRInputError __thiscall IVRInput_010_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -EVRCompositorError __thiscall IVRCompositor_022_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVRInputError __thiscall IVRInput_010_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); -void __thiscall IVRCompositor_022_ClearLastSubmittedFrame(void *_this); +EVRInputError __thiscall IVRInput_010_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); -void __thiscall IVRCompositor_022_PostPresentHandoff(void *_this); +EVRInputError __thiscall IVRInput_010_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); -bool __thiscall IVRCompositor_022_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVRInputError __thiscall IVRInput_010_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); -uint32_t __thiscall IVRCompositor_022_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +EVRInputError __thiscall IVRInput_010_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); -float __thiscall IVRCompositor_022_GetFrameTimeRemaining(void *_this); +EVRInputError __thiscall IVRInput_010_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); -void __thiscall IVRCompositor_022_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +EVRInputError __thiscall IVRInput_010_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); -void __thiscall IVRCompositor_022_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVRInputError __thiscall IVRInput_010_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount); -HmdColor_t *__thiscall IVRCompositor_022_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +EVRInputError __thiscall IVRInput_010_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); -void __thiscall IVRCompositor_022_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVRInputError __thiscall IVRInput_010_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); -float __thiscall IVRCompositor_022_GetCurrentGridAlpha(void *_this); +EVRInputError __thiscall IVRInput_010_GetComponentStateForBinding(void *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState); -EVRCompositorError __thiscall IVRCompositor_022_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +bool __thiscall IVRInput_010_IsUsingLegacyInput(void *_this); -void __thiscall IVRCompositor_022_ClearSkyboxOverride(void *_this); +EVRInputError __thiscall IVRInput_010_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop); -void __thiscall IVRCompositor_022_CompositorBringToFront(void *_this); +EVRInputError __thiscall IVRInput_010_GetBindingVariant(void *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize); -void __thiscall IVRCompositor_022_CompositorGoToBack(void *_this); +void test_capi_thunks_IVRMailbox_001(void); -void __thiscall IVRCompositor_022_CompositorQuit(void *_this); +vrmb_typeb __thiscall IVRMailbox_001_undoc1(void *_this, const char * a, vrmb_typea * b); -bool __thiscall IVRCompositor_022_IsFullscreen(void *_this); +vrmb_typeb __thiscall IVRMailbox_001_undoc2(void *_this, vrmb_typea a); -uint32_t __thiscall IVRCompositor_022_GetCurrentSceneFocusProcess(void *_this); +vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const char * b, const char * c); -uint32_t __thiscall IVRCompositor_022_GetLastFrameRenderer(void *_this); +vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d); -bool __thiscall IVRCompositor_022_CanRenderScene(void *_this); +void test_capi_thunks_IVRNotifications_001(void); -void __thiscall IVRCompositor_022_ShowMirrorWindow(void *_this); +uint32_t __thiscall IVRNotifications_001_GetErrorString(void *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize); -void __thiscall IVRCompositor_022_HideMirrorWindow(void *_this); +NotificationError_t __thiscall IVRNotifications_001_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId); -bool __thiscall IVRCompositor_022_IsMirrorWindowVisible(void *_this); +NotificationError_t __thiscall IVRNotifications_001_DismissNotification(void *_this, VRNotificationId notificationId); -void __thiscall IVRCompositor_022_CompositorDumpImages(void *_this); +void test_capi_thunks_IVRNotifications_002(void); -bool __thiscall IVRCompositor_022_ShouldAppRenderWithLowResources(void *_this); +EVRNotificationError __thiscall IVRNotifications_002_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId); -void __thiscall IVRCompositor_022_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +EVRNotificationError __thiscall IVRNotifications_002_RemoveNotification(void *_this, VRNotificationId notificationId); -void __thiscall IVRCompositor_022_ForceReconnectProcess(void *_this); +void test_capi_thunks_IVROverlayView_003(void); -void __thiscall IVRCompositor_022_SuspendRendering(void *_this, bool bSuspend); +EVROverlayError __thiscall IVROverlayView_003_AcquireOverlayView(void *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize); -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlayView_003_ReleaseOverlayView(void *_this, VROverlayView_t * pOverlayView); -void __thiscall IVRCompositor_022_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); +void __thiscall IVROverlayView_003_PostOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent); -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +bool __thiscall IVROverlayView_003_IsViewingPermitted(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRCompositor_022_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +void test_capi_thunks_IVROverlay_001(void); -void __thiscall IVRCompositor_022_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +VROverlayError __thiscall IVROverlay_001_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVRCompositor_022_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +VROverlayError __thiscall IVROverlay_001_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -uint32_t __thiscall IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); +VROverlayError __thiscall IVROverlay_001_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); +VROverlayError __thiscall IVROverlay_001_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_022_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); +VROverlayHandle_t __thiscall IVROverlay_001_GetHighQualityOverlay(void *_this); -EVRCompositorError __thiscall IVRCompositor_022_SubmitExplicitTimingData(void *_this); +const char * __thiscall IVROverlay_001_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); -bool __thiscall IVRCompositor_022_IsMotionSmoothingEnabled(void *_this); +VROverlayError __thiscall IVROverlay_001_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -bool __thiscall IVRCompositor_022_IsMotionSmoothingSupported(void *_this); +VROverlayError __thiscall IVROverlay_001_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -bool __thiscall IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *_this); +VROverlayError __thiscall IVROverlay_001_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -void test_capi_thunks_IVROverlay_021(void); +VROverlayError __thiscall IVROverlay_001_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVROverlayError __thiscall IVROverlay_021_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +VROverlayError __thiscall IVROverlay_001_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); -EVROverlayError __thiscall IVROverlay_021_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +VROverlayError __thiscall IVROverlay_001_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); -EVROverlayError __thiscall IVROverlay_021_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_001_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -uint32_t __thiscall IVROverlay_021_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +VROverlayError __thiscall IVROverlay_001_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -uint32_t __thiscall IVROverlay_021_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +VROverlayError __thiscall IVROverlay_001_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_021_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +VROverlayError __thiscall IVROverlay_001_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_021_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +VROverlayError __thiscall IVROverlay_001_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -const char * __thiscall IVROverlay_021_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +VROverlayError __thiscall IVROverlay_001_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +VROverlayError __thiscall IVROverlay_001_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -uint32_t __thiscall IVROverlay_021_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +VROverlayError __thiscall IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +VROverlayError __thiscall IVROverlay_001_GetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility); -EVROverlayError __thiscall IVROverlay_021_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +VROverlayError __thiscall IVROverlay_001_SetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility); -EVROverlayError __thiscall IVROverlay_021_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +VROverlayError __thiscall IVROverlay_001_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +VROverlayError __thiscall IVROverlay_001_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +bool __thiscall IVROverlay_001_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +bool __thiscall IVROverlay_001_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +VROverlayError __thiscall IVROverlay_001_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_021_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +VROverlayError __thiscall IVROverlay_001_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVROverlayError __thiscall IVROverlay_021_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +VROverlayError __thiscall IVROverlay_001_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_021_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +VROverlayError __thiscall IVROverlay_001_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_021_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +bool __thiscall IVROverlay_001_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_021_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); +bool __thiscall IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -EVROverlayError __thiscall IVROverlay_021_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); +VROverlayError __thiscall IVROverlay_001_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +VROverlayError __thiscall IVROverlay_001_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +VROverlayError __thiscall IVROverlay_001_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +bool __thiscall IVROverlay_001_IsSystemOverlayVisible(void *_this); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +bool __thiscall IVROverlay_001_IsActiveSystemOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVROverlay_021_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); +VROverlayError __thiscall IVROverlay_001_SetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); +VROverlayError __thiscall IVROverlay_001_GetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +void test_capi_thunks_IVROverlay_002(void); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +VROverlayError __thiscall IVROverlay_002_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +VROverlayError __thiscall IVROverlay_002_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +VROverlayError __thiscall IVROverlay_002_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +VROverlayError __thiscall IVROverlay_002_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +VROverlayHandle_t __thiscall IVROverlay_002_GetHighQualityOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +const char * __thiscall IVROverlay_002_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +VROverlayError __thiscall IVROverlay_002_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +VROverlayError __thiscall IVROverlay_002_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVROverlayError __thiscall IVROverlay_021_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_002_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_021_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_002_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -bool __thiscall IVROverlay_021_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_002_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_021_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +VROverlayError __thiscall IVROverlay_002_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -bool __thiscall IVROverlay_021_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +VROverlayError __thiscall IVROverlay_002_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); -EVROverlayError __thiscall IVROverlay_021_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +VROverlayError __thiscall IVROverlay_002_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); -EVROverlayError __thiscall IVROverlay_021_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +VROverlayError __thiscall IVROverlay_002_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_021_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +VROverlayError __thiscall IVROverlay_002_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_021_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +VROverlayError __thiscall IVROverlay_002_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVROverlay_021_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +VROverlayError __thiscall IVROverlay_002_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVROverlay_021_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_002_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVROverlayError __thiscall IVROverlay_021_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); +VROverlayError __thiscall IVROverlay_002_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); +VROverlayError __thiscall IVROverlay_002_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +VROverlayError __thiscall IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_021_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +VROverlayError __thiscall IVROverlay_002_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +VROverlayError __thiscall IVROverlay_002_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +bool __thiscall IVROverlay_002_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +bool __thiscall IVROverlay_002_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +VROverlayError __thiscall IVROverlay_002_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_021_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +VROverlayError __thiscall IVROverlay_002_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -bool __thiscall IVROverlay_021_IsDashboardVisible(void *_this); +VROverlayError __thiscall IVROverlay_002_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVROverlay_021_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_002_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_021_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +bool __thiscall IVROverlay_002_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_021_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +bool __thiscall IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -void __thiscall IVROverlay_021_ShowDashboard(void *_this, const char * pchOverlayToShow); +VROverlayError __thiscall IVROverlay_002_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); -TrackedDeviceIndex_t __thiscall IVROverlay_021_GetPrimaryDashboardDevice(void *_this); +VROverlayError __thiscall IVROverlay_002_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_021_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +VROverlayError __thiscall IVROverlay_002_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVROverlayError __thiscall IVROverlay_021_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +VROverlayError __thiscall IVROverlay_002_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -uint32_t __thiscall IVROverlay_021_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +VROverlayError __thiscall IVROverlay_002_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -void __thiscall IVROverlay_021_HideKeyboard(void *_this); +bool __thiscall IVROverlay_002_IsDashboardVisible(void *_this); -void __thiscall IVROverlay_021_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +bool __thiscall IVROverlay_002_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVROverlay_021_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +VROverlayError __thiscall IVROverlay_002_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_021_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +VROverlayError __thiscall IVROverlay_002_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +void test_capi_thunks_IVROverlay_003(void); -VRMessageOverlayResponse __thiscall IVROverlay_021_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +VROverlayError __thiscall IVROverlay_003_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVROverlay_021_CloseMessageOverlay(void *_this); +VROverlayError __thiscall IVROverlay_003_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -void test_capi_thunks_IVRSystem_020(void); +VROverlayError __thiscall IVROverlay_003_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_020_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +VROverlayError __thiscall IVROverlay_003_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -HmdMatrix44_t *__thiscall IVRSystem_020_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); +VROverlayHandle_t __thiscall IVROverlay_003_GetHighQualityOverlay(void *_this); -void __thiscall IVRSystem_020_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +uint32_t __thiscall IVROverlay_003_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); -bool __thiscall IVRSystem_020_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +uint32_t __thiscall IVROverlay_003_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); -HmdMatrix34_t *__thiscall IVRSystem_020_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +VROverlayError __thiscall IVROverlay_003_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -bool __thiscall IVRSystem_020_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +const char * __thiscall IVROverlay_003_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); -int32_t __thiscall IVRSystem_020_GetD3D9AdapterIndex(void *_this); +VROverlayError __thiscall IVROverlay_003_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -void __thiscall IVRSystem_020_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +VROverlayError __thiscall IVROverlay_003_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -void __thiscall IVRSystem_020_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); +VROverlayError __thiscall IVROverlay_003_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -bool __thiscall IVRSystem_020_IsDisplayOnDesktop(void *_this); +VROverlayError __thiscall IVROverlay_003_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -bool __thiscall IVRSystem_020_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +VROverlayError __thiscall IVROverlay_003_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -void __thiscall IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +VROverlayError __thiscall IVROverlay_003_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -void __thiscall IVRSystem_020_ResetSeatedZeroPose(void *_this); +VROverlayError __thiscall IVROverlay_003_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); -HmdMatrix34_t *__thiscall IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +VROverlayError __thiscall IVROverlay_003_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); -HmdMatrix34_t *__thiscall IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +VROverlayError __thiscall IVROverlay_003_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -uint32_t __thiscall IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +VROverlayError __thiscall IVROverlay_003_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EDeviceActivityLevel __thiscall IVRSystem_020_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +VROverlayError __thiscall IVROverlay_003_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -void __thiscall IVRSystem_020_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +VROverlayError __thiscall IVROverlay_003_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -TrackedDeviceIndex_t __thiscall IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +VROverlayError __thiscall IVROverlay_003_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -ETrackedControllerRole __thiscall IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +VROverlayError __thiscall IVROverlay_003_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -ETrackedDeviceClass __thiscall IVRSystem_020_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +VROverlayError __thiscall IVROverlay_003_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRSystem_020_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +VROverlayError __thiscall IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -bool __thiscall IVRSystem_020_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +VROverlayError __thiscall IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -float __thiscall IVRSystem_020_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +VROverlayError __thiscall IVROverlay_003_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -int32_t __thiscall IVRSystem_020_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +VROverlayError __thiscall IVROverlay_003_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint64_t __thiscall IVRSystem_020_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +bool __thiscall IVROverlay_003_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -HmdMatrix34_t *__thiscall IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +bool __thiscall IVROverlay_003_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -uint32_t __thiscall IVRSystem_020_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); +VROverlayError __thiscall IVROverlay_003_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -uint32_t __thiscall IVRSystem_020_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +VROverlayError __thiscall IVROverlay_003_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -const char * __thiscall IVRSystem_020_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +VROverlayError __thiscall IVROverlay_003_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRSystem_020_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +VROverlayError __thiscall IVROverlay_003_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRSystem_020_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +bool __thiscall IVROverlay_003_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -const char * __thiscall IVRSystem_020_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +bool __thiscall IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -HiddenAreaMesh_t *__thiscall IVRSystem_020_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +VROverlayError __thiscall IVROverlay_003_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); -bool __thiscall IVRSystem_020_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +VROverlayError __thiscall IVROverlay_003_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_020_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +VROverlayError __thiscall IVROverlay_003_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -void __thiscall IVRSystem_020_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +VROverlayError __thiscall IVROverlay_003_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -const char * __thiscall IVRSystem_020_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +VROverlayError __thiscall IVROverlay_003_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -const char * __thiscall IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +bool __thiscall IVROverlay_003_IsDashboardVisible(void *_this); -bool __thiscall IVRSystem_020_IsInputAvailable(void *_this); +bool __thiscall IVROverlay_003_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_020_IsSteamVRDrawingControllers(void *_this); +VROverlayError __thiscall IVROverlay_003_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -bool __thiscall IVRSystem_020_ShouldApplicationPause(void *_this); +VROverlayError __thiscall IVROverlay_003_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -bool __thiscall IVRSystem_020_ShouldApplicationReduceRenderingWork(void *_this); +void __thiscall IVROverlay_003_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVRFirmwareError __thiscall IVRSystem_020_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +void test_capi_thunks_IVROverlay_004(void); -void __thiscall IVRSystem_020_AcknowledgeQuit_Exiting(void *_this); +VROverlayError __thiscall IVROverlay_004_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVRSystem_020_AcknowledgeQuit_UserPrompt(void *_this); +VROverlayError __thiscall IVROverlay_004_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -uint32_t __thiscall IVRSystem_020_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); +VROverlayError __thiscall IVROverlay_004_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -const char * __thiscall IVRSystem_020_GetRuntimeVersion(void *_this); +VROverlayError __thiscall IVROverlay_004_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVRApplications_006(void); +VROverlayHandle_t __thiscall IVROverlay_004_GetHighQualityOverlay(void *_this); -EVRApplicationError __thiscall IVRApplications_006_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); +uint32_t __thiscall IVROverlay_004_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); -EVRApplicationError __thiscall IVRApplications_006_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); +uint32_t __thiscall IVROverlay_004_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); -bool __thiscall IVRApplications_006_IsApplicationInstalled(void *_this, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -uint32_t __thiscall IVRApplications_006_GetApplicationCount(void *_this); +const char * __thiscall IVROverlay_004_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +VROverlayError __thiscall IVROverlay_004_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +VROverlayError __thiscall IVROverlay_004_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVRApplicationError __thiscall IVRApplications_006_LaunchApplication(void *_this, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVRApplicationError __thiscall IVRApplications_006_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); +VROverlayError __thiscall IVROverlay_004_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVRApplicationError __thiscall IVRApplications_006_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs); +VROverlayError __thiscall IVROverlay_004_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVRApplicationError __thiscall IVRApplications_006_LaunchDashboardOverlay(void *_this, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -bool __thiscall IVRApplications_006_CancelApplicationLaunch(void *_this, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); -EVRApplicationError __thiscall IVRApplications_006_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); -uint32_t __thiscall IVRApplications_006_GetApplicationProcessId(void *_this, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -const char * __thiscall IVRApplications_006_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); +VROverlayError __thiscall IVROverlay_004_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -uint32_t __thiscall IVRApplications_006_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); +VROverlayError __thiscall IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -bool __thiscall IVRApplications_006_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +VROverlayError __thiscall IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -uint64_t __thiscall IVRApplications_006_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +VROverlayError __thiscall IVROverlay_004_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRApplicationError __thiscall IVRApplications_006_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); +VROverlayError __thiscall IVROverlay_004_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVRApplications_006_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); +VROverlayError __thiscall IVROverlay_004_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVRApplicationError __thiscall IVRApplications_006_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType); +VROverlayError __thiscall IVROverlay_004_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRApplications_006_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +VROverlayError __thiscall IVROverlay_004_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRApplications_006_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer); +VROverlayError __thiscall IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -uint32_t __thiscall IVRApplications_006_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer); +VROverlayError __thiscall IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -uint32_t __thiscall IVRApplications_006_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs); +VROverlayError __thiscall IVROverlay_004_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRApplicationError __thiscall IVRApplications_006_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +VROverlayError __thiscall IVROverlay_004_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRApplicationTransitionState __thiscall IVRApplications_006_GetTransitionState(void *_this); +bool __thiscall IVROverlay_004_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRApplicationError __thiscall IVRApplications_006_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); +bool __thiscall IVROverlay_004_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -const char * __thiscall IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); +VROverlayError __thiscall IVROverlay_004_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -bool __thiscall IVRApplications_006_IsQuitUserPromptRequested(void *_this); +VROverlayError __thiscall IVROverlay_004_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVRApplicationError __thiscall IVRApplications_006_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); +VROverlayError __thiscall IVROverlay_004_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -uint32_t __thiscall IVRApplications_006_GetCurrentSceneProcessId(void *_this); +VROverlayError __thiscall IVROverlay_004_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void test_capi_thunks_IVROverlay_020(void); +bool __thiscall IVROverlay_004_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_020_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +bool __thiscall IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -EVROverlayError __thiscall IVROverlay_020_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +VROverlayError __thiscall IVROverlay_004_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); -EVROverlayError __thiscall IVROverlay_020_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_004_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVROverlay_020_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +VROverlayError __thiscall IVROverlay_004_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -uint32_t __thiscall IVROverlay_020_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +VROverlayError __thiscall IVROverlay_004_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_020_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +VROverlayError __thiscall IVROverlay_004_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVROverlayError __thiscall IVROverlay_020_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +bool __thiscall IVROverlay_004_IsDashboardVisible(void *_this); -const char * __thiscall IVROverlay_020_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +bool __thiscall IVROverlay_004_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +VROverlayError __thiscall IVROverlay_004_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -uint32_t __thiscall IVROverlay_020_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_004_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_020_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +void __thiscall IVROverlay_004_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +void test_capi_thunks_IVROverlay_005(void); -EVROverlayError __thiscall IVROverlay_020_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +VROverlayError __thiscall IVROverlay_005_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +VROverlayError __thiscall IVROverlay_005_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +VROverlayError __thiscall IVROverlay_005_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +VROverlayError __thiscall IVROverlay_005_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +VROverlayHandle_t __thiscall IVROverlay_005_GetHighQualityOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +uint32_t __thiscall IVROverlay_005_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); -EVROverlayError __thiscall IVROverlay_020_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +uint32_t __thiscall IVROverlay_005_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); -EVROverlayError __thiscall IVROverlay_020_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +VROverlayError __thiscall IVROverlay_005_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVROverlayError __thiscall IVROverlay_020_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +const char * __thiscall IVROverlay_005_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); -EVROverlayError __thiscall IVROverlay_020_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +VROverlayError __thiscall IVROverlay_005_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVROverlayError __thiscall IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +VROverlayError __thiscall IVROverlay_005_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVROverlayError __thiscall IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +VROverlayError __thiscall IVROverlay_005_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +VROverlayError __thiscall IVROverlay_005_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +VROverlayError __thiscall IVROverlay_005_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +VROverlayError __thiscall IVROverlay_005_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +VROverlayError __thiscall IVROverlay_005_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); -uint32_t __thiscall IVROverlay_020_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); +VROverlayError __thiscall IVROverlay_005_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); +VROverlayError __thiscall IVROverlay_005_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +VROverlayError __thiscall IVROverlay_005_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +VROverlayError __thiscall IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +VROverlayError __thiscall IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +VROverlayError __thiscall IVROverlay_005_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +VROverlayError __thiscall IVROverlay_005_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +VROverlayError __thiscall IVROverlay_005_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +VROverlayError __thiscall IVROverlay_005_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +VROverlayError __thiscall IVROverlay_005_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +VROverlayError __thiscall IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_020_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_020_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_005_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_020_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayError __thiscall IVROverlay_005_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +bool __thiscall IVROverlay_005_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_020_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +bool __thiscall IVROverlay_005_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -EVROverlayError __thiscall IVROverlay_020_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +VROverlayError __thiscall IVROverlay_005_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_020_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +VROverlayError __thiscall IVROverlay_005_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVROverlayError __thiscall IVROverlay_020_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +VROverlayError __thiscall IVROverlay_005_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_020_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +VROverlayError __thiscall IVROverlay_005_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVROverlay_020_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +bool __thiscall IVROverlay_005_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -bool __thiscall IVROverlay_020_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -VROverlayHandle_t __thiscall IVROverlay_020_GetGamepadFocusOverlay(void *_this); +bool __thiscall IVROverlay_005_IsFocusOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +VROverlayError __thiscall IVROverlay_005_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); -EVROverlayError __thiscall IVROverlay_020_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +VROverlayError __thiscall IVROverlay_005_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +VROverlayError __thiscall IVROverlay_005_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVROverlayError __thiscall IVROverlay_020_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); +VROverlayError __thiscall IVROverlay_005_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_020_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); +VROverlayError __thiscall IVROverlay_005_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +bool __thiscall IVROverlay_005_IsDashboardVisible(void *_this); -EVROverlayError __thiscall IVROverlay_020_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVROverlay_005_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +VROverlayError __thiscall IVROverlay_005_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_020_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +VROverlayError __thiscall IVROverlay_005_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +void __thiscall IVROverlay_005_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVROverlayError __thiscall IVROverlay_020_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +VROverlayError __thiscall IVROverlay_005_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode); -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +uint32_t __thiscall IVROverlay_005_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVROverlayError __thiscall IVROverlay_020_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +void __thiscall IVROverlay_005_HideKeyboard(void *_this); -bool __thiscall IVROverlay_020_IsDashboardVisible(void *_this); +void test_capi_thunks_IVROverlay_007(void); -bool __thiscall IVROverlay_020_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_007_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +EVROverlayError __thiscall IVROverlay_007_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_020_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +EVROverlayError __thiscall IVROverlay_007_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVROverlay_020_ShowDashboard(void *_this, const char * pchOverlayToShow); +EVROverlayError __thiscall IVROverlay_007_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -TrackedDeviceIndex_t __thiscall IVROverlay_020_GetPrimaryDashboardDevice(void *_this); +VROverlayHandle_t __thiscall IVROverlay_007_GetHighQualityOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_020_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +uint32_t __thiscall IVROverlay_007_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_020_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +uint32_t __thiscall IVROverlay_007_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -uint32_t __thiscall IVROverlay_020_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +EVROverlayError __thiscall IVROverlay_007_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -void __thiscall IVROverlay_020_HideKeyboard(void *_this); +const char * __thiscall IVROverlay_007_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -void __thiscall IVROverlay_020_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +EVROverlayError __thiscall IVROverlay_007_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -void __thiscall IVROverlay_020_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +EVROverlayError __thiscall IVROverlay_007_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVROverlayError __thiscall IVROverlay_020_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +EVROverlayError __thiscall IVROverlay_007_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +EVROverlayError __thiscall IVROverlay_007_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -VRMessageOverlayResponse __thiscall IVROverlay_020_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +EVROverlayError __thiscall IVROverlay_007_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -void __thiscall IVROverlay_020_CloseMessageOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_007_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -void test_capi_thunks_IVROverlay_019(void); +EVROverlayError __thiscall IVROverlay_007_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_019_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_007_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_019_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_019_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_019_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -VROverlayHandle_t __thiscall IVROverlay_019_GetHighQualityOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -uint32_t __thiscall IVROverlay_019_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -uint32_t __thiscall IVROverlay_019_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_019_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVROverlayError __thiscall IVROverlay_019_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -const char * __thiscall IVROverlay_019_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -uint32_t __thiscall IVROverlay_019_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_019_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +EVROverlayError __thiscall IVROverlay_007_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +EVROverlayError __thiscall IVROverlay_007_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +bool __thiscall IVROverlay_007_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +bool __thiscall IVROverlay_007_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -EVROverlayError __thiscall IVROverlay_019_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +EVROverlayError __thiscall IVROverlay_007_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_019_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +EVROverlayError __thiscall IVROverlay_007_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +EVROverlayError __thiscall IVROverlay_007_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +EVROverlayError __thiscall IVROverlay_007_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_019_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +bool __thiscall IVROverlay_007_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_019_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +bool __thiscall IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -EVROverlayError __thiscall IVROverlay_019_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +bool __thiscall IVROverlay_007_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +VROverlayHandle_t __thiscall IVROverlay_007_GetGamepadFocusOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_007_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -EVROverlayError __thiscall IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_007_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +EVROverlayError __thiscall IVROverlay_007_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +EVROverlayError __thiscall IVROverlay_007_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_007_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_007_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -uint32_t __thiscall IVROverlay_019_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_007_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); +EVROverlayError __thiscall IVROverlay_007_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +bool __thiscall IVROverlay_007_IsDashboardVisible(void *_this); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +bool __thiscall IVROverlay_007_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_007_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_007_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +void __thiscall IVROverlay_007_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +EVROverlayError __thiscall IVROverlay_007_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +EVROverlayError __thiscall IVROverlay_007_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +uint32_t __thiscall IVROverlay_007_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +void __thiscall IVROverlay_007_HideKeyboard(void *_this); -EVROverlayError __thiscall IVROverlay_019_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void test_capi_thunks_IVROverlay_008(void); -EVROverlayError __thiscall IVROverlay_019_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_008_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -bool __thiscall IVROverlay_019_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_008_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +EVROverlayError __thiscall IVROverlay_008_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_019_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +EVROverlayError __thiscall IVROverlay_008_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +VROverlayHandle_t __thiscall IVROverlay_008_GetHighQualityOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_019_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +uint32_t __thiscall IVROverlay_008_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_019_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +uint32_t __thiscall IVROverlay_008_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_019_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_008_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -bool __thiscall IVROverlay_019_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +const char * __thiscall IVROverlay_008_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -bool __thiscall IVROverlay_019_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_008_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -VROverlayHandle_t __thiscall IVROverlay_019_GetGamepadFocusOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_008_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVROverlayError __thiscall IVROverlay_019_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +EVROverlayError __thiscall IVROverlay_008_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_019_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +EVROverlayError __thiscall IVROverlay_008_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVROverlayError __thiscall IVROverlay_019_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +EVROverlayError __thiscall IVROverlay_008_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_019_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); +EVROverlayError __thiscall IVROverlay_008_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVROverlayError __thiscall IVROverlay_019_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); +EVROverlayError __thiscall IVROverlay_008_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EVROverlayError __thiscall IVROverlay_008_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_019_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_019_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +EVROverlayError __thiscall IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_019_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVROverlayError __thiscall IVROverlay_019_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_019_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -bool __thiscall IVROverlay_019_IsDashboardVisible(void *_this); +EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVROverlay_019_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_019_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_019_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVROverlay_019_ShowDashboard(void *_this, const char * pchOverlayToShow); +EVROverlayError __thiscall IVROverlay_008_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -TrackedDeviceIndex_t __thiscall IVROverlay_019_GetPrimaryDashboardDevice(void *_this); +EVROverlayError __thiscall IVROverlay_008_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +bool __thiscall IVROverlay_008_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_019_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_008_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -uint32_t __thiscall IVROverlay_019_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +bool __thiscall IVROverlay_008_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); -void __thiscall IVROverlay_019_HideKeyboard(void *_this); +EVROverlayError __thiscall IVROverlay_008_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -void __thiscall IVROverlay_019_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +EVROverlayError __thiscall IVROverlay_008_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -void __thiscall IVROverlay_019_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +EVROverlayError __thiscall IVROverlay_008_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_019_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +EVROverlayError __thiscall IVROverlay_008_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +bool __thiscall IVROverlay_008_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -VRMessageOverlayResponse __thiscall IVROverlay_019_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +bool __thiscall IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -void __thiscall IVROverlay_019_CloseMessageOverlay(void *_this); +bool __thiscall IVROverlay_008_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVRTrackedCamera_005(void); +VROverlayHandle_t __thiscall IVROverlay_008_GetGamepadFocusOverlay(void *_this); -const char * __thiscall IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); +EVROverlayError __thiscall IVROverlay_008_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); +EVROverlayError __thiscall IVROverlay_008_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); +EVROverlayError __thiscall IVROverlay_008_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); +EVROverlayError __thiscall IVROverlay_008_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); +EVROverlayError __thiscall IVROverlay_008_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_008_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); +EVROverlayError __thiscall IVROverlay_008_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +EVROverlayError __thiscall IVROverlay_008_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); +bool __thiscall IVROverlay_008_IsDashboardVisible(void *_this); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +bool __thiscall IVROverlay_008_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +EVROverlayError __thiscall IVROverlay_008_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); +EVROverlayError __thiscall IVROverlay_008_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -void test_capi_thunks_IVRSystem_019(void); +void __thiscall IVROverlay_008_ShowDashboard(void *_this, const char * pchOverlayToShow); -void __thiscall IVRSystem_019_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_008_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -HmdMatrix44_t *__thiscall IVRSystem_019_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); +EVROverlayError __thiscall IVROverlay_008_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -void __thiscall IVRSystem_019_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +uint32_t __thiscall IVROverlay_008_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -bool __thiscall IVRSystem_019_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +void __thiscall IVROverlay_008_HideKeyboard(void *_this); -HmdMatrix34_t *__thiscall IVRSystem_019_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +void __thiscall IVROverlay_008_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -bool __thiscall IVRSystem_019_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +void __thiscall IVROverlay_008_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -int32_t __thiscall IVRSystem_019_GetD3D9AdapterIndex(void *_this); +void test_capi_thunks_IVROverlay_010(void); -void __thiscall IVRSystem_019_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVROverlayError __thiscall IVROverlay_010_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVRSystem_019_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); +EVROverlayError __thiscall IVROverlay_010_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -bool __thiscall IVRSystem_019_IsDisplayOnDesktop(void *_this); +EVROverlayError __thiscall IVROverlay_010_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_019_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +EVROverlayError __thiscall IVROverlay_010_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +VROverlayHandle_t __thiscall IVROverlay_010_GetHighQualityOverlay(void *_this); -void __thiscall IVRSystem_019_ResetSeatedZeroPose(void *_this); +uint32_t __thiscall IVROverlay_010_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -HmdMatrix34_t *__thiscall IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +uint32_t __thiscall IVROverlay_010_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -HmdMatrix34_t *__thiscall IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_010_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -uint32_t __thiscall IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +const char * __thiscall IVROverlay_010_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EDeviceActivityLevel __thiscall IVRSystem_019_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVROverlayError __thiscall IVROverlay_010_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -void __thiscall IVRSystem_019_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +EVROverlayError __thiscall IVROverlay_010_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -TrackedDeviceIndex_t __thiscall IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +EVROverlayError __thiscall IVROverlay_010_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -ETrackedControllerRole __thiscall IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_010_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -ETrackedDeviceClass __thiscall IVRSystem_019_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_010_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -bool __thiscall IVRSystem_019_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_010_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -bool __thiscall IVRSystem_019_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -float __thiscall IVRSystem_019_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -int32_t __thiscall IVRSystem_019_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -uint64_t __thiscall IVRSystem_019_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -HmdMatrix34_t *__thiscall IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -uint32_t __thiscall IVRSystem_019_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -uint32_t __thiscall IVRSystem_019_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -const char * __thiscall IVRSystem_019_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVRSystem_019_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -bool __thiscall IVRSystem_019_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -const char * __thiscall IVRSystem_019_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -HiddenAreaMesh_t *__thiscall IVRSystem_019_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -bool __thiscall IVRSystem_019_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -bool __thiscall IVRSystem_019_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -void __thiscall IVRSystem_019_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -const char * __thiscall IVRSystem_019_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +EVROverlayError __thiscall IVROverlay_010_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -const char * __thiscall IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +EVROverlayError __thiscall IVROverlay_010_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_019_IsInputAvailable(void *_this); +bool __thiscall IVROverlay_010_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_019_IsSteamVRDrawingControllers(void *_this); +EVROverlayError __thiscall IVROverlay_010_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -bool __thiscall IVRSystem_019_ShouldApplicationPause(void *_this); +bool __thiscall IVROverlay_010_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -bool __thiscall IVRSystem_019_ShouldApplicationReduceRenderingWork(void *_this); +EVROverlayError __thiscall IVROverlay_010_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -uint32_t __thiscall IVRSystem_019_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); +EVROverlayError __thiscall IVROverlay_010_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVRFirmwareError __thiscall IVRSystem_019_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_010_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void __thiscall IVRSystem_019_AcknowledgeQuit_Exiting(void *_this); +EVROverlayError __thiscall IVROverlay_010_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void __thiscall IVRSystem_019_AcknowledgeQuit_UserPrompt(void *_this); +bool __thiscall IVROverlay_010_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -void test_capi_thunks_IVRInput_006(void); +bool __thiscall IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -EVRInputError __thiscall IVRInput_006_SetActionManifestPath(void *_this, const char * pchActionManifestPath); +bool __thiscall IVROverlay_010_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); +VROverlayHandle_t __thiscall IVROverlay_010_GetGamepadFocusOverlay(void *_this); -EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_010_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_010_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); +EVROverlayError __thiscall IVROverlay_010_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_010_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_010_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_010_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_010_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); +EVROverlayError __thiscall IVROverlay_010_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); +bool __thiscall IVROverlay_010_IsDashboardVisible(void *_this); -EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); +bool __thiscall IVROverlay_010_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); +EVROverlayError __thiscall IVROverlay_010_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_010_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); +void __thiscall IVROverlay_010_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +TrackedDeviceIndex_t __thiscall IVROverlay_010_GetPrimaryDashboardDevice(void *_this); -EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); +EVROverlayError __thiscall IVROverlay_010_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); +EVROverlayError __thiscall IVROverlay_010_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +uint32_t __thiscall IVROverlay_010_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); +void __thiscall IVROverlay_010_HideKeyboard(void *_this); -EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); +void __thiscall IVROverlay_010_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); +void __thiscall IVROverlay_010_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); +void test_capi_thunks_IVROverlay_011(void); -EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); +EVROverlayError __thiscall IVROverlay_011_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); +EVROverlayError __thiscall IVROverlay_011_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -bool __thiscall IVRInput_006_IsUsingLegacyInput(void *_this); +EVROverlayError __thiscall IVROverlay_011_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVRInput_005(void); +EVROverlayError __thiscall IVROverlay_011_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_005_SetActionManifestPath(void *_this, const char * pchActionManifestPath); +VROverlayHandle_t __thiscall IVROverlay_011_GetHighQualityOverlay(void *_this); -EVRInputError __thiscall IVRInput_005_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); +uint32_t __thiscall IVROverlay_011_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRInputError __thiscall IVRInput_005_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); +uint32_t __thiscall IVROverlay_011_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRInputError __thiscall IVRInput_005_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_011_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVRInputError __thiscall IVRInput_005_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); +const char * __thiscall IVROverlay_011_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVRInputError __thiscall IVRInput_005_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_011_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -EVRInputError __thiscall IVRInput_005_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +uint32_t __thiscall IVROverlay_011_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_005_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_011_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVRInputError __thiscall IVRInput_005_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); +EVROverlayError __thiscall IVROverlay_011_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVRInputError __thiscall IVRInput_005_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); +EVROverlayError __thiscall IVROverlay_011_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVRInputError __thiscall IVRInput_005_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); +EVROverlayError __thiscall IVROverlay_011_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVRInputError __thiscall IVRInput_005_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); +EVROverlayError __thiscall IVROverlay_011_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVRInputError __thiscall IVRInput_005_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_011_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVRInputError __thiscall IVRInput_005_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); +EVROverlayError __thiscall IVROverlay_011_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_011_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVRInputError __thiscall IVRInput_005_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData); +EVROverlayError __thiscall IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); +EVROverlayError __thiscall IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -EVRInputError __thiscall IVRInput_005_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVRInputError __thiscall IVRInput_005_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVRInputError __thiscall IVRInput_005_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); +EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRInputError __thiscall IVRInput_005_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRInputError __thiscall IVRInput_005_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVRInputError __thiscall IVRInput_005_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); +EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVRInputError __thiscall IVRInput_005_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRInput_005_IsUsingLegacyInput(void *_this); +EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void test_capi_thunks_IVRIOBuffer_001(void); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EIOBufferError __thiscall IVRIOBuffer_001_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer); +EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -EIOBufferError __thiscall IVRIOBuffer_001_Close(void *_this, IOBufferHandle_t ulBuffer); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -EIOBufferError __thiscall IVRIOBuffer_001_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead); +EVROverlayError __thiscall IVROverlay_011_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EIOBufferError __thiscall IVRIOBuffer_001_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes); +EVROverlayError __thiscall IVROverlay_011_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -PropertyContainerHandle_t __thiscall IVRIOBuffer_001_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer); +bool __thiscall IVROverlay_011_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVRChaperoneSetup_005(void); +EVROverlayError __thiscall IVROverlay_011_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -bool __thiscall IVRChaperoneSetup_005_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); +bool __thiscall IVROverlay_011_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -void __thiscall IVRChaperoneSetup_005_RevertWorkingCopy(void *_this); +EVROverlayError __thiscall IVROverlay_011_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); +EVROverlayError __thiscall IVROverlay_011_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); +EVROverlayError __thiscall IVROverlay_011_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); +EVROverlayError __thiscall IVROverlay_011_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); +bool __thiscall IVROverlay_011_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -bool __thiscall IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); +bool __thiscall IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -bool __thiscall IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); +bool __thiscall IVROverlay_011_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); +VROverlayHandle_t __thiscall IVROverlay_011_GetGamepadFocusOverlay(void *_this); -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); +EVROverlayError __thiscall IVROverlay_011_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -void __thiscall IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); +EVROverlayError __thiscall IVROverlay_011_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -void __thiscall IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); +EVROverlayError __thiscall IVROverlay_011_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -void __thiscall IVRChaperoneSetup_005_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); +EVROverlayError __thiscall IVROverlay_011_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -bool __thiscall IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); +EVROverlayError __thiscall IVROverlay_011_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount); +EVROverlayError __thiscall IVROverlay_011_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount); +EVROverlayError __thiscall IVROverlay_011_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -bool __thiscall IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); +EVROverlayError __thiscall IVROverlay_011_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); -bool __thiscall IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); +EVROverlayError __thiscall IVROverlay_011_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -bool __thiscall IVRChaperoneSetup_005_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength); +EVROverlayError __thiscall IVROverlay_011_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -bool __thiscall IVRChaperoneSetup_005_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags); +bool __thiscall IVROverlay_011_IsDashboardVisible(void *_this); -void test_capi_thunks_IVROverlay_018(void); +bool __thiscall IVROverlay_011_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_011_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_018_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_011_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_018_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVROverlay_011_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVROverlayError __thiscall IVROverlay_018_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +TrackedDeviceIndex_t __thiscall IVROverlay_011_GetPrimaryDashboardDevice(void *_this); -VROverlayHandle_t __thiscall IVROverlay_018_GetHighQualityOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_011_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -uint32_t __thiscall IVROverlay_018_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_011_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -uint32_t __thiscall IVROverlay_018_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +uint32_t __thiscall IVROverlay_011_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVROverlayError __thiscall IVROverlay_018_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +void __thiscall IVROverlay_011_HideKeyboard(void *_this); -EVROverlayError __thiscall IVROverlay_018_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +void __thiscall IVROverlay_011_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -const char * __thiscall IVROverlay_018_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +void __thiscall IVROverlay_011_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +void test_capi_thunks_IVROverlay_012(void); -uint32_t __thiscall IVROverlay_018_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_012_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +EVROverlayError __thiscall IVROverlay_012_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +EVROverlayError __thiscall IVROverlay_012_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +EVROverlayError __thiscall IVROverlay_012_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +VROverlayHandle_t __thiscall IVROverlay_012_GetHighQualityOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +uint32_t __thiscall IVROverlay_012_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +uint32_t __thiscall IVROverlay_012_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +EVROverlayError __thiscall IVROverlay_012_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +const char * __thiscall IVROverlay_012_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVROverlayError __thiscall IVROverlay_018_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +EVROverlayError __thiscall IVROverlay_012_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -EVROverlayError __thiscall IVROverlay_018_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +uint32_t __thiscall IVROverlay_012_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +EVROverlayError __thiscall IVROverlay_012_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +EVROverlayError __thiscall IVROverlay_012_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVROverlayError __thiscall IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_012_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_012_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +EVROverlayError __thiscall IVROverlay_012_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +EVROverlayError __thiscall IVROverlay_012_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_012_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_012_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -uint32_t __thiscall IVROverlay_018_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); +EVROverlayError __thiscall IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_018_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -EVROverlayError __thiscall IVROverlay_018_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -bool __thiscall IVROverlay_018_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_012_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +EVROverlayError __thiscall IVROverlay_012_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_018_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +bool __thiscall IVROverlay_012_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +EVROverlayError __thiscall IVROverlay_012_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +bool __thiscall IVROverlay_012_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_012_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_012_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +EVROverlayError __thiscall IVROverlay_012_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVROverlay_018_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_012_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -VROverlayHandle_t __thiscall IVROverlay_018_GetGamepadFocusOverlay(void *_this); +bool __thiscall IVROverlay_012_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_018_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +bool __thiscall IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -EVROverlayError __thiscall IVROverlay_018_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +bool __thiscall IVROverlay_012_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +VROverlayHandle_t __thiscall IVROverlay_012_GetGamepadFocusOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_018_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius); +EVROverlayError __thiscall IVROverlay_012_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -EVROverlayError __thiscall IVROverlay_018_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); +EVROverlayError __thiscall IVROverlay_012_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EVROverlayError __thiscall IVROverlay_012_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -EVROverlayError __thiscall IVROverlay_018_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_012_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +EVROverlayError __thiscall IVROverlay_012_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +EVROverlayError __thiscall IVROverlay_012_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +EVROverlayError __thiscall IVROverlay_012_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +EVROverlayError __thiscall IVROverlay_012_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -bool __thiscall IVROverlay_018_IsDashboardVisible(void *_this); +EVROverlayError __thiscall IVROverlay_012_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -bool __thiscall IVROverlay_018_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVROverlay_012_IsDashboardVisible(void *_this); -EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +bool __thiscall IVROverlay_012_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +EVROverlayError __thiscall IVROverlay_012_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -void __thiscall IVROverlay_018_ShowDashboard(void *_this, const char * pchOverlayToShow); +EVROverlayError __thiscall IVROverlay_012_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -TrackedDeviceIndex_t __thiscall IVROverlay_018_GetPrimaryDashboardDevice(void *_this); +void __thiscall IVROverlay_012_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +TrackedDeviceIndex_t __thiscall IVROverlay_012_GetPrimaryDashboardDevice(void *_this); -EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_012_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +EVROverlayError __thiscall IVROverlay_012_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -void __thiscall IVROverlay_018_HideKeyboard(void *_this); +uint32_t __thiscall IVROverlay_012_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -void __thiscall IVROverlay_018_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +void __thiscall IVROverlay_012_HideKeyboard(void *_this); -void __thiscall IVROverlay_018_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +void __thiscall IVROverlay_012_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +void __thiscall IVROverlay_012_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +void test_capi_thunks_IVROverlay_013(void); -VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +EVROverlayError __thiscall IVROverlay_013_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVROverlay_018_CloseMessageOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_013_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -void test_capi_thunks_IVRTrackedCamera_004(void); +EVROverlayError __thiscall IVROverlay_013_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -const char * __thiscall IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); +EVROverlayError __thiscall IVROverlay_013_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); +VROverlayHandle_t __thiscall IVROverlay_013_GetHighQualityOverlay(void *_this); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); +uint32_t __thiscall IVROverlay_013_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); +uint32_t __thiscall IVROverlay_013_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); +EVROverlayError __thiscall IVROverlay_013_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); +const char * __thiscall IVROverlay_013_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); +EVROverlayError __thiscall IVROverlay_013_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +uint32_t __thiscall IVROverlay_013_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_013_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +EVROverlayError __thiscall IVROverlay_013_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +EVROverlayError __thiscall IVROverlay_013_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); +EVROverlayError __thiscall IVROverlay_013_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -void test_capi_thunks_IVRInput_004(void); +EVROverlayError __thiscall IVROverlay_013_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVRInputError __thiscall IVRInput_004_SetActionManifestPath(void *_this, const char * pchActionManifestPath); +EVROverlayError __thiscall IVROverlay_013_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVRInputError __thiscall IVRInput_004_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -EVRInputError __thiscall IVRInput_004_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -EVRInputError __thiscall IVRInput_004_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); +EVROverlayError __thiscall IVROverlay_013_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -EVRInputError __thiscall IVRInput_004_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); +EVROverlayError __thiscall IVROverlay_013_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -EVRInputError __thiscall IVRInput_004_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVRInputError __thiscall IVRInput_004_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVRInputError __thiscall IVRInput_004_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVRInputError __thiscall IVRInput_004_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVRInputError __thiscall IVRInput_004_DecompressSkeletalBoneData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRInputError __thiscall IVRInput_004_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRInputError __thiscall IVRInput_004_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVRInputError __thiscall IVRInput_004_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVRInputError __thiscall IVRInput_004_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVRInputError __thiscall IVRInput_004_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVRInputError __thiscall IVRInput_004_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void test_capi_thunks_IVRTrackedCamera_003(void); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -const char * __thiscall IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); +EVROverlayError __thiscall IVROverlay_013_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); +EVROverlayError __thiscall IVROverlay_013_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); +bool __thiscall IVROverlay_013_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); +EVROverlayError __thiscall IVROverlay_013_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); +bool __thiscall IVROverlay_013_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); +EVROverlayError __thiscall IVROverlay_013_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +EVROverlayError __thiscall IVROverlay_013_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_013_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +EVROverlayError __thiscall IVROverlay_013_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); +bool __thiscall IVROverlay_013_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); +bool __thiscall IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -void test_capi_thunks_IVRRenderModels_005(void); +bool __thiscall IVROverlay_013_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRRenderModelError __thiscall IVRRenderModels_005_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); +VROverlayHandle_t __thiscall IVROverlay_013_GetGamepadFocusOverlay(void *_this); -void __thiscall IVRRenderModels_005_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); +EVROverlayError __thiscall IVROverlay_013_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); +EVROverlayError __thiscall IVROverlay_013_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -void __thiscall IVRRenderModels_005_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); +EVROverlayError __thiscall IVROverlay_013_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); +EVROverlayError __thiscall IVROverlay_013_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVRRenderModelError __thiscall IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture); +EVROverlayError __thiscall IVROverlay_013_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRRenderModels_005_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); +EVROverlayError __thiscall IVROverlay_013_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -uint32_t __thiscall IVRRenderModels_005_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); +EVROverlayError __thiscall IVROverlay_013_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -uint32_t __thiscall IVRRenderModels_005_GetRenderModelCount(void *_this); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); -uint32_t __thiscall IVRRenderModels_005_GetComponentCount(void *_this, const char * pchRenderModelName); +EVROverlayError __thiscall IVROverlay_013_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -uint32_t __thiscall IVRRenderModels_005_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); +EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -uint64_t __thiscall IVRRenderModels_005_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); +EVROverlayError __thiscall IVROverlay_013_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -uint32_t __thiscall IVRRenderModels_005_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); +bool __thiscall IVROverlay_013_IsDashboardVisible(void *_this); -bool __thiscall IVRRenderModels_005_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); +bool __thiscall IVROverlay_013_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRRenderModels_005_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); +EVROverlayError __thiscall IVROverlay_013_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -uint32_t __thiscall IVRRenderModels_005_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError); +EVROverlayError __thiscall IVROverlay_013_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -uint32_t __thiscall IVRRenderModels_005_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError); +void __thiscall IVROverlay_013_ShowDashboard(void *_this, const char * pchOverlayToShow); -const char * __thiscall IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error); +TrackedDeviceIndex_t __thiscall IVROverlay_013_GetPrimaryDashboardDevice(void *_this); -void test_capi_thunks_IVRInput_003(void); +EVROverlayError __thiscall IVROverlay_013_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVRInputError __thiscall IVRInput_003_SetActionManifestPath(void *_this, const char * pchActionManifestPath); +EVROverlayError __thiscall IVROverlay_013_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVRInputError __thiscall IVRInput_003_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); +uint32_t __thiscall IVROverlay_013_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVRInputError __thiscall IVRInput_003_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); +void __thiscall IVROverlay_013_HideKeyboard(void *_this); -EVRInputError __thiscall IVRInput_003_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); +void __thiscall IVROverlay_013_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -EVRInputError __thiscall IVRInput_003_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); +void __thiscall IVROverlay_013_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVRInputError __thiscall IVRInput_003_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize); +EVROverlayError __thiscall IVROverlay_013_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -EVRInputError __thiscall IVRInput_003_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize); +void test_capi_thunks_IVROverlay_014(void); -EVRInputError __thiscall IVRInput_003_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize); +EVROverlayError __thiscall IVROverlay_014_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVRInputError __thiscall IVRInput_003_GetSkeletalActionData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_014_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); -EVRInputError __thiscall IVRInput_003_GetSkeletalActionDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); +EVROverlayError __thiscall IVROverlay_014_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_003_UncompressSkeletalActionData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); +EVROverlayError __thiscall IVROverlay_014_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInputError __thiscall IVRInput_003_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude); +VROverlayHandle_t __thiscall IVROverlay_014_GetHighQualityOverlay(void *_this); -EVRInputError __thiscall IVRInput_003_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); +uint32_t __thiscall IVROverlay_014_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRInputError __thiscall IVRInput_003_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize); +uint32_t __thiscall IVROverlay_014_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRInputError __thiscall IVRInput_003_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); +EVROverlayError __thiscall IVROverlay_014_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVRInputError __thiscall IVRInput_003_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); +const char * __thiscall IVROverlay_014_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVRInputError __thiscall IVRInput_003_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); +EVROverlayError __thiscall IVROverlay_014_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -void test_capi_thunks_IVRSystem_017(void); +uint32_t __thiscall IVROverlay_014_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_017_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_014_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -HmdMatrix44_t *__thiscall IVRSystem_017_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); +EVROverlayError __thiscall IVROverlay_014_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -void __thiscall IVRSystem_017_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +EVROverlayError __thiscall IVROverlay_014_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -bool __thiscall IVRSystem_017_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +EVROverlayError __thiscall IVROverlay_014_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -HmdMatrix34_t *__thiscall IVRSystem_017_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVROverlayError __thiscall IVROverlay_014_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -bool __thiscall IVRSystem_017_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVROverlayError __thiscall IVROverlay_014_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -int32_t __thiscall IVRSystem_017_GetD3D9AdapterIndex(void *_this); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -void __thiscall IVRSystem_017_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRSystem_017_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); +EVROverlayError __thiscall IVROverlay_014_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -bool __thiscall IVRSystem_017_IsDisplayOnDesktop(void *_this); +EVROverlayError __thiscall IVROverlay_014_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -bool __thiscall IVRSystem_017_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +EVROverlayError __thiscall IVROverlay_014_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -void __thiscall IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +EVROverlayError __thiscall IVROverlay_014_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -void __thiscall IVRSystem_017_ResetSeatedZeroPose(void *_this); +EVROverlayError __thiscall IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -HmdMatrix34_t *__thiscall IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -HmdMatrix34_t *__thiscall IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -uint32_t __thiscall IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EDeviceActivityLevel __thiscall IVRSystem_017_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -void __thiscall IVRSystem_017_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -TrackedDeviceIndex_t __thiscall IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -ETrackedControllerRole __thiscall IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -ETrackedDeviceClass __thiscall IVRSystem_017_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRSystem_017_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -bool __thiscall IVRSystem_017_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -float __thiscall IVRSystem_017_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -int32_t __thiscall IVRSystem_017_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -uint64_t __thiscall IVRSystem_017_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_014_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -HmdMatrix34_t *__thiscall IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_014_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVRSystem_017_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +bool __thiscall IVROverlay_014_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -const char * __thiscall IVRSystem_017_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +EVROverlayError __thiscall IVROverlay_014_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -bool __thiscall IVRSystem_017_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +bool __thiscall IVROverlay_014_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -bool __thiscall IVRSystem_017_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_014_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -const char * __thiscall IVRSystem_017_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +EVROverlayError __thiscall IVROverlay_014_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -HiddenAreaMesh_t *__thiscall IVRSystem_017_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +EVROverlayError __thiscall IVROverlay_014_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRSystem_017_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +EVROverlayError __thiscall IVROverlay_014_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRSystem_017_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +bool __thiscall IVROverlay_014_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -void __thiscall IVRSystem_017_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +bool __thiscall IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); -const char * __thiscall IVRSystem_017_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +bool __thiscall IVROverlay_014_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -const char * __thiscall IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +VROverlayHandle_t __thiscall IVROverlay_014_GetGamepadFocusOverlay(void *_this); -bool __thiscall IVRSystem_017_CaptureInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_014_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -void __thiscall IVRSystem_017_ReleaseInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_014_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -bool __thiscall IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *_this); +EVROverlayError __thiscall IVROverlay_014_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -uint32_t __thiscall IVRSystem_017_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); +EVROverlayError __thiscall IVROverlay_014_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVRFirmwareError __thiscall IVRSystem_017_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_014_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_017_AcknowledgeQuit_Exiting(void *_this); +EVROverlayError __thiscall IVROverlay_014_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -void __thiscall IVRSystem_017_AcknowledgeQuit_UserPrompt(void *_this); +EVROverlayError __thiscall IVROverlay_014_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); + +EVROverlayError __thiscall IVROverlay_014_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); + +EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); + +EVROverlayError __thiscall IVROverlay_014_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); + +bool __thiscall IVROverlay_014_IsDashboardVisible(void *_this); + +bool __thiscall IVROverlay_014_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_014_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); + +EVROverlayError __thiscall IVROverlay_014_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); + +void __thiscall IVROverlay_014_ShowDashboard(void *_this, const char * pchOverlayToShow); + +TrackedDeviceIndex_t __thiscall IVROverlay_014_GetPrimaryDashboardDevice(void *_this); + +EVROverlayError __thiscall IVROverlay_014_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); + +EVROverlayError __thiscall IVROverlay_014_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); + +uint32_t __thiscall IVROverlay_014_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); + +void __thiscall IVROverlay_014_HideKeyboard(void *_this); + +void __thiscall IVROverlay_014_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); + +void __thiscall IVROverlay_014_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); + +EVROverlayError __thiscall IVROverlay_014_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); + +EVROverlayError __thiscall IVROverlay_014_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); + +VRMessageOverlayResponse __thiscall IVROverlay_014_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); + +void test_capi_thunks_IVROverlay_016(void); + +EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +VROverlayHandle_t __thiscall IVROverlay_016_GetHighQualityOverlay(void *_this); + +uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); + +uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); + +const char * __thiscall IVROverlay_016_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); + +uint32_t __thiscall IVROverlay_016_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); + +EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); + +EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); + +uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); + +EVROverlayError __thiscall IVROverlay_016_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +bool __thiscall IVROverlay_016_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); + +bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); + +bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); + +bool __thiscall IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); + +bool __thiscall IVROverlay_016_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +VROverlayHandle_t __thiscall IVROverlay_016_GetGamepadFocusOverlay(void *_this); + +EVROverlayError __thiscall IVROverlay_016_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); + +EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); + +EVROverlayError __thiscall IVROverlay_016_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); + +EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); + +EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); + +bool __thiscall IVROverlay_016_IsDashboardVisible(void *_this); + +bool __thiscall IVROverlay_016_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); + +EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); + +EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); + +void __thiscall IVROverlay_016_ShowDashboard(void *_this, const char * pchOverlayToShow); + +TrackedDeviceIndex_t __thiscall IVROverlay_016_GetPrimaryDashboardDevice(void *_this); + +EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); + +EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); + +uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); + +void __thiscall IVROverlay_016_HideKeyboard(void *_this); + +void __thiscall IVROverlay_016_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); + +void __thiscall IVROverlay_016_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); + +EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); + +EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); + +VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); + +void __thiscall IVROverlay_016_CloseMessageOverlay(void *_this); void test_capi_thunks_IVROverlay_017(void); @@ -3489,2155 +4231,1501 @@ VRMessageOverlayResponse __thiscall IVROverlay_017_ShowMessageOverlay(void *_thi void __thiscall IVROverlay_017_CloseMessageOverlay(void *_this); -void test_capi_thunks_IVRCompositor_021(void); +void test_capi_thunks_IVROverlay_018(void); -void __thiscall IVRCompositor_021_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -ETrackingUniverseOrigin __thiscall IVRCompositor_021_GetTrackingSpace(void *_this); +EVROverlayError __thiscall IVROverlay_018_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_021_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_018_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_018_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +VROverlayHandle_t __thiscall IVROverlay_018_GetHighQualityOverlay(void *_this); -EVRCompositorError __thiscall IVRCompositor_021_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +uint32_t __thiscall IVROverlay_018_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void __thiscall IVRCompositor_021_ClearLastSubmittedFrame(void *_this); +uint32_t __thiscall IVROverlay_018_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void __thiscall IVRCompositor_021_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -bool __thiscall IVRCompositor_021_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_018_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -uint32_t __thiscall IVRCompositor_021_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +const char * __thiscall IVROverlay_018_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -float __thiscall IVRCompositor_021_GetFrameTimeRemaining(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -void __thiscall IVRCompositor_021_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +uint32_t __thiscall IVROverlay_018_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_021_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -HmdColor_t *__thiscall IVRCompositor_021_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -void __thiscall IVRCompositor_021_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVROverlayError __thiscall IVROverlay_018_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -float __thiscall IVRCompositor_021_GetCurrentGridAlpha(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVRCompositorError __thiscall IVRCompositor_021_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -void __thiscall IVRCompositor_021_ClearSkyboxOverride(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -void __thiscall IVRCompositor_021_CompositorBringToFront(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -void __thiscall IVRCompositor_021_CompositorGoToBack(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRCompositor_021_CompositorQuit(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -bool __thiscall IVRCompositor_021_IsFullscreen(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -uint32_t __thiscall IVRCompositor_021_GetCurrentSceneFocusProcess(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -uint32_t __thiscall IVRCompositor_021_GetLastFrameRenderer(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -bool __thiscall IVRCompositor_021_CanRenderScene(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -void __thiscall IVRCompositor_021_ShowMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -void __thiscall IVRCompositor_021_HideMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -bool __thiscall IVRCompositor_021_IsMirrorWindowVisible(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -void __thiscall IVRCompositor_021_CompositorDumpImages(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVRCompositor_021_ShouldAppRenderWithLowResources(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -void __thiscall IVRCompositor_021_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +uint32_t __thiscall IVROverlay_018_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); -void __thiscall IVRCompositor_021_ForceReconnectProcess(void *_this); +EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); -void __thiscall IVRCompositor_021_SuspendRendering(void *_this, bool bSuspend); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -void __thiscall IVRCompositor_021_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -bool __thiscall IVRCompositor_021_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVRCompositor_021_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -void __thiscall IVRCompositor_021_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -uint32_t __thiscall IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -uint32_t __thiscall IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -void __thiscall IVRCompositor_021_SetExplicitTimingMode(void *_this, bool bExplicitTimingMode); +EVROverlayError __thiscall IVROverlay_018_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_021_SubmitExplicitTimingData(void *_this); +EVROverlayError __thiscall IVROverlay_018_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVROverlay_016(void); +bool __thiscall IVROverlay_018_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_018_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); +bool __thiscall IVROverlay_018_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -EVROverlayError __thiscall IVROverlay_016_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_016_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -VROverlayHandle_t __thiscall IVROverlay_016_GetHighQualityOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); +bool __thiscall IVROverlay_018_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +VROverlayHandle_t __thiscall IVROverlay_018_GetGamepadFocusOverlay(void *_this); -const char * __thiscall IVROverlay_016_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +EVROverlayError __thiscall IVROverlay_018_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +EVROverlayError __thiscall IVROverlay_018_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -uint32_t __thiscall IVROverlay_016_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_018_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +EVROverlayError __thiscall IVROverlay_018_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius); -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +EVROverlayError __thiscall IVROverlay_018_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); -EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +EVROverlayError __thiscall IVROverlay_018_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +bool __thiscall IVROverlay_018_IsDashboardVisible(void *_this); -EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +bool __thiscall IVROverlay_018_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +void __thiscall IVROverlay_018_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +TrackedDeviceIndex_t __thiscall IVROverlay_018_GetPrimaryDashboardDevice(void *_this); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); +uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); +void __thiscall IVROverlay_018_HideKeyboard(void *_this); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +void __thiscall IVROverlay_018_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +void __thiscall IVROverlay_018_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +void __thiscall IVROverlay_018_CloseMessageOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +void test_capi_thunks_IVROverlay_019(void); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +EVROverlayError __thiscall IVROverlay_019_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); +EVROverlayError __thiscall IVROverlay_019_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_019_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_016_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_019_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_016_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +VROverlayHandle_t __thiscall IVROverlay_019_GetHighQualityOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +uint32_t __thiscall IVROverlay_019_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +uint32_t __thiscall IVROverlay_019_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +EVROverlayError __thiscall IVROverlay_019_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +EVROverlayError __thiscall IVROverlay_019_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +const char * __thiscall IVROverlay_019_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +uint32_t __thiscall IVROverlay_019_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); +EVROverlayError __thiscall IVROverlay_019_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -bool __thiscall IVROverlay_016_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_019_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -VROverlayHandle_t __thiscall IVROverlay_016_GetGamepadFocusOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_019_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_016_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +EVROverlayError __thiscall IVROverlay_019_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +EVROverlayError __thiscall IVROverlay_019_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +EVROverlayError __thiscall IVROverlay_019_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -EVROverlayError __thiscall IVROverlay_016_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +EVROverlayError __thiscall IVROverlay_019_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +EVROverlayError __thiscall IVROverlay_019_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +EVROverlayError __thiscall IVROverlay_019_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVROverlayError __thiscall IVROverlay_019_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +EVROverlayError __thiscall IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +EVROverlayError __thiscall IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -bool __thiscall IVROverlay_016_IsDashboardVisible(void *_this); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -bool __thiscall IVROverlay_016_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -void __thiscall IVROverlay_016_ShowDashboard(void *_this, const char * pchOverlayToShow); +uint32_t __thiscall IVROverlay_019_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); -TrackedDeviceIndex_t __thiscall IVROverlay_016_GetPrimaryDashboardDevice(void *_this); +EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); -EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -void __thiscall IVROverlay_016_HideKeyboard(void *_this); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVROverlay_016_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVROverlay_016_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -void __thiscall IVROverlay_016_CloseMessageOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_019_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVRSystem_016(void); +EVROverlayError __thiscall IVROverlay_019_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_016_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +bool __thiscall IVROverlay_019_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -HmdMatrix44_t *__thiscall IVRSystem_016_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); +EVROverlayError __thiscall IVROverlay_019_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -void __thiscall IVRSystem_016_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +bool __thiscall IVROverlay_019_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -bool __thiscall IVRSystem_016_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +EVROverlayError __thiscall IVROverlay_019_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -HmdMatrix34_t *__thiscall IVRSystem_016_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVROverlayError __thiscall IVROverlay_019_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -bool __thiscall IVRSystem_016_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVROverlayError __thiscall IVROverlay_019_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -int32_t __thiscall IVRSystem_016_GetD3D9AdapterIndex(void *_this); +EVROverlayError __thiscall IVROverlay_019_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void __thiscall IVRSystem_016_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +bool __thiscall IVROverlay_019_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -void __thiscall IVRSystem_016_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType); +bool __thiscall IVROverlay_019_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_016_IsDisplayOnDesktop(void *_this); +VROverlayHandle_t __thiscall IVROverlay_019_GetGamepadFocusOverlay(void *_this); -bool __thiscall IVRSystem_016_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +EVROverlayError __thiscall IVROverlay_019_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -void __thiscall IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +EVROverlayError __thiscall IVROverlay_019_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -void __thiscall IVRSystem_016_ResetSeatedZeroPose(void *_this); +EVROverlayError __thiscall IVROverlay_019_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -HmdMatrix34_t *__thiscall IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_019_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); -HmdMatrix34_t *__thiscall IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_019_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); -uint32_t __thiscall IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVROverlayError __thiscall IVROverlay_019_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EDeviceActivityLevel __thiscall IVRSystem_016_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVROverlayError __thiscall IVROverlay_019_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_016_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +EVROverlayError __thiscall IVROverlay_019_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -TrackedDeviceIndex_t __thiscall IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +EVROverlayError __thiscall IVROverlay_019_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -ETrackedControllerRole __thiscall IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -ETrackedDeviceClass __thiscall IVRSystem_016_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_019_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -bool __thiscall IVRSystem_016_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -bool __thiscall IVRSystem_016_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_019_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -float __thiscall IVRSystem_016_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +bool __thiscall IVROverlay_019_IsDashboardVisible(void *_this); -int32_t __thiscall IVRSystem_016_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +bool __thiscall IVROverlay_019_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint64_t __thiscall IVRSystem_016_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_019_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -HmdMatrix34_t *__thiscall IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_019_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -uint32_t __thiscall IVRSystem_016_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +void __thiscall IVROverlay_019_ShowDashboard(void *_this, const char * pchOverlayToShow); -const char * __thiscall IVRSystem_016_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +TrackedDeviceIndex_t __thiscall IVROverlay_019_GetPrimaryDashboardDevice(void *_this); -bool __thiscall IVRSystem_016_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +EVROverlayError __thiscall IVROverlay_019_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -bool __thiscall IVRSystem_016_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_019_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -const char * __thiscall IVRSystem_016_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +uint32_t __thiscall IVROverlay_019_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -HiddenAreaMesh_t *__thiscall IVRSystem_016_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +void __thiscall IVROverlay_019_HideKeyboard(void *_this); -bool __thiscall IVRSystem_016_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +void __thiscall IVROverlay_019_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -bool __thiscall IVRSystem_016_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +void __thiscall IVROverlay_019_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -void __thiscall IVRSystem_016_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +EVROverlayError __thiscall IVROverlay_019_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -const char * __thiscall IVRSystem_016_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +EVROverlayError __thiscall IVROverlay_019_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -const char * __thiscall IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +VRMessageOverlayResponse __thiscall IVROverlay_019_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -bool __thiscall IVRSystem_016_CaptureInputFocus(void *_this); +void __thiscall IVROverlay_019_CloseMessageOverlay(void *_this); -void __thiscall IVRSystem_016_ReleaseInputFocus(void *_this); +void test_capi_thunks_IVROverlay_020(void); -bool __thiscall IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *_this); +EVROverlayError __thiscall IVROverlay_020_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -uint32_t __thiscall IVRSystem_016_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); +EVROverlayError __thiscall IVROverlay_020_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -EVRFirmwareError __thiscall IVRSystem_016_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_020_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_016_AcknowledgeQuit_Exiting(void *_this); +uint32_t __thiscall IVROverlay_020_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void __thiscall IVRSystem_016_AcknowledgeQuit_UserPrompt(void *_this); +uint32_t __thiscall IVROverlay_020_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void test_capi_thunks_IVRCompositor_020(void); +EVROverlayError __thiscall IVROverlay_020_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -void __thiscall IVRCompositor_020_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_020_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -ETrackingUniverseOrigin __thiscall IVRCompositor_020_GetTrackingSpace(void *_this); +const char * __thiscall IVROverlay_020_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVRCompositorError __thiscall IVRCompositor_020_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +uint32_t __thiscall IVROverlay_020_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVROverlayError __thiscall IVROverlay_020_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVRCompositorError __thiscall IVRCompositor_020_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVROverlayError __thiscall IVROverlay_020_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -void __thiscall IVRCompositor_020_ClearLastSubmittedFrame(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -void __thiscall IVRCompositor_020_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -bool __thiscall IVRCompositor_020_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_020_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -uint32_t __thiscall IVRCompositor_020_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +EVROverlayError __thiscall IVROverlay_020_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -float __thiscall IVRCompositor_020_GetFrameTimeRemaining(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -void __thiscall IVRCompositor_020_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRCompositor_020_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVROverlayError __thiscall IVROverlay_020_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -HmdColor_t *__thiscall IVRCompositor_020_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +EVROverlayError __thiscall IVROverlay_020_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -void __thiscall IVRCompositor_020_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVROverlayError __thiscall IVROverlay_020_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -float __thiscall IVRCompositor_020_GetCurrentGridAlpha(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVRCompositorError __thiscall IVRCompositor_020_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVROverlayError __thiscall IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); -void __thiscall IVRCompositor_020_ClearSkyboxOverride(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); -void __thiscall IVRCompositor_020_CompositorBringToFront(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -void __thiscall IVRCompositor_020_CompositorGoToBack(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -void __thiscall IVRCompositor_020_CompositorQuit(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVRCompositor_020_IsFullscreen(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -uint32_t __thiscall IVRCompositor_020_GetCurrentSceneFocusProcess(void *_this); +uint32_t __thiscall IVROverlay_020_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); -uint32_t __thiscall IVRCompositor_020_GetLastFrameRenderer(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); -bool __thiscall IVRCompositor_020_CanRenderScene(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -void __thiscall IVRCompositor_020_ShowMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -void __thiscall IVRCompositor_020_HideMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRCompositor_020_IsMirrorWindowVisible(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVRCompositor_020_CompositorDumpImages(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -bool __thiscall IVRCompositor_020_ShouldAppRenderWithLowResources(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -void __thiscall IVRCompositor_020_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -void __thiscall IVRCompositor_020_ForceReconnectProcess(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -void __thiscall IVRCompositor_020_SuspendRendering(void *_this, bool bSuspend); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlay_020_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_020_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlay_020_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +bool __thiscall IVROverlay_020_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRCompositor_020_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_020_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -void __thiscall IVRCompositor_020_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +bool __thiscall IVROverlay_020_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -void __thiscall IVRCompositor_020_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_020_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -uint32_t __thiscall IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); +EVROverlayError __thiscall IVROverlay_020_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -uint32_t __thiscall IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); +EVROverlayError __thiscall IVROverlay_020_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void test_capi_thunks_IVRClientCore_002(void); +EVROverlayError __thiscall IVROverlay_020_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVRInitError __thiscall IVRClientCore_002_Init(void *_this, EVRApplicationType eApplicationType); +bool __thiscall IVROverlay_020_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -void __thiscall IVRClientCore_002_Cleanup(void *_this); +bool __thiscall IVROverlay_020_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRInitError __thiscall IVRClientCore_002_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion); +VROverlayHandle_t __thiscall IVROverlay_020_GetGamepadFocusOverlay(void *_this); -void * __thiscall IVRClientCore_002_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError); +EVROverlayError __thiscall IVROverlay_020_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); -bool __thiscall IVRClientCore_002_BIsHmdPresent(void *_this); +EVROverlayError __thiscall IVROverlay_020_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); -const char * __thiscall IVRClientCore_002_GetEnglishStringForHmdError(void *_this, EVRInitError eError); +EVROverlayError __thiscall IVROverlay_020_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); -const char * __thiscall IVRClientCore_002_GetIDForVRInitError(void *_this, EVRInitError eError); +EVROverlayError __thiscall IVROverlay_020_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); -void test_capi_thunks_IVRSystem_015(void); +EVROverlayError __thiscall IVROverlay_020_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); -void __thiscall IVRSystem_015_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_020_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -HmdMatrix44_t *__thiscall IVRSystem_015_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); +EVROverlayError __thiscall IVROverlay_020_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_015_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +EVROverlayError __thiscall IVROverlay_020_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -bool __thiscall IVRSystem_015_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +EVROverlayError __thiscall IVROverlay_020_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -HmdMatrix34_t *__thiscall IVRSystem_015_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -bool __thiscall IVRSystem_015_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVROverlayError __thiscall IVROverlay_020_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -int32_t __thiscall IVRSystem_015_GetD3D9AdapterIndex(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -void __thiscall IVRSystem_015_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVROverlayError __thiscall IVROverlay_020_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -bool __thiscall IVRSystem_015_IsDisplayOnDesktop(void *_this); +bool __thiscall IVROverlay_020_IsDashboardVisible(void *_this); -bool __thiscall IVRSystem_015_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +bool __thiscall IVROverlay_020_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +EVROverlayError __thiscall IVROverlay_020_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -void __thiscall IVRSystem_015_ResetSeatedZeroPose(void *_this); +EVROverlayError __thiscall IVROverlay_020_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -HmdMatrix34_t *__thiscall IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +void __thiscall IVROverlay_020_ShowDashboard(void *_this, const char * pchOverlayToShow); -HmdMatrix34_t *__thiscall IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +TrackedDeviceIndex_t __thiscall IVROverlay_020_GetPrimaryDashboardDevice(void *_this); -uint32_t __thiscall IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVROverlayError __thiscall IVROverlay_020_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EDeviceActivityLevel __thiscall IVRSystem_015_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVROverlayError __thiscall IVROverlay_020_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -void __thiscall IVRSystem_015_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +uint32_t __thiscall IVROverlay_020_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -TrackedDeviceIndex_t __thiscall IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +void __thiscall IVROverlay_020_HideKeyboard(void *_this); -ETrackedControllerRole __thiscall IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +void __thiscall IVROverlay_020_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -ETrackedDeviceClass __thiscall IVRSystem_015_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +void __thiscall IVROverlay_020_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -bool __thiscall IVRSystem_015_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_020_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -bool __thiscall IVRSystem_015_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_020_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -float __thiscall IVRSystem_015_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +VRMessageOverlayResponse __thiscall IVROverlay_020_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -int32_t __thiscall IVRSystem_015_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +void __thiscall IVROverlay_020_CloseMessageOverlay(void *_this); -uint64_t __thiscall IVRSystem_015_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +void test_capi_thunks_IVROverlay_021(void); -HmdMatrix34_t *__thiscall IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_021_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -uint32_t __thiscall IVRSystem_015_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_021_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -const char * __thiscall IVRSystem_015_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +EVROverlayError __thiscall IVROverlay_021_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_015_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +uint32_t __thiscall IVROverlay_021_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -bool __thiscall IVRSystem_015_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +uint32_t __thiscall IVROverlay_021_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -const char * __thiscall IVRSystem_015_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +EVROverlayError __thiscall IVROverlay_021_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -HiddenAreaMesh_t *__thiscall IVRSystem_015_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +EVROverlayError __thiscall IVROverlay_021_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -bool __thiscall IVRSystem_015_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +const char * __thiscall IVROverlay_021_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -bool __thiscall IVRSystem_015_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -void __thiscall IVRSystem_015_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +uint32_t __thiscall IVROverlay_021_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -const char * __thiscall IVRSystem_015_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +EVROverlayError __thiscall IVROverlay_021_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -const char * __thiscall IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +EVROverlayError __thiscall IVROverlay_021_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -bool __thiscall IVRSystem_015_CaptureInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_021_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -void __thiscall IVRSystem_015_ReleaseInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_021_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -bool __thiscall IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *_this); +EVROverlayError __thiscall IVROverlay_021_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -uint32_t __thiscall IVRSystem_015_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); +EVROverlayError __thiscall IVROverlay_021_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVRFirmwareError __thiscall IVRSystem_015_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -void __thiscall IVRSystem_015_AcknowledgeQuit_Exiting(void *_this); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRSystem_015_AcknowledgeQuit_UserPrompt(void *_this); +EVROverlayError __thiscall IVROverlay_021_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -void test_capi_thunks_IVROverlay_014(void); +EVROverlayError __thiscall IVROverlay_021_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -EVROverlayError __thiscall IVROverlay_014_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVROverlayError __thiscall IVROverlay_014_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_014_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); -EVROverlayError __thiscall IVROverlay_014_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); -VROverlayHandle_t __thiscall IVROverlay_014_GetHighQualityOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -uint32_t __thiscall IVROverlay_014_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -uint32_t __thiscall IVROverlay_014_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVROverlayError __thiscall IVROverlay_014_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -const char * __thiscall IVROverlay_014_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +uint32_t __thiscall IVROverlay_021_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_014_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); -uint32_t __thiscall IVROverlay_014_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVROverlayError __thiscall IVROverlay_014_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_014_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_014_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_014_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -EVROverlayError __thiscall IVROverlay_014_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -EVROverlayError __thiscall IVROverlay_014_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +EVROverlayError __thiscall IVROverlay_021_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +EVROverlayError __thiscall IVROverlay_021_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +bool __thiscall IVROverlay_021_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +EVROverlayError __thiscall IVROverlay_021_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -EVROverlayError __thiscall IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +bool __thiscall IVROverlay_021_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -EVROverlayError __thiscall IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_021_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +EVROverlayError __thiscall IVROverlay_021_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +EVROverlayError __thiscall IVROverlay_021_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_021_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +bool __thiscall IVROverlay_021_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +bool __thiscall IVROverlay_021_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_021_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_021_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_021_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_021_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +EVROverlayError __thiscall IVROverlay_021_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +EVROverlayError __thiscall IVROverlay_021_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVROverlayError __thiscall IVROverlay_014_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -EVROverlayError __thiscall IVROverlay_014_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -bool __thiscall IVROverlay_014_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -EVROverlayError __thiscall IVROverlay_014_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +EVROverlayError __thiscall IVROverlay_021_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -bool __thiscall IVROverlay_014_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +bool __thiscall IVROverlay_021_IsDashboardVisible(void *_this); -EVROverlayError __thiscall IVROverlay_014_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +bool __thiscall IVROverlay_021_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +EVROverlayError __thiscall IVROverlay_021_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVROverlayError __thiscall IVROverlay_014_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_021_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_014_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +void __thiscall IVROverlay_021_ShowDashboard(void *_this, const char * pchOverlayToShow); -bool __thiscall IVROverlay_014_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +TrackedDeviceIndex_t __thiscall IVROverlay_021_GetPrimaryDashboardDevice(void *_this); -bool __thiscall IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); +EVROverlayError __thiscall IVROverlay_021_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -bool __thiscall IVROverlay_014_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -VROverlayHandle_t __thiscall IVROverlay_014_GetGamepadFocusOverlay(void *_this); +uint32_t __thiscall IVROverlay_021_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVROverlayError __thiscall IVROverlay_014_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +void __thiscall IVROverlay_021_HideKeyboard(void *_this); -EVROverlayError __thiscall IVROverlay_014_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +void __thiscall IVROverlay_021_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -EVROverlayError __thiscall IVROverlay_014_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +void __thiscall IVROverlay_021_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EVROverlayError __thiscall IVROverlay_021_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -EVROverlayError __thiscall IVROverlay_014_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_021_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -EVROverlayError __thiscall IVROverlay_014_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +VRMessageOverlayResponse __thiscall IVROverlay_021_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -EVROverlayError __thiscall IVROverlay_014_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +void __thiscall IVROverlay_021_CloseMessageOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); +void test_capi_thunks_IVROverlay_022(void); -EVROverlayError __thiscall IVROverlay_014_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVROverlayError __thiscall IVROverlay_022_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +EVROverlayError __thiscall IVROverlay_022_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +EVROverlayError __thiscall IVROverlay_022_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_014_IsDashboardVisible(void *_this); +uint32_t __thiscall IVROverlay_022_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -bool __thiscall IVROverlay_014_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +uint32_t __thiscall IVROverlay_022_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_014_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +EVROverlayError __thiscall IVROverlay_022_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -EVROverlayError __thiscall IVROverlay_014_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +EVROverlayError __thiscall IVROverlay_022_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -void __thiscall IVROverlay_014_ShowDashboard(void *_this, const char * pchOverlayToShow); +const char * __thiscall IVROverlay_022_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -TrackedDeviceIndex_t __thiscall IVROverlay_014_GetPrimaryDashboardDevice(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -EVROverlayError __thiscall IVROverlay_014_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +uint32_t __thiscall IVROverlay_022_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_014_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_022_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -uint32_t __thiscall IVROverlay_014_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +EVROverlayError __thiscall IVROverlay_022_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -void __thiscall IVROverlay_014_HideKeyboard(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -void __thiscall IVROverlay_014_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +EVROverlayError __thiscall IVROverlay_022_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -void __thiscall IVROverlay_014_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +EVROverlayError __thiscall IVROverlay_022_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVROverlayError __thiscall IVROverlay_014_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +EVROverlayError __thiscall IVROverlay_022_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); +EVROverlayError __thiscall IVROverlay_022_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -VRMessageOverlayResponse __thiscall IVROverlay_014_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -void test_capi_thunks_IVRCompositor_019(void); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRCompositor_019_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_022_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -ETrackingUniverseOrigin __thiscall IVRCompositor_019_GetTrackingSpace(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -EVRCompositorError __thiscall IVRCompositor_019_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_022_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_022_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVROverlayError __thiscall IVROverlay_022_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); -EVRCompositorError __thiscall IVRCompositor_019_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVROverlayError __thiscall IVROverlay_022_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); -void __thiscall IVRCompositor_019_ClearLastSubmittedFrame(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -void __thiscall IVRCompositor_019_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -bool __thiscall IVRCompositor_019_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -uint32_t __thiscall IVRCompositor_019_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -float __thiscall IVRCompositor_019_GetFrameTimeRemaining(void *_this); +uint32_t __thiscall IVROverlay_022_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); -void __thiscall IVRCompositor_019_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); -void __thiscall IVRCompositor_019_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -HmdColor_t *__thiscall IVRCompositor_019_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -void __thiscall IVRCompositor_019_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -float __thiscall IVRCompositor_019_GetCurrentGridAlpha(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVRCompositorError __thiscall IVRCompositor_019_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVRCompositor_019_ClearSkyboxOverride(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -void __thiscall IVRCompositor_019_CompositorBringToFront(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -void __thiscall IVRCompositor_019_CompositorGoToBack(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -void __thiscall IVRCompositor_019_CompositorQuit(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -bool __thiscall IVRCompositor_019_IsFullscreen(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); -uint32_t __thiscall IVRCompositor_019_GetCurrentSceneFocusProcess(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); -uint32_t __thiscall IVRCompositor_019_GetLastFrameRenderer(void *_this); +EVROverlayError __thiscall IVROverlay_022_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRCompositor_019_CanRenderScene(void *_this); +EVROverlayError __thiscall IVROverlay_022_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_019_ShowMirrorWindow(void *_this); +bool __thiscall IVROverlay_022_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_019_HideMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -bool __thiscall IVRCompositor_019_IsMirrorWindowVisible(void *_this); +bool __thiscall IVROverlay_022_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -void __thiscall IVRCompositor_019_CompositorDumpImages(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -bool __thiscall IVRCompositor_019_ShouldAppRenderWithLowResources(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -void __thiscall IVRCompositor_019_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +EVROverlayError __thiscall IVROverlay_022_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void __thiscall IVRCompositor_019_ForceReconnectProcess(void *_this); +EVROverlayError __thiscall IVROverlay_022_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void __thiscall IVRCompositor_019_SuspendRendering(void *_this, bool bSuspend); +bool __thiscall IVROverlay_022_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +bool __thiscall IVROverlay_022_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_022_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); -bool __thiscall IVRCompositor_019_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_022_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); -void __thiscall IVRCompositor_019_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_022_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -void __thiscall IVRCompositor_019_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_022_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); -uint32_t __thiscall IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); +EVROverlayError __thiscall IVROverlay_022_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); -uint32_t __thiscall IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); +EVROverlayError __thiscall IVROverlay_022_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); -void test_capi_thunks_IVRSystem_014(void); +EVROverlayError __thiscall IVROverlay_022_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_014_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_022_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -HmdMatrix44_t *__thiscall IVRSystem_014_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); +EVROverlayError __thiscall IVROverlay_022_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_014_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +EVROverlayError __thiscall IVROverlay_022_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); -bool __thiscall IVRSystem_014_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); +EVROverlayError __thiscall IVROverlay_022_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -HmdMatrix34_t *__thiscall IVRSystem_014_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -bool __thiscall IVRSystem_014_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVROverlayError __thiscall IVROverlay_022_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -int32_t __thiscall IVRSystem_014_GetD3D9AdapterIndex(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -void __thiscall IVRSystem_014_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVROverlayError __thiscall IVROverlay_022_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -bool __thiscall IVRSystem_014_IsDisplayOnDesktop(void *_this); +bool __thiscall IVROverlay_022_IsDashboardVisible(void *_this); -bool __thiscall IVRSystem_014_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +bool __thiscall IVROverlay_022_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +EVROverlayError __thiscall IVROverlay_022_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -void __thiscall IVRSystem_014_ResetSeatedZeroPose(void *_this); +EVROverlayError __thiscall IVROverlay_022_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -HmdMatrix34_t *__thiscall IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +void __thiscall IVROverlay_022_ShowDashboard(void *_this, const char * pchOverlayToShow); -HmdMatrix34_t *__thiscall IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +TrackedDeviceIndex_t __thiscall IVROverlay_022_GetPrimaryDashboardDevice(void *_this); -uint32_t __thiscall IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVROverlayError __thiscall IVROverlay_022_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -EDeviceActivityLevel __thiscall IVRSystem_014_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVROverlayError __thiscall IVROverlay_022_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); -void __thiscall IVRSystem_014_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +uint32_t __thiscall IVROverlay_022_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -TrackedDeviceIndex_t __thiscall IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +void __thiscall IVROverlay_022_HideKeyboard(void *_this); -ETrackedControllerRole __thiscall IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +void __thiscall IVROverlay_022_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -ETrackedDeviceClass __thiscall IVRSystem_014_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +void __thiscall IVROverlay_022_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -bool __thiscall IVRSystem_014_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +VRMessageOverlayResponse __thiscall IVROverlay_022_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -bool __thiscall IVRSystem_014_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +void __thiscall IVROverlay_022_CloseMessageOverlay(void *_this); -float __thiscall IVRSystem_014_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +void test_capi_thunks_IVROverlay_024(void); -int32_t __thiscall IVRSystem_014_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_024_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -uint64_t __thiscall IVRSystem_014_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_024_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -HmdMatrix34_t *__thiscall IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_024_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVRSystem_014_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +uint32_t __thiscall IVROverlay_024_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -const char * __thiscall IVRSystem_014_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +uint32_t __thiscall IVROverlay_024_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -bool __thiscall IVRSystem_014_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +EVROverlayError __thiscall IVROverlay_024_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -bool __thiscall IVRSystem_014_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_024_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -const char * __thiscall IVRSystem_014_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +const char * __thiscall IVROverlay_024_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -HiddenAreaMesh_t *__thiscall IVRSystem_014_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); +EVROverlayError __thiscall IVROverlay_024_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -bool __thiscall IVRSystem_014_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); +uint32_t __thiscall IVROverlay_024_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_014_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_024_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -void __thiscall IVRSystem_014_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +EVROverlayError __thiscall IVROverlay_024_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -const char * __thiscall IVRSystem_014_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +EVROverlayError __thiscall IVROverlay_024_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -const char * __thiscall IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +EVROverlayError __thiscall IVROverlay_024_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -bool __thiscall IVRSystem_014_CaptureInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -void __thiscall IVRSystem_014_ReleaseInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -bool __thiscall IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -uint32_t __thiscall IVRSystem_014_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -EVRFirmwareError __thiscall IVRSystem_014_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRSystem_014_AcknowledgeQuit_Exiting(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -void __thiscall IVRSystem_014_AcknowledgeQuit_UserPrompt(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -void test_capi_thunks_IVRCompositor_018(void); +EVROverlayError __thiscall IVROverlay_024_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -void __thiscall IVRCompositor_018_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_024_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -ETrackingUniverseOrigin __thiscall IVRCompositor_018_GetTrackingSpace(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); -EVRCompositorError __thiscall IVRCompositor_018_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_024_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVRCompositorError __thiscall IVRCompositor_018_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -void __thiscall IVRCompositor_018_ClearLastSubmittedFrame(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -void __thiscall IVRCompositor_018_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -bool __thiscall IVRCompositor_018_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -uint32_t __thiscall IVRCompositor_018_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -float __thiscall IVRCompositor_018_GetFrameTimeRemaining(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVRCompositor_018_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -void __thiscall IVRCompositor_018_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -HmdColor_t *__thiscall IVRCompositor_018_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -void __thiscall IVRCompositor_018_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -float __thiscall IVRCompositor_018_GetCurrentGridAlpha(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -EVRCompositorError __thiscall IVRCompositor_018_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); -void __thiscall IVRCompositor_018_ClearSkyboxOverride(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); -void __thiscall IVRCompositor_018_CompositorBringToFront(void *_this); +EVROverlayError __thiscall IVROverlay_024_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_018_CompositorGoToBack(void *_this); +EVROverlayError __thiscall IVROverlay_024_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_018_CompositorQuit(void *_this); +bool __thiscall IVROverlay_024_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRCompositor_018_IsFullscreen(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -uint32_t __thiscall IVRCompositor_018_GetCurrentSceneFocusProcess(void *_this); +bool __thiscall IVROverlay_024_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -uint32_t __thiscall IVRCompositor_018_GetLastFrameRenderer(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -bool __thiscall IVRCompositor_018_CanRenderScene(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -void __thiscall IVRCompositor_018_ShowMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_024_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -void __thiscall IVRCompositor_018_HideMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRCompositor_018_IsMirrorWindowVisible(void *_this); +bool __thiscall IVROverlay_024_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -void __thiscall IVRCompositor_018_CompositorDumpImages(void *_this); +bool __thiscall IVROverlay_024_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRCompositor_018_ShouldAppRenderWithLowResources(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -void __thiscall IVRCompositor_018_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +EVROverlayError __thiscall IVROverlay_024_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); -void __thiscall IVRCompositor_018_ForceReconnectProcess(void *_this); +EVROverlayError __thiscall IVROverlay_024_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); -void __thiscall IVRCompositor_018_SuspendRendering(void *_this, bool bSuspend); +EVROverlayError __thiscall IVROverlay_024_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlay_024_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_024_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -bool __thiscall IVRCompositor_018_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_024_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_018_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_024_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); -void __thiscall IVRCompositor_018_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_024_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -void test_capi_thunks_IVROverlay_013(void); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -EVROverlayError __thiscall IVROverlay_013_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_024_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -EVROverlayError __thiscall IVROverlay_013_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); +EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -EVROverlayError __thiscall IVROverlay_013_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_024_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -EVROverlayError __thiscall IVROverlay_013_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVROverlay_024_IsDashboardVisible(void *_this); -VROverlayHandle_t __thiscall IVROverlay_013_GetHighQualityOverlay(void *_this); +bool __thiscall IVROverlay_024_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVROverlay_013_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_024_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -uint32_t __thiscall IVROverlay_013_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +EVROverlayError __thiscall IVROverlay_024_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -EVROverlayError __thiscall IVROverlay_013_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +void __thiscall IVROverlay_024_ShowDashboard(void *_this, const char * pchOverlayToShow); -const char * __thiscall IVROverlay_013_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +TrackedDeviceIndex_t __thiscall IVROverlay_024_GetPrimaryDashboardDevice(void *_this); -EVROverlayError __thiscall IVROverlay_013_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +EVROverlayError __thiscall IVROverlay_024_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -uint32_t __thiscall IVROverlay_013_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_024_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -EVROverlayError __thiscall IVROverlay_013_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +uint32_t __thiscall IVROverlay_024_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -EVROverlayError __thiscall IVROverlay_013_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +void __thiscall IVROverlay_024_HideKeyboard(void *_this); -EVROverlayError __thiscall IVROverlay_013_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +void __thiscall IVROverlay_024_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -EVROverlayError __thiscall IVROverlay_013_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +void __thiscall IVROverlay_024_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -EVROverlayError __thiscall IVROverlay_013_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +VRMessageOverlayResponse __thiscall IVROverlay_024_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -EVROverlayError __thiscall IVROverlay_013_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +void __thiscall IVROverlay_024_CloseMessageOverlay(void *_this); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); +void test_capi_thunks_IVROverlay_025(void); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); +EVROverlayError __thiscall IVROverlay_025_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_013_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); +EVROverlayError __thiscall IVROverlay_025_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -EVROverlayError __thiscall IVROverlay_013_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); +EVROverlayError __thiscall IVROverlay_025_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_013_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +uint32_t __thiscall IVROverlay_025_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_013_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +uint32_t __thiscall IVROverlay_025_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVROverlayError __thiscall IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_025_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -EVROverlayError __thiscall IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +EVROverlayError __thiscall IVROverlay_025_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +const char * __thiscall IVROverlay_025_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +EVROverlayError __thiscall IVROverlay_025_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +uint32_t __thiscall IVROverlay_025_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +EVROverlayError __thiscall IVROverlay_025_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +EVROverlayError __thiscall IVROverlay_025_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_025_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVROverlayError __thiscall IVROverlay_025_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_025_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +EVROverlayError __thiscall IVROverlay_025_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); +EVROverlayError __thiscall IVROverlay_025_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -EVROverlayError __thiscall IVROverlay_013_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -EVROverlayError __thiscall IVROverlay_013_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_025_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -bool __thiscall IVROverlay_013_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_025_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -EVROverlayError __thiscall IVROverlay_013_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +EVROverlayError __thiscall IVROverlay_025_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -bool __thiscall IVROverlay_013_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); +EVROverlayError __thiscall IVROverlay_025_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -EVROverlayError __thiscall IVROverlay_013_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +EVROverlayError __thiscall IVROverlay_025_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); -EVROverlayError __thiscall IVROverlay_013_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +EVROverlayError __thiscall IVROverlay_025_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); -EVROverlayError __thiscall IVROverlay_013_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVROverlayError __thiscall IVROverlay_013_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -bool __thiscall IVROverlay_013_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -bool __thiscall IVROverlay_013_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -VROverlayHandle_t __thiscall IVROverlay_013_GetGamepadFocusOverlay(void *_this); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_013_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVROverlayError __thiscall IVROverlay_013_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_013_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -EVROverlayError __thiscall IVROverlay_013_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -EVROverlayError __thiscall IVROverlay_013_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -EVROverlayError __thiscall IVROverlay_013_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); -EVROverlayError __thiscall IVROverlay_013_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); -EVROverlayError __thiscall IVROverlay_013_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +EVROverlayError __thiscall IVROverlay_025_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_013_IsDashboardVisible(void *_this); +EVROverlayError __thiscall IVROverlay_025_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVROverlay_013_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVROverlay_025_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVROverlayError __thiscall IVROverlay_013_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +EVROverlayError __thiscall IVROverlay_025_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -EVROverlayError __thiscall IVROverlay_013_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +bool __thiscall IVROverlay_025_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -void __thiscall IVROverlay_013_ShowDashboard(void *_this, const char * pchOverlayToShow); +EVROverlayError __thiscall IVROverlay_025_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -TrackedDeviceIndex_t __thiscall IVROverlay_013_GetPrimaryDashboardDevice(void *_this); +EVROverlayError __thiscall IVROverlay_025_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -EVROverlayError __thiscall IVROverlay_013_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_025_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVROverlayError __thiscall IVROverlay_013_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +EVROverlayError __thiscall IVROverlay_025_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -uint32_t __thiscall IVROverlay_013_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +bool __thiscall IVROverlay_025_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -void __thiscall IVROverlay_013_HideKeyboard(void *_this); +bool __thiscall IVROverlay_025_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVROverlay_013_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +EVROverlayError __thiscall IVROverlay_025_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -void __thiscall IVROverlay_013_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +EVROverlayError __thiscall IVROverlay_025_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); -EVROverlayError __thiscall IVROverlay_013_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); +EVROverlayError __thiscall IVROverlay_025_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); -void test_capi_thunks_IVRCompositor_017(void); +EVROverlayError __thiscall IVROverlay_025_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); -void __thiscall IVRCompositor_017_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_025_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); -ETrackingUniverseOrigin __thiscall IVRCompositor_017_GetTrackingSpace(void *_this); +EVROverlayError __thiscall IVROverlay_025_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVRCompositorError __thiscall IVRCompositor_017_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_025_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_025_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVROverlayError __thiscall IVROverlay_025_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVRCompositorError __thiscall IVRCompositor_017_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -void __thiscall IVRCompositor_017_ClearLastSubmittedFrame(void *_this); +EVROverlayError __thiscall IVROverlay_025_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -void __thiscall IVRCompositor_017_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -bool __thiscall IVRCompositor_017_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_025_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -uint32_t __thiscall IVRCompositor_017_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); +bool __thiscall IVROverlay_025_IsDashboardVisible(void *_this); -float __thiscall IVRCompositor_017_GetFrameTimeRemaining(void *_this); +bool __thiscall IVROverlay_025_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_017_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +EVROverlayError __thiscall IVROverlay_025_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -void __thiscall IVRCompositor_017_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVROverlayError __thiscall IVROverlay_025_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -void __thiscall IVRCompositor_017_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +void __thiscall IVROverlay_025_ShowDashboard(void *_this, const char * pchOverlayToShow); -EVRCompositorError __thiscall IVRCompositor_017_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +TrackedDeviceIndex_t __thiscall IVROverlay_025_GetPrimaryDashboardDevice(void *_this); -void __thiscall IVRCompositor_017_ClearSkyboxOverride(void *_this); +EVROverlayError __thiscall IVROverlay_025_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -void __thiscall IVRCompositor_017_CompositorBringToFront(void *_this); +EVROverlayError __thiscall IVROverlay_025_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -void __thiscall IVRCompositor_017_CompositorGoToBack(void *_this); +uint32_t __thiscall IVROverlay_025_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -void __thiscall IVRCompositor_017_CompositorQuit(void *_this); +void __thiscall IVROverlay_025_HideKeyboard(void *_this); -bool __thiscall IVRCompositor_017_IsFullscreen(void *_this); +void __thiscall IVROverlay_025_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -uint32_t __thiscall IVRCompositor_017_GetCurrentSceneFocusProcess(void *_this); +void __thiscall IVROverlay_025_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -uint32_t __thiscall IVRCompositor_017_GetLastFrameRenderer(void *_this); +VRMessageOverlayResponse __thiscall IVROverlay_025_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -bool __thiscall IVRCompositor_017_CanRenderScene(void *_this); +void __thiscall IVROverlay_025_CloseMessageOverlay(void *_this); -void __thiscall IVRCompositor_017_ShowMirrorWindow(void *_this); +void test_capi_thunks_IVROverlay_026(void); -void __thiscall IVRCompositor_017_HideMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_026_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -bool __thiscall IVRCompositor_017_IsMirrorWindowVisible(void *_this); +EVROverlayError __thiscall IVROverlay_026_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVRCompositor_017_CompositorDumpImages(void *_this); +EVROverlayError __thiscall IVROverlay_026_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRCompositor_017_ShouldAppRenderWithLowResources(void *_this); +uint32_t __thiscall IVROverlay_026_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void __thiscall IVRCompositor_017_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +uint32_t __thiscall IVROverlay_026_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void __thiscall IVRCompositor_017_ForceReconnectProcess(void *_this); +EVROverlayError __thiscall IVROverlay_026_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -void __thiscall IVRCompositor_017_SuspendRendering(void *_this, bool bSuspend); +EVROverlayError __thiscall IVROverlay_026_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +const char * __thiscall IVROverlay_026_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_026_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -bool __thiscall IVRCompositor_017_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +uint32_t __thiscall IVROverlay_026_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_017_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_026_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -void __thiscall IVRCompositor_017_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_026_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -void test_capi_thunks_IVRSystem_012(void); +EVROverlayError __thiscall IVROverlay_026_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -void __thiscall IVRSystem_012_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVROverlayError __thiscall IVROverlay_026_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -HmdMatrix44_t *__thiscall IVRSystem_012_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); +EVROverlayError __thiscall IVROverlay_026_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -void __thiscall IVRSystem_012_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +EVROverlayError __thiscall IVROverlay_026_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -DistortionCoordinates_t *__thiscall IVRSystem_012_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); +EVROverlayError __thiscall IVROverlay_026_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -HmdMatrix34_t *__thiscall IVRSystem_012_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -bool __thiscall IVRSystem_012_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -int32_t __thiscall IVRSystem_012_GetD3D9AdapterIndex(void *_this); +EVROverlayError __thiscall IVROverlay_026_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -void __thiscall IVRSystem_012_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVROverlayError __thiscall IVROverlay_026_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -bool __thiscall IVRSystem_012_IsDisplayOnDesktop(void *_this); +EVROverlayError __thiscall IVROverlay_026_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -bool __thiscall IVRSystem_012_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +EVROverlayError __thiscall IVROverlay_026_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -void __thiscall IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +EVROverlayError __thiscall IVROverlay_026_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); -void __thiscall IVRSystem_012_ResetSeatedZeroPose(void *_this); +EVROverlayError __thiscall IVROverlay_026_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); -HmdMatrix34_t *__thiscall IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_026_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians); -HmdMatrix34_t *__thiscall IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVROverlayError __thiscall IVROverlay_026_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians); -uint32_t __thiscall IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EDeviceActivityLevel __thiscall IVRSystem_012_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -void __thiscall IVRSystem_012_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -TrackedDeviceIndex_t __thiscall IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -ETrackedControllerRole __thiscall IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -ETrackedDeviceClass __thiscall IVRSystem_012_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRSystem_012_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRSystem_012_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -float __thiscall IVRSystem_012_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -int32_t __thiscall IVRSystem_012_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -uint64_t __thiscall IVRSystem_012_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -HmdMatrix34_t *__thiscall IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -uint32_t __thiscall IVRSystem_012_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); -const char * __thiscall IVRSystem_012_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); -bool __thiscall IVRSystem_012_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); -bool __thiscall IVRSystem_012_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); -const char * __thiscall IVRSystem_012_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +EVROverlayError __thiscall IVROverlay_026_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -HiddenAreaMesh_t *__thiscall IVRSystem_012_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); +EVROverlayError __thiscall IVROverlay_026_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_012_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); +bool __thiscall IVROverlay_026_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -bool __thiscall IVRSystem_012_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); +EVROverlayError __thiscall IVROverlay_026_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -void __thiscall IVRSystem_012_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +EVROverlayError __thiscall IVROverlay_026_WaitFrameSync(void *_this, uint32_t nTimeoutMs); -const char * __thiscall IVRSystem_012_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +bool __thiscall IVROverlay_026_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -const char * __thiscall IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +EVROverlayError __thiscall IVROverlay_026_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -bool __thiscall IVRSystem_012_CaptureInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_026_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -void __thiscall IVRSystem_012_ReleaseInputFocus(void *_this); +EVROverlayError __thiscall IVROverlay_026_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -bool __thiscall IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *_this); +EVROverlayError __thiscall IVROverlay_026_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -uint32_t __thiscall IVRSystem_012_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); +bool __thiscall IVROverlay_026_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVRFirmwareError __thiscall IVRSystem_012_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); +bool __thiscall IVROverlay_026_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRSystem_012_AcknowledgeQuit_Exiting(void *_this); +EVROverlayError __thiscall IVROverlay_026_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -void __thiscall IVRSystem_012_AcknowledgeQuit_UserPrompt(void *_this); +EVROverlayError __thiscall IVROverlay_026_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); -void test_capi_thunks_IVRCompositor_016(void); +EVROverlayError __thiscall IVROverlay_026_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); -void __thiscall IVRCompositor_016_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_026_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); -ETrackingUniverseOrigin __thiscall IVRCompositor_016_GetTrackingSpace(void *_this); +EVROverlayError __thiscall IVROverlay_026_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_016_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_026_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVROverlayError __thiscall IVROverlay_026_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVROverlayError __thiscall IVROverlay_026_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); -EVRCompositorError __thiscall IVRCompositor_016_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVROverlayError __thiscall IVROverlay_026_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -void __thiscall IVRCompositor_016_ClearLastSubmittedFrame(void *_this); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -void __thiscall IVRCompositor_016_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_026_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -bool __thiscall IVRCompositor_016_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -float __thiscall IVRCompositor_016_GetFrameTimeRemaining(void *_this); +EVROverlayError __thiscall IVROverlay_026_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -void __thiscall IVRCompositor_016_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +bool __thiscall IVROverlay_026_IsDashboardVisible(void *_this); -void __thiscall IVRCompositor_016_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +bool __thiscall IVROverlay_026_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_016_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVROverlayError __thiscall IVROverlay_026_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -EVRCompositorError __thiscall IVRCompositor_016_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVROverlayError __thiscall IVROverlay_026_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -void __thiscall IVRCompositor_016_ClearSkyboxOverride(void *_this); +void __thiscall IVROverlay_026_ShowDashboard(void *_this, const char * pchOverlayToShow); -void __thiscall IVRCompositor_016_CompositorBringToFront(void *_this); +TrackedDeviceIndex_t __thiscall IVROverlay_026_GetPrimaryDashboardDevice(void *_this); -void __thiscall IVRCompositor_016_CompositorGoToBack(void *_this); +EVROverlayError __thiscall IVROverlay_026_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -void __thiscall IVRCompositor_016_CompositorQuit(void *_this); +EVROverlayError __thiscall IVROverlay_026_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -bool __thiscall IVRCompositor_016_IsFullscreen(void *_this); +uint32_t __thiscall IVROverlay_026_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -uint32_t __thiscall IVRCompositor_016_GetCurrentSceneFocusProcess(void *_this); +void __thiscall IVROverlay_026_HideKeyboard(void *_this); -uint32_t __thiscall IVRCompositor_016_GetLastFrameRenderer(void *_this); +void __thiscall IVROverlay_026_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -bool __thiscall IVRCompositor_016_CanRenderScene(void *_this); +void __thiscall IVROverlay_026_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -void __thiscall IVRCompositor_016_ShowMirrorWindow(void *_this); +VRMessageOverlayResponse __thiscall IVROverlay_026_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -void __thiscall IVRCompositor_016_HideMirrorWindow(void *_this); +void __thiscall IVROverlay_026_CloseMessageOverlay(void *_this); -bool __thiscall IVRCompositor_016_IsMirrorWindowVisible(void *_this); +void test_capi_thunks_IVROverlay_027(void); -void __thiscall IVRCompositor_016_CompositorDumpImages(void *_this); +EVROverlayError __thiscall IVROverlay_027_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); -bool __thiscall IVRCompositor_016_ShouldAppRenderWithLowResources(void *_this); +EVROverlayError __thiscall IVROverlay_027_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); -void __thiscall IVRCompositor_016_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +EVROverlayError __thiscall IVROverlay_027_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_016_ForceReconnectProcess(void *_this); +uint32_t __thiscall IVROverlay_027_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -void __thiscall IVRCompositor_016_SuspendRendering(void *_this, bool bSuspend); +uint32_t __thiscall IVROverlay_027_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +EVROverlayError __thiscall IVROverlay_027_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_027_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); -bool __thiscall IVRCompositor_016_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +const char * __thiscall IVROverlay_027_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); -void __thiscall IVRCompositor_016_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +EVROverlayError __thiscall IVROverlay_027_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); -void __thiscall IVRCompositor_016_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +uint32_t __thiscall IVROverlay_027_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); -void test_capi_thunks_IVRSettings_001(void); +EVROverlayError __thiscall IVROverlay_027_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); -const char * __thiscall IVRSettings_001_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); -bool __thiscall IVRSettings_001_Sync(void *_this, bool bForce, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); -bool __thiscall IVRSettings_001_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); -void __thiscall IVRSettings_001_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); -int32_t __thiscall IVRSettings_001_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); -void __thiscall IVRSettings_001_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); -float __thiscall IVRSettings_001_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); -void __thiscall IVRSettings_001_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); -void __thiscall IVRSettings_001_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); -void __thiscall IVRSettings_001_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); -void __thiscall IVRSettings_001_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); -void __thiscall IVRSettings_001_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); -void test_capi_thunks_IVRApplications_005(void); +EVROverlayError __thiscall IVROverlay_027_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); -EVRApplicationError __thiscall IVRApplications_005_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); +EVROverlayError __thiscall IVROverlay_027_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); -EVRApplicationError __thiscall IVRApplications_005_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); +EVROverlayError __thiscall IVROverlay_027_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians); -bool __thiscall IVRApplications_005_IsApplicationInstalled(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians); -uint32_t __thiscall IVRApplications_005_GetApplicationCount(void *_this); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRApplicationError __thiscall IVRApplications_005_LaunchApplication(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); -EVRApplicationError __thiscall IVRApplications_005_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); -EVRApplicationError __thiscall IVRApplications_005_LaunchDashboardOverlay(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -bool __thiscall IVRApplications_005_CancelApplicationLaunch(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); -EVRApplicationError __thiscall IVRApplications_005_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -uint32_t __thiscall IVRApplications_005_GetApplicationProcessId(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); -const char * __thiscall IVRApplications_005_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); -uint32_t __thiscall IVRApplications_005_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); -bool __thiscall IVRApplications_005_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); -uint64_t __thiscall IVRApplications_005_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); -EVRApplicationError __thiscall IVRApplications_005_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); -bool __thiscall IVRApplications_005_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRApplicationError __thiscall IVRApplications_005_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +EVROverlayError __thiscall IVROverlay_027_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRApplicationTransitionState __thiscall IVRApplications_005_GetTransitionState(void *_this); +bool __thiscall IVROverlay_027_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRApplicationError __thiscall IVRApplications_005_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); +EVROverlayError __thiscall IVROverlay_027_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); -const char * __thiscall IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); +EVROverlayError __thiscall IVROverlay_027_WaitFrameSync(void *_this, uint32_t nTimeoutMs); -bool __thiscall IVRApplications_005_IsQuitUserPromptRequested(void *_this); +bool __thiscall IVROverlay_027_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); -EVRApplicationError __thiscall IVRApplications_005_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); +EVROverlayError __thiscall IVROverlay_027_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); -void test_capi_thunks_IVRCompositor_015(void); +EVROverlayError __thiscall IVROverlay_027_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); -void __thiscall IVRCompositor_015_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVROverlayError __thiscall IVROverlay_027_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -ETrackingUniverseOrigin __thiscall IVRCompositor_015_GetTrackingSpace(void *_this); +EVROverlayError __thiscall IVROverlay_027_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); -EVRCompositorError __thiscall IVRCompositor_015_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +bool __thiscall IVROverlay_027_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +bool __thiscall IVROverlay_027_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVROverlayError __thiscall IVROverlay_027_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); -EVRCompositorError __thiscall IVRCompositor_015_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVROverlayError __thiscall IVROverlay_027_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); -void __thiscall IVRCompositor_015_ClearLastSubmittedFrame(void *_this); +EVROverlayError __thiscall IVROverlay_027_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); -void __thiscall IVRCompositor_015_PostPresentHandoff(void *_this); +EVROverlayError __thiscall IVROverlay_027_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); -bool __thiscall IVRCompositor_015_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVROverlayError __thiscall IVROverlay_027_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); -float __thiscall IVRCompositor_015_GetFrameTimeRemaining(void *_this); +EVROverlayError __thiscall IVROverlay_027_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); -void __thiscall IVRCompositor_015_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); +EVROverlayError __thiscall IVROverlay_027_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); -void __thiscall IVRCompositor_015_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +EVROverlayError __thiscall IVROverlay_027_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); -void __thiscall IVRCompositor_015_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVROverlayError __thiscall IVROverlay_027_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); -EVRCompositorError __thiscall IVRCompositor_015_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); -void __thiscall IVRCompositor_015_ClearSkyboxOverride(void *_this); +EVROverlayError __thiscall IVROverlay_027_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); -void __thiscall IVRCompositor_015_CompositorBringToFront(void *_this); +EVROverlayError __thiscall IVROverlay_027_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); -void __thiscall IVRCompositor_015_CompositorGoToBack(void *_this); +EVROverlayError __thiscall IVROverlay_027_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); -void __thiscall IVRCompositor_015_CompositorQuit(void *_this); +bool __thiscall IVROverlay_027_IsDashboardVisible(void *_this); -bool __thiscall IVRCompositor_015_IsFullscreen(void *_this); +bool __thiscall IVROverlay_027_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); -uint32_t __thiscall IVRCompositor_015_GetCurrentSceneFocusProcess(void *_this); +EVROverlayError __thiscall IVROverlay_027_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); -uint32_t __thiscall IVRCompositor_015_GetLastFrameRenderer(void *_this); +EVROverlayError __thiscall IVROverlay_027_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); -bool __thiscall IVRCompositor_015_CanRenderScene(void *_this); +void __thiscall IVROverlay_027_ShowDashboard(void *_this, const char * pchOverlayToShow); -void __thiscall IVRCompositor_015_ShowMirrorWindow(void *_this); +TrackedDeviceIndex_t __thiscall IVROverlay_027_GetPrimaryDashboardDevice(void *_this); -void __thiscall IVRCompositor_015_HideMirrorWindow(void *_this); +EVROverlayError __thiscall IVROverlay_027_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -bool __thiscall IVRCompositor_015_IsMirrorWindowVisible(void *_this); +EVROverlayError __thiscall IVROverlay_027_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); -void __thiscall IVRCompositor_015_CompositorDumpImages(void *_this); +uint32_t __thiscall IVROverlay_027_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); -bool __thiscall IVRCompositor_015_ShouldAppRenderWithLowResources(void *_this); +void __thiscall IVROverlay_027_HideKeyboard(void *_this); -void __thiscall IVRCompositor_015_ForceInterleavedReprojectionOn(void *_this, bool bOverride); +void __thiscall IVROverlay_027_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); -void __thiscall IVRCompositor_015_ForceReconnectProcess(void *_this); +void __thiscall IVROverlay_027_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); -void __thiscall IVRCompositor_015_SuspendRendering(void *_this, bool bSuspend); +VRMessageOverlayResponse __thiscall IVROverlay_027_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); -EVRCompositorError __thiscall IVRCompositor_015_RequestScreenshot(void *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName); +void __thiscall IVROverlay_027_CloseMessageOverlay(void *_this); -EVRScreenshotType __thiscall IVRCompositor_015_GetCurrentScreenshotType(void *_this); +void test_capi_thunks_IVRRenderModels_001(void); -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); +bool __thiscall IVRRenderModels_001_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel); -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); +void __thiscall IVRRenderModels_001_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); -bool __thiscall IVRCompositor_015_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); +uint32_t __thiscall IVRRenderModels_001_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); -void __thiscall IVRCompositor_015_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +uint32_t __thiscall IVRRenderModels_001_GetRenderModelCount(void *_this); -void __thiscall IVRCompositor_015_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); +void test_capi_thunks_IVRRenderModels_002(void); -void test_capi_thunks_IVROverlay_012(void); +bool __thiscall IVRRenderModels_002_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); -EVROverlayError __thiscall IVROverlay_012_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +void __thiscall IVRRenderModels_002_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); -EVROverlayError __thiscall IVROverlay_012_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); +bool __thiscall IVRRenderModels_002_LoadTexture(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); -EVROverlayError __thiscall IVROverlay_012_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRRenderModels_002_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); -EVROverlayError __thiscall IVROverlay_012_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +uint32_t __thiscall IVRRenderModels_002_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); -VROverlayHandle_t __thiscall IVROverlay_012_GetHighQualityOverlay(void *_this); +uint32_t __thiscall IVRRenderModels_002_GetRenderModelCount(void *_this); -uint32_t __thiscall IVROverlay_012_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +uint32_t __thiscall IVRRenderModels_002_GetComponentCount(void *_this, const char * pchRenderModelName); -uint32_t __thiscall IVROverlay_012_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +uint32_t __thiscall IVRRenderModels_002_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); -EVROverlayError __thiscall IVROverlay_012_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +uint64_t __thiscall IVRRenderModels_002_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); -const char * __thiscall IVROverlay_012_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +uint32_t __thiscall IVRRenderModels_002_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); -EVROverlayError __thiscall IVROverlay_012_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); +bool __thiscall IVRRenderModels_002_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState); -uint32_t __thiscall IVROverlay_012_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_012_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_012_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_012_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_012_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_012_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_012_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_012_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_012_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_012_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); - -EVROverlayError __thiscall IVROverlay_012_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_012_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_012_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_012_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_012_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_012_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_012_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_012_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_012_HideKeyboard(void *_this); - -void __thiscall IVROverlay_012_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_012_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -void test_capi_thunks_IVRTrackedCamera_002(void); - -const char * __thiscall IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraIntrinisics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -void test_capi_thunks_IVRCompositor_014(void); - -void __thiscall IVRCompositor_014_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_014_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_014_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_014_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_014_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_014_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_014_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_014_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_014_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_014_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_014_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_014_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_014_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_014_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_014_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_014_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_014_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_014_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_014_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_014_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_014_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_014_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_014_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_014_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_014_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_014_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_014_SuspendRendering(void *_this, bool bSuspend); - -void test_capi_thunks_IVROverlay_011(void); - -EVROverlayError __thiscall IVROverlay_011_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_011_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_011_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_011_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_011_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_011_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_011_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_011_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_011_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_011_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_011_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_011_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_011_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_011_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_011_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); - -EVROverlayError __thiscall IVROverlay_011_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_011_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_011_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_011_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_011_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_011_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_011_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_011_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_011_HideKeyboard(void *_this); - -void __thiscall IVROverlay_011_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_011_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -void test_capi_thunks_IVRCompositor_013(void); - -void __thiscall IVRCompositor_013_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_013_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_013_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_013_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_013_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_013_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_013_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_013_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_013_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_013_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_013_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_013_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_013_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_013_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_013_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_013_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_013_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_013_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_013_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_013_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_013_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_013_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_013_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_013_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_013_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void test_capi_thunks_IVRSystem_011(void); - -void __thiscall IVRSystem_011_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_011_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_011_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_011_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_011_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_011_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_011_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_011_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_011_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_011_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_011_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_011_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_011_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_011_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_011_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_011_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_011_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_011_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_011_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_011_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_011_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_011_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_011_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_011_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_011_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_011_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_011_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_011_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_011_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_011_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_011_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_011_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_011_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_011_AcknowledgeQuit_UserPrompt(void *_this); - -void __thiscall IVRSystem_011_PerformanceTestEnableCapture(void *_this, bool bEnable); - -void __thiscall IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel); - -void test_capi_thunks_IVRApplications_004(void); - -EVRApplicationError __thiscall IVRApplications_004_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_004_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_004_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_004_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_004_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_004_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -bool __thiscall IVRApplications_004_CancelApplicationLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_004_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_004_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_004_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_004_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_004_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -uint64_t __thiscall IVRApplications_004_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_004_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_004_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_004_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_004_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_004_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -bool __thiscall IVRApplications_004_IsQuitUserPromptRequested(void *_this); - -EVRApplicationError __thiscall IVRApplications_004_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); - -void test_capi_thunks_IVROverlay_010(void); - -EVROverlayError __thiscall IVROverlay_010_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_010_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_010_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_010_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_010_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_010_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_010_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_010_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_010_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_010_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_010_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_010_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_010_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_010_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_010_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_010_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_010_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_010_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_010_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_010_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_010_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_010_HideKeyboard(void *_this); - -void __thiscall IVROverlay_010_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_010_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +bool __thiscall IVRRenderModels_002_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); void test_capi_thunks_IVRRenderModels_004(void); @@ -5669,179 +5757,581 @@ bool __thiscall IVRRenderModels_004_GetComponentState(void *_this, const char * bool __thiscall IVRRenderModels_004_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); -void test_capi_thunks_IVRCompositor_012(void); +void test_capi_thunks_IVRRenderModels_005(void); -void __thiscall IVRCompositor_012_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +EVRRenderModelError __thiscall IVRRenderModels_005_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); -ETrackingUniverseOrigin __thiscall IVRCompositor_012_GetTrackingSpace(void *_this); +void __thiscall IVRRenderModels_005_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); -EVRCompositorError __thiscall IVRCompositor_012_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVRRenderModelError __thiscall IVRRenderModels_005_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +void __thiscall IVRRenderModels_005_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); +EVRRenderModelError __thiscall IVRRenderModels_005_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); -EVRCompositorError __thiscall IVRCompositor_012_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVRRenderModelError __thiscall IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture); -void __thiscall IVRCompositor_012_ClearLastSubmittedFrame(void *_this); +void __thiscall IVRRenderModels_005_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); -void __thiscall IVRCompositor_012_PostPresentHandoff(void *_this); +uint32_t __thiscall IVRRenderModels_005_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); -bool __thiscall IVRCompositor_012_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +uint32_t __thiscall IVRRenderModels_005_GetRenderModelCount(void *_this); -float __thiscall IVRCompositor_012_GetFrameTimeRemaining(void *_this); +uint32_t __thiscall IVRRenderModels_005_GetComponentCount(void *_this, const char * pchRenderModelName); -void __thiscall IVRCompositor_012_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +uint32_t __thiscall IVRRenderModels_005_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); -void __thiscall IVRCompositor_012_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +uint64_t __thiscall IVRRenderModels_005_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); -EVRCompositorError __thiscall IVRCompositor_012_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +uint32_t __thiscall IVRRenderModels_005_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); -void __thiscall IVRCompositor_012_ClearSkyboxOverride(void *_this); +bool __thiscall IVRRenderModels_005_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); -void __thiscall IVRCompositor_012_CompositorBringToFront(void *_this); +bool __thiscall IVRRenderModels_005_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); -void __thiscall IVRCompositor_012_CompositorGoToBack(void *_this); +uint32_t __thiscall IVRRenderModels_005_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError); -void __thiscall IVRCompositor_012_CompositorQuit(void *_this); +uint32_t __thiscall IVRRenderModels_005_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError); -bool __thiscall IVRCompositor_012_IsFullscreen(void *_this); +const char * __thiscall IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error); -uint32_t __thiscall IVRCompositor_012_GetCurrentSceneFocusProcess(void *_this); +void test_capi_thunks_IVRRenderModels_006(void); -uint32_t __thiscall IVRCompositor_012_GetLastFrameRenderer(void *_this); +EVRRenderModelError __thiscall IVRRenderModels_006_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); -bool __thiscall IVRCompositor_012_CanRenderScene(void *_this); +void __thiscall IVRRenderModels_006_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); -void __thiscall IVRCompositor_012_ShowMirrorWindow(void *_this); +EVRRenderModelError __thiscall IVRRenderModels_006_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); -void __thiscall IVRCompositor_012_HideMirrorWindow(void *_this); +void __thiscall IVRRenderModels_006_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); -bool __thiscall IVRCompositor_012_IsMirrorWindowVisible(void *_this); +EVRRenderModelError __thiscall IVRRenderModels_006_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); -void __thiscall IVRCompositor_012_CompositorDumpImages(void *_this); +EVRRenderModelError __thiscall IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture); -bool __thiscall IVRCompositor_012_ShouldAppRenderWithLowResources(void *_this); +void __thiscall IVRRenderModels_006_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); -void test_capi_thunks_IVRApplications_003(void); +uint32_t __thiscall IVRRenderModels_006_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); -EVRApplicationError __thiscall IVRApplications_003_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); +uint32_t __thiscall IVRRenderModels_006_GetRenderModelCount(void *_this); -EVRApplicationError __thiscall IVRApplications_003_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); +uint32_t __thiscall IVRRenderModels_006_GetComponentCount(void *_this, const char * pchRenderModelName); -bool __thiscall IVRApplications_003_IsApplicationInstalled(void *_this, const char * pchAppKey); +uint32_t __thiscall IVRRenderModels_006_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); -uint32_t __thiscall IVRApplications_003_GetApplicationCount(void *_this); +uint64_t __thiscall IVRRenderModels_006_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +uint32_t __thiscall IVRRenderModels_006_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +bool __thiscall IVRRenderModels_006_GetComponentStateForDevicePath(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); -EVRApplicationError __thiscall IVRApplications_003_LaunchApplication(void *_this, const char * pchAppKey); +bool __thiscall IVRRenderModels_006_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); -EVRApplicationError __thiscall IVRApplications_003_LaunchDashboardOverlay(void *_this, const char * pchAppKey); +bool __thiscall IVRRenderModels_006_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); -EVRApplicationError __thiscall IVRApplications_003_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); +uint32_t __thiscall IVRRenderModels_006_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError); -uint32_t __thiscall IVRApplications_003_GetApplicationProcessId(void *_this, const char * pchAppKey); +uint32_t __thiscall IVRRenderModels_006_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError); -const char * __thiscall IVRApplications_003_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); +const char * __thiscall IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error); -uint32_t __thiscall IVRApplications_003_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); +void test_capi_thunks_IVRResources_001(void); -bool __thiscall IVRApplications_003_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +uint32_t __thiscall IVRResources_001_LoadSharedResource(void *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen); -uint64_t __thiscall IVRApplications_003_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +uint32_t __thiscall IVRResources_001_GetResourceFullPath(void *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen); -EVRApplicationError __thiscall IVRApplications_003_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); +void test_capi_thunks_IVRScreenshots_001(void); -bool __thiscall IVRApplications_003_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); +EVRScreenshotError __thiscall IVRScreenshots_001_RequestScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename); -EVRApplicationError __thiscall IVRApplications_003_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +EVRScreenshotError __thiscall IVRScreenshots_001_HookScreenshot(void *_this, EVRScreenshotType * pSupportedTypes, int numTypes); -EVRApplicationTransitionState __thiscall IVRApplications_003_GetTransitionState(void *_this); +EVRScreenshotType __thiscall IVRScreenshots_001_GetScreenshotPropertyType(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError); -EVRApplicationError __thiscall IVRApplications_003_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); +uint32_t __thiscall IVRScreenshots_001_GetScreenshotPropertyFilename(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError); -const char * __thiscall IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); +EVRScreenshotError __thiscall IVRScreenshots_001_UpdateScreenshotProgress(void *_this, ScreenshotHandle_t screenshotHandle, float flProgress); -bool __thiscall IVRApplications_003_IsQuitUserPromptRequested(void *_this); +EVRScreenshotError __thiscall IVRScreenshots_001_TakeStereoScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename); -void test_capi_thunks_IVRCompositor_011(void); +EVRScreenshotError __thiscall IVRScreenshots_001_SubmitScreenshot(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename); -void __thiscall IVRCompositor_011_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +void test_capi_thunks_IVRSettings_001(void); -ETrackingUniverseOrigin __thiscall IVRCompositor_011_GetTrackingSpace(void *_this); +const char * __thiscall IVRSettings_001_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); -EVRCompositorError __thiscall IVRCompositor_011_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +bool __thiscall IVRSettings_001_Sync(void *_this, bool bForce, EVRSettingsError * peError); -EVRCompositorError __thiscall IVRCompositor_011_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +bool __thiscall IVRSettings_001_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError); -EVRCompositorError __thiscall IVRCompositor_011_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +void __thiscall IVRSettings_001_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_ClearLastSubmittedFrame(void *_this); +int32_t __thiscall IVRSettings_001_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_PostPresentHandoff(void *_this); +void __thiscall IVRSettings_001_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); -bool __thiscall IVRCompositor_011_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +float __thiscall IVRSettings_001_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError); -float __thiscall IVRCompositor_011_GetFrameTimeRemaining(void *_this); +void __thiscall IVRSettings_001_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +void __thiscall IVRSettings_001_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +void __thiscall IVRSettings_001_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); -EVRCompositorError __thiscall IVRCompositor_011_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +void __thiscall IVRSettings_001_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_ClearSkyboxOverride(void *_this); +void __thiscall IVRSettings_001_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_CompositorBringToFront(void *_this); +void test_capi_thunks_IVRSettings_002(void); -void __thiscall IVRCompositor_011_CompositorGoToBack(void *_this); +const char * __thiscall IVRSettings_002_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); -void __thiscall IVRCompositor_011_CompositorQuit(void *_this); +bool __thiscall IVRSettings_002_Sync(void *_this, bool bForce, EVRSettingsError * peError); -bool __thiscall IVRCompositor_011_IsFullscreen(void *_this); +void __thiscall IVRSettings_002_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); -uint32_t __thiscall IVRCompositor_011_GetCurrentSceneFocusProcess(void *_this); +void __thiscall IVRSettings_002_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); -uint32_t __thiscall IVRCompositor_011_GetLastFrameRenderer(void *_this); +void __thiscall IVRSettings_002_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); -bool __thiscall IVRCompositor_011_CanRenderScene(void *_this); +void __thiscall IVRSettings_002_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_ShowMirrorWindow(void *_this); +bool __thiscall IVRSettings_002_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_HideMirrorWindow(void *_this); +int32_t __thiscall IVRSettings_002_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -bool __thiscall IVRCompositor_011_IsMirrorWindowVisible(void *_this); +float __thiscall IVRSettings_002_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -void __thiscall IVRCompositor_011_CompositorDumpImages(void *_this); +void __thiscall IVRSettings_002_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError); -void test_capi_thunks_IVRRenderModels_002(void); +void __thiscall IVRSettings_002_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); -bool __thiscall IVRRenderModels_002_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); +void __thiscall IVRSettings_002_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -void __thiscall IVRRenderModels_002_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); +void test_capi_thunks_IVRSettings_003(void); -bool __thiscall IVRRenderModels_002_LoadTexture(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); +const char * __thiscall IVRSettings_003_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); -void __thiscall IVRRenderModels_002_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); +void __thiscall IVRSettings_003_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); -uint32_t __thiscall IVRRenderModels_002_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); +void __thiscall IVRSettings_003_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); -uint32_t __thiscall IVRRenderModels_002_GetRenderModelCount(void *_this); +void __thiscall IVRSettings_003_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); -uint32_t __thiscall IVRRenderModels_002_GetComponentCount(void *_this, const char * pchRenderModelName); +void __thiscall IVRSettings_003_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); -uint32_t __thiscall IVRRenderModels_002_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); +bool __thiscall IVRSettings_003_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -uint64_t __thiscall IVRRenderModels_002_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); +int32_t __thiscall IVRSettings_003_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -uint32_t __thiscall IVRRenderModels_002_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); +float __thiscall IVRSettings_003_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); -bool __thiscall IVRRenderModels_002_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState); +void __thiscall IVRSettings_003_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError); -bool __thiscall IVRRenderModels_002_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); +void __thiscall IVRSettings_003_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); + +void __thiscall IVRSettings_003_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); + +void test_capi_thunks_IVRSystem_003(void); + +void __thiscall IVRSystem_003_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_003_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_003_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_003_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); + +void __thiscall IVRSystem_003_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +DistortionCoordinates_t *__thiscall IVRSystem_003_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); + +HmdMatrix34_t *__thiscall IVRSystem_003_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_003_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_003_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_003_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); + +bool __thiscall IVRSystem_003_AttachToWindow(void *_this, void * hWnd); + +void __thiscall IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_003_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +bool __thiscall IVRSystem_003_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel); + +void __thiscall IVRSystem_003_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); + +TrackedDeviceClass __thiscall IVRSystem_003_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_003_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_003_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +float __thiscall IVRSystem_003_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_003_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_003_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_003_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); + +const char * __thiscall IVRSystem_003_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); + +bool __thiscall IVRSystem_003_PollNextEvent(void *_this, VREvent_t * pEvent); + +bool __thiscall IVRSystem_003_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_003_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_003_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_003_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); + +bool __thiscall IVRSystem_003_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_003_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_003_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType); + +bool __thiscall IVRSystem_003_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_003_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *_this); + +void test_capi_thunks_IVRSystem_004(void); + +void __thiscall IVRSystem_004_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_004_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_004_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_004_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); + +void __thiscall IVRSystem_004_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +DistortionCoordinates_t *__thiscall IVRSystem_004_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); + +HmdMatrix34_t *__thiscall IVRSystem_004_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_004_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_004_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_004_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); + +bool __thiscall IVRSystem_004_AttachToWindow(void *_this, void * hWnd); + +void __thiscall IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_004_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +TrackedDeviceClass __thiscall IVRSystem_004_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_004_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_004_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +float __thiscall IVRSystem_004_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_004_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_004_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_004_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); + +const char * __thiscall IVRSystem_004_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); + +bool __thiscall IVRSystem_004_PollNextEvent(void *_this, VREvent_t * pEvent); + +bool __thiscall IVRSystem_004_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_004_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_004_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_004_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); + +bool __thiscall IVRSystem_004_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_004_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_004_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_004_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_004_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_004_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +void test_capi_thunks_IVRSystem_005(void); + +void __thiscall IVRSystem_005_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_005_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_005_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_005_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); + +void __thiscall IVRSystem_005_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +DistortionCoordinates_t *__thiscall IVRSystem_005_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); + +HmdMatrix34_t *__thiscall IVRSystem_005_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_005_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_005_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_005_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); + +bool __thiscall IVRSystem_005_AttachToWindow(void *_this, void * hWnd); + +void __thiscall IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_005_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +TrackedDeviceClass __thiscall IVRSystem_005_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_005_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_005_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +float __thiscall IVRSystem_005_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_005_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_005_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_005_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); + +const char * __thiscall IVRSystem_005_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); + +bool __thiscall IVRSystem_005_PollNextEvent(void *_this, VREvent_t * pEvent); + +bool __thiscall IVRSystem_005_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_005_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_005_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_005_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); + +bool __thiscall IVRSystem_005_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_005_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_005_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_005_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_005_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_005_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +void test_capi_thunks_IVRSystem_006(void); + +void __thiscall IVRSystem_006_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_006_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +void __thiscall IVRSystem_006_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_006_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); + +void __thiscall IVRSystem_006_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +DistortionCoordinates_t *__thiscall IVRSystem_006_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); + +HmdMatrix34_t *__thiscall IVRSystem_006_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_006_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_006_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_006_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); + +bool __thiscall IVRSystem_006_AttachToWindow(void *_this, void * hWnd); + +void __thiscall IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_006_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_006_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +TrackedDeviceClass __thiscall IVRSystem_006_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_006_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_006_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +float __thiscall IVRSystem_006_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_006_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_006_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_006_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); + +const char * __thiscall IVRSystem_006_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); + +bool __thiscall IVRSystem_006_PollNextEvent(void *_this, VREvent_t * pEvent); + +bool __thiscall IVRSystem_006_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_006_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_006_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); + +bool __thiscall IVRSystem_006_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); + +bool __thiscall IVRSystem_006_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_006_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_006_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_006_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_006_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_006_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +VRFirmwareError __thiscall IVRSystem_006_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_006_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_006_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void test_capi_thunks_IVRSystem_009(void); + +void __thiscall IVRSystem_009_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_009_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); + +void __thiscall IVRSystem_009_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +DistortionCoordinates_t *__thiscall IVRSystem_009_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); + +HmdMatrix34_t *__thiscall IVRSystem_009_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_009_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_009_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_009_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +bool __thiscall IVRSystem_009_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_009_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_009_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_009_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_009_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +ETrackedDeviceClass __thiscall IVRSystem_009_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_009_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_009_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_009_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_009_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_009_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_009_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_009_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_009_PollNextEvent(void *_this, VREvent_t * pEvent); + +bool __thiscall IVRSystem_009_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_009_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_009_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_009_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); + +bool __thiscall IVRSystem_009_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_009_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_009_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_009_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_009_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_009_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +EVRFirmwareError __thiscall IVRSystem_009_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_009_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_009_AcknowledgeQuit_UserPrompt(void *_this); void test_capi_thunks_IVRSystem_010(void); @@ -5937,253 +6427,937 @@ void __thiscall IVRSystem_010_PerformanceTestEnableCapture(void *_this, bool bEn void __thiscall IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel); -void test_capi_thunks_IVRApplications_002(void); +void test_capi_thunks_IVRSystem_011(void); -EVRApplicationError __thiscall IVRApplications_002_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); +void __thiscall IVRSystem_011_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); -EVRApplicationError __thiscall IVRApplications_002_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); +HmdMatrix44_t *__thiscall IVRSystem_011_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); -bool __thiscall IVRApplications_002_IsApplicationInstalled(void *_this, const char * pchAppKey); +void __thiscall IVRSystem_011_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); -uint32_t __thiscall IVRApplications_002_GetApplicationCount(void *_this); +DistortionCoordinates_t *__thiscall IVRSystem_011_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +HmdMatrix34_t *__thiscall IVRSystem_011_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +bool __thiscall IVRSystem_011_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); -EVRApplicationError __thiscall IVRApplications_002_LaunchApplication(void *_this, const char * pchAppKey); +int32_t __thiscall IVRSystem_011_GetD3D9AdapterIndex(void *_this); -EVRApplicationError __thiscall IVRApplications_002_LaunchDashboardOverlay(void *_this, const char * pchAppKey); +void __thiscall IVRSystem_011_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); -EVRApplicationError __thiscall IVRApplications_002_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); +bool __thiscall IVRSystem_011_IsDisplayOnDesktop(void *_this); -uint32_t __thiscall IVRApplications_002_GetApplicationProcessId(void *_this, const char * pchAppKey); +bool __thiscall IVRSystem_011_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); -const char * __thiscall IVRApplications_002_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); +void __thiscall IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); -uint32_t __thiscall IVRApplications_002_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); +void __thiscall IVRSystem_011_ResetSeatedZeroPose(void *_this); -bool __thiscall IVRApplications_002_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); +HmdMatrix34_t *__thiscall IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); -EVRApplicationError __thiscall IVRApplications_002_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); +HmdMatrix34_t *__thiscall IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); -bool __thiscall IVRApplications_002_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); +uint32_t __thiscall IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); -EVRApplicationError __thiscall IVRApplications_002_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); +EDeviceActivityLevel __thiscall IVRSystem_011_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); -EVRApplicationTransitionState __thiscall IVRApplications_002_GetTransitionState(void *_this); +void __thiscall IVRSystem_011_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); -EVRApplicationError __thiscall IVRApplications_002_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); +TrackedDeviceIndex_t __thiscall IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); -const char * __thiscall IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); +ETrackedControllerRole __thiscall IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); -bool __thiscall IVRApplications_002_IsQuitUserPromptRequested(void *_this); +ETrackedDeviceClass __thiscall IVRSystem_011_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); -void test_capi_thunks_IVRChaperoneSetup_004(void); +bool __thiscall IVRSystem_011_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); -bool __thiscall IVRChaperoneSetup_004_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); +bool __thiscall IVRSystem_011_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -void __thiscall IVRChaperoneSetup_004_RevertWorkingCopy(void *_this); +float __thiscall IVRSystem_011_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); +int32_t __thiscall IVRSystem_011_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); +uint64_t __thiscall IVRSystem_011_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -bool __thiscall IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); +HmdMatrix34_t *__thiscall IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -bool __thiscall IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); +uint32_t __thiscall IVRSystem_011_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); -bool __thiscall IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); +const char * __thiscall IVRSystem_011_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); -bool __thiscall IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); +bool __thiscall IVRSystem_011_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); -void __thiscall IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); +bool __thiscall IVRSystem_011_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); -void __thiscall IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); +const char * __thiscall IVRSystem_011_GetEventTypeNameFromEnum(void *_this, EVREventType eType); -void __thiscall IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); +HiddenAreaMesh_t *__thiscall IVRSystem_011_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); -void __thiscall IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); +bool __thiscall IVRSystem_011_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); -void __thiscall IVRChaperoneSetup_004_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); +bool __thiscall IVRSystem_011_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); -bool __thiscall IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); +void __thiscall IVRSystem_011_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); -void __thiscall IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount); +const char * __thiscall IVRSystem_011_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); -bool __thiscall IVRChaperoneSetup_004_GetLiveWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount); +const char * __thiscall IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); -void test_capi_thunks_IVRCompositor_010(void); +bool __thiscall IVRSystem_011_CaptureInputFocus(void *_this); -void __thiscall IVRCompositor_010_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +void __thiscall IVRSystem_011_ReleaseInputFocus(void *_this); -ETrackingUniverseOrigin __thiscall IVRCompositor_010_GetTrackingSpace(void *_this); +bool __thiscall IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *_this); -EVRCompositorError __thiscall IVRCompositor_010_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +uint32_t __thiscall IVRSystem_011_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); -EVRCompositorError __thiscall IVRCompositor_010_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVRFirmwareError __thiscall IVRSystem_011_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); -EVRCompositorError __thiscall IVRCompositor_010_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +void __thiscall IVRSystem_011_AcknowledgeQuit_Exiting(void *_this); -void __thiscall IVRCompositor_010_ClearLastSubmittedFrame(void *_this); +void __thiscall IVRSystem_011_AcknowledgeQuit_UserPrompt(void *_this); -void __thiscall IVRCompositor_010_PostPresentHandoff(void *_this); +void __thiscall IVRSystem_011_PerformanceTestEnableCapture(void *_this, bool bEnable); -bool __thiscall IVRCompositor_010_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +void __thiscall IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel); -float __thiscall IVRCompositor_010_GetFrameTimeRemaining(void *_this); +void test_capi_thunks_IVRSystem_012(void); -void __thiscall IVRCompositor_010_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +void __thiscall IVRSystem_012_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); -void __thiscall IVRCompositor_010_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +HmdMatrix44_t *__thiscall IVRSystem_012_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); -EVRCompositorError __thiscall IVRCompositor_010_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +void __thiscall IVRSystem_012_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); -void __thiscall IVRCompositor_010_ClearSkyboxOverride(void *_this); +DistortionCoordinates_t *__thiscall IVRSystem_012_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); -void __thiscall IVRCompositor_010_CompositorBringToFront(void *_this); +HmdMatrix34_t *__thiscall IVRSystem_012_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); -void __thiscall IVRCompositor_010_CompositorGoToBack(void *_this); +bool __thiscall IVRSystem_012_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); -void __thiscall IVRCompositor_010_CompositorQuit(void *_this); +int32_t __thiscall IVRSystem_012_GetD3D9AdapterIndex(void *_this); -bool __thiscall IVRCompositor_010_IsFullscreen(void *_this); +void __thiscall IVRSystem_012_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); -uint32_t __thiscall IVRCompositor_010_GetCurrentSceneFocusProcess(void *_this); +bool __thiscall IVRSystem_012_IsDisplayOnDesktop(void *_this); -uint32_t __thiscall IVRCompositor_010_GetLastFrameRenderer(void *_this); +bool __thiscall IVRSystem_012_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); -bool __thiscall IVRCompositor_010_CanRenderScene(void *_this); +void __thiscall IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); -void __thiscall IVRCompositor_010_ShowMirrorWindow(void *_this); +void __thiscall IVRSystem_012_ResetSeatedZeroPose(void *_this); -void __thiscall IVRCompositor_010_HideMirrorWindow(void *_this); +HmdMatrix34_t *__thiscall IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); -bool __thiscall IVRCompositor_010_IsMirrorWindowVisible(void *_this); +HmdMatrix34_t *__thiscall IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); -void __thiscall IVRCompositor_010_CompositorDumpImages(void *_this); +uint32_t __thiscall IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); -void test_capi_thunks_IVROverlay_008(void); +EDeviceActivityLevel __thiscall IVRSystem_012_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); -EVROverlayError __thiscall IVROverlay_008_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); +void __thiscall IVRSystem_012_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); -EVROverlayError __thiscall IVROverlay_008_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); +TrackedDeviceIndex_t __thiscall IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); -EVROverlayError __thiscall IVROverlay_008_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +ETrackedControllerRole __thiscall IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); -EVROverlayError __thiscall IVROverlay_008_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +ETrackedDeviceClass __thiscall IVRSystem_012_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); -VROverlayHandle_t __thiscall IVROverlay_008_GetHighQualityOverlay(void *_this); +bool __thiscall IVRSystem_012_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); -uint32_t __thiscall IVROverlay_008_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +bool __thiscall IVRSystem_012_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -uint32_t __thiscall IVROverlay_008_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); +float __thiscall IVRSystem_012_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); +int32_t __thiscall IVRSystem_012_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -const char * __thiscall IVROverlay_008_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); +uint64_t __thiscall IVRSystem_012_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); +HmdMatrix34_t *__thiscall IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); +uint32_t __thiscall IVRSystem_012_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); +const char * __thiscall IVRSystem_012_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); -EVROverlayError __thiscall IVROverlay_008_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); +bool __thiscall IVRSystem_012_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); -EVROverlayError __thiscall IVROverlay_008_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); +bool __thiscall IVRSystem_012_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); -EVROverlayError __thiscall IVROverlay_008_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); +const char * __thiscall IVRSystem_012_GetEventTypeNameFromEnum(void *_this, EVREventType eType); -EVROverlayError __thiscall IVROverlay_008_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); +HiddenAreaMesh_t *__thiscall IVRSystem_012_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); -EVROverlayError __thiscall IVROverlay_008_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); +bool __thiscall IVRSystem_012_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); -EVROverlayError __thiscall IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); +bool __thiscall IVRSystem_012_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); -EVROverlayError __thiscall IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); +void __thiscall IVRSystem_012_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); +const char * __thiscall IVRSystem_012_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); +const char * __thiscall IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +bool __thiscall IVRSystem_012_CaptureInputFocus(void *_this); -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); +void __thiscall IVRSystem_012_ReleaseInputFocus(void *_this); -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); +bool __thiscall IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *_this); -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +uint32_t __thiscall IVRSystem_012_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); +EVRFirmwareError __thiscall IVRSystem_012_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +void __thiscall IVRSystem_012_AcknowledgeQuit_Exiting(void *_this); -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); +void __thiscall IVRSystem_012_AcknowledgeQuit_UserPrompt(void *_this); -EVROverlayError __thiscall IVROverlay_008_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void test_capi_thunks_IVRSystem_014(void); -EVROverlayError __thiscall IVROverlay_008_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRSystem_014_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); -bool __thiscall IVROverlay_008_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); +HmdMatrix44_t *__thiscall IVRSystem_014_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); -EVROverlayError __thiscall IVROverlay_008_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); +void __thiscall IVRSystem_014_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); -bool __thiscall IVROverlay_008_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); +bool __thiscall IVRSystem_014_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); -EVROverlayError __thiscall IVROverlay_008_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); +HmdMatrix34_t *__thiscall IVRSystem_014_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); -EVROverlayError __thiscall IVROverlay_008_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); +bool __thiscall IVRSystem_014_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); -EVROverlayError __thiscall IVROverlay_008_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +int32_t __thiscall IVRSystem_014_GetD3D9AdapterIndex(void *_this); -EVROverlayError __thiscall IVROverlay_008_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); +void __thiscall IVRSystem_014_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); -bool __thiscall IVROverlay_008_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); +bool __thiscall IVRSystem_014_IsDisplayOnDesktop(void *_this); -bool __thiscall IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); +bool __thiscall IVRSystem_014_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); -bool __thiscall IVROverlay_008_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); -VROverlayHandle_t __thiscall IVROverlay_008_GetGamepadFocusOverlay(void *_this); +void __thiscall IVRSystem_014_ResetSeatedZeroPose(void *_this); -EVROverlayError __thiscall IVROverlay_008_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); +HmdMatrix34_t *__thiscall IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); -EVROverlayError __thiscall IVROverlay_008_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); +HmdMatrix34_t *__thiscall IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); -EVROverlayError __thiscall IVROverlay_008_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); +uint32_t __thiscall IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); -EVROverlayError __thiscall IVROverlay_008_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); +EDeviceActivityLevel __thiscall IVRSystem_014_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); -EVROverlayError __thiscall IVROverlay_008_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); +void __thiscall IVRSystem_014_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); -EVROverlayError __thiscall IVROverlay_008_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); +TrackedDeviceIndex_t __thiscall IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); -EVROverlayError __thiscall IVROverlay_008_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); +ETrackedControllerRole __thiscall IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); -EVROverlayError __thiscall IVROverlay_008_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); +ETrackedDeviceClass __thiscall IVRSystem_014_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); -bool __thiscall IVROverlay_008_IsDashboardVisible(void *_this); +bool __thiscall IVRSystem_014_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); -bool __thiscall IVROverlay_008_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); +bool __thiscall IVRSystem_014_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); +float __thiscall IVRSystem_014_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); +int32_t __thiscall IVRSystem_014_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -void __thiscall IVROverlay_008_ShowDashboard(void *_this, const char * pchOverlayToShow); +uint64_t __thiscall IVRSystem_014_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +HmdMatrix34_t *__thiscall IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); -EVROverlayError __thiscall IVROverlay_008_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); +uint32_t __thiscall IVRSystem_014_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); -uint32_t __thiscall IVROverlay_008_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); +const char * __thiscall IVRSystem_014_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); -void __thiscall IVROverlay_008_HideKeyboard(void *_this); +bool __thiscall IVRSystem_014_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); -void __thiscall IVROverlay_008_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); +bool __thiscall IVRSystem_014_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); -void __thiscall IVROverlay_008_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); +const char * __thiscall IVRSystem_014_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_014_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_014_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_014_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_014_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_014_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_014_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_014_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_014_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +EVRFirmwareError __thiscall IVRSystem_014_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_014_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_014_AcknowledgeQuit_UserPrompt(void *_this); + +void test_capi_thunks_IVRSystem_015(void); + +void __thiscall IVRSystem_015_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_015_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_015_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_015_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_015_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_015_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_015_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_015_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +bool __thiscall IVRSystem_015_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_015_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_015_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_015_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_015_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_015_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_015_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_015_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_015_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_015_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_015_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_015_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_015_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_015_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_015_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_015_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_015_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_015_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_015_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_015_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_015_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_015_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_015_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_015_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +EVRFirmwareError __thiscall IVRSystem_015_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_015_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_015_AcknowledgeQuit_UserPrompt(void *_this); + +void test_capi_thunks_IVRSystem_016(void); + +void __thiscall IVRSystem_016_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_016_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_016_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_016_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_016_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_016_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_016_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_016_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +void __thiscall IVRSystem_016_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType); + +bool __thiscall IVRSystem_016_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_016_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_016_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_016_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_016_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_016_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_016_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_016_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_016_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_016_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_016_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_016_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_016_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_016_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_016_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_016_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_016_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_016_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_016_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_016_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_016_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_016_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_016_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_016_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +EVRFirmwareError __thiscall IVRSystem_016_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_016_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_016_AcknowledgeQuit_UserPrompt(void *_this); + +void test_capi_thunks_IVRSystem_017(void); + +void __thiscall IVRSystem_017_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_017_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_017_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_017_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_017_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_017_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_017_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_017_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +void __thiscall IVRSystem_017_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); + +bool __thiscall IVRSystem_017_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_017_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_017_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_017_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_017_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_017_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_017_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_017_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_017_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_017_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_017_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_017_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_017_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_017_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_017_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_017_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_017_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_017_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_017_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_017_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_017_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_017_CaptureInputFocus(void *_this); + +void __thiscall IVRSystem_017_ReleaseInputFocus(void *_this); + +bool __thiscall IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *_this); + +uint32_t __thiscall IVRSystem_017_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +EVRFirmwareError __thiscall IVRSystem_017_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_017_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_017_AcknowledgeQuit_UserPrompt(void *_this); + +void test_capi_thunks_IVRSystem_019(void); + +void __thiscall IVRSystem_019_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_019_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_019_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_019_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_019_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_019_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_019_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_019_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +void __thiscall IVRSystem_019_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); + +bool __thiscall IVRSystem_019_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_019_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_019_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_019_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_019_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_019_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_019_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_019_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_019_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_019_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_019_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_019_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_019_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_019_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_019_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_019_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_019_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_019_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_019_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_019_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_019_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_019_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_019_IsInputAvailable(void *_this); + +bool __thiscall IVRSystem_019_IsSteamVRDrawingControllers(void *_this); + +bool __thiscall IVRSystem_019_ShouldApplicationPause(void *_this); + +bool __thiscall IVRSystem_019_ShouldApplicationReduceRenderingWork(void *_this); + +uint32_t __thiscall IVRSystem_019_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); + +EVRFirmwareError __thiscall IVRSystem_019_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_019_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_019_AcknowledgeQuit_UserPrompt(void *_this); + +void test_capi_thunks_IVRSystem_020(void); + +void __thiscall IVRSystem_020_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_020_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_020_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_020_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_020_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_020_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_020_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_020_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +void __thiscall IVRSystem_020_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); + +bool __thiscall IVRSystem_020_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_020_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_020_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_020_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_020_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_020_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_020_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_020_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_020_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_020_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_020_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_020_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_020_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_020_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_020_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_020_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_020_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_020_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_020_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_020_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_020_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_020_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_020_IsInputAvailable(void *_this); + +bool __thiscall IVRSystem_020_IsSteamVRDrawingControllers(void *_this); + +bool __thiscall IVRSystem_020_ShouldApplicationPause(void *_this); + +bool __thiscall IVRSystem_020_ShouldApplicationReduceRenderingWork(void *_this); + +EVRFirmwareError __thiscall IVRSystem_020_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_020_AcknowledgeQuit_Exiting(void *_this); + +void __thiscall IVRSystem_020_AcknowledgeQuit_UserPrompt(void *_this); + +uint32_t __thiscall IVRSystem_020_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); + +const char * __thiscall IVRSystem_020_GetRuntimeVersion(void *_this); + +void test_capi_thunks_IVRSystem_021(void); + +void __thiscall IVRSystem_021_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_021_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_021_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_021_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_021_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_021_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_021_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_021_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +void __thiscall IVRSystem_021_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); + +bool __thiscall IVRSystem_021_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_021_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +void __thiscall IVRSystem_021_ResetSeatedZeroPose(void *_this); + +HmdMatrix34_t *__thiscall IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_021_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_021_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_021_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_021_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_021_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_021_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_021_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_021_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_021_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_021_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_021_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_021_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_021_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_021_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_021_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_021_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_021_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_021_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_021_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_021_IsInputAvailable(void *_this); + +bool __thiscall IVRSystem_021_IsSteamVRDrawingControllers(void *_this); + +bool __thiscall IVRSystem_021_ShouldApplicationPause(void *_this); + +bool __thiscall IVRSystem_021_ShouldApplicationReduceRenderingWork(void *_this); + +EVRFirmwareError __thiscall IVRSystem_021_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_021_AcknowledgeQuit_Exiting(void *_this); + +uint32_t __thiscall IVRSystem_021_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); + +const char * __thiscall IVRSystem_021_GetRuntimeVersion(void *_this); + +void test_capi_thunks_IVRSystem_022(void); + +void __thiscall IVRSystem_022_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); + +HmdMatrix44_t *__thiscall IVRSystem_022_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); + +void __thiscall IVRSystem_022_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); + +bool __thiscall IVRSystem_022_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); + +HmdMatrix34_t *__thiscall IVRSystem_022_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); + +bool __thiscall IVRSystem_022_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); + +int32_t __thiscall IVRSystem_022_GetD3D9AdapterIndex(void *_this); + +void __thiscall IVRSystem_022_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); + +void __thiscall IVRSystem_022_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); + +bool __thiscall IVRSystem_022_IsDisplayOnDesktop(void *_this); + +bool __thiscall IVRSystem_022_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); + +void __thiscall IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); + +HmdMatrix34_t *__thiscall IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +HmdMatrix34_t *__thiscall IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); + +uint32_t __thiscall IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); + +EDeviceActivityLevel __thiscall IVRSystem_022_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); + +void __thiscall IVRSystem_022_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); + +TrackedDeviceIndex_t __thiscall IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); + +ETrackedControllerRole __thiscall IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +ETrackedDeviceClass __thiscall IVRSystem_022_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_022_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +bool __thiscall IVRSystem_022_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +float __thiscall IVRSystem_022_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +int32_t __thiscall IVRSystem_022_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint64_t __thiscall IVRSystem_022_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +HmdMatrix34_t *__thiscall IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_022_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); + +uint32_t __thiscall IVRSystem_022_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); + +const char * __thiscall IVRSystem_022_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); + +bool __thiscall IVRSystem_022_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); + +bool __thiscall IVRSystem_022_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); + +const char * __thiscall IVRSystem_022_GetEventTypeNameFromEnum(void *_this, EVREventType eType); + +HiddenAreaMesh_t *__thiscall IVRSystem_022_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); + +bool __thiscall IVRSystem_022_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); + +bool __thiscall IVRSystem_022_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); + +void __thiscall IVRSystem_022_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); + +const char * __thiscall IVRSystem_022_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); + +const char * __thiscall IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); + +bool __thiscall IVRSystem_022_IsInputAvailable(void *_this); + +bool __thiscall IVRSystem_022_IsSteamVRDrawingControllers(void *_this); + +bool __thiscall IVRSystem_022_ShouldApplicationPause(void *_this); + +bool __thiscall IVRSystem_022_ShouldApplicationReduceRenderingWork(void *_this); + +EVRFirmwareError __thiscall IVRSystem_022_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); + +void __thiscall IVRSystem_022_AcknowledgeQuit_Exiting(void *_this); + +uint32_t __thiscall IVRSystem_022_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); + +const char * __thiscall IVRSystem_022_GetRuntimeVersion(void *_this); void test_capi_thunks_IVRTrackedCamera_001(void); @@ -6223,1302 +7397,128 @@ bool __thiscall IVRTrackedCamera_001_GetCameraDistortion(void *_this, TrackedDev bool __thiscall IVRTrackedCamera_001_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t * pProjection); -void test_capi_thunks_IVRCompositor_009(void); +void test_capi_thunks_IVRTrackedCamera_002(void); -void __thiscall IVRCompositor_009_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); +const char * __thiscall IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); -ETrackingUniverseOrigin __thiscall IVRCompositor_009_GetTrackingSpace(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); -EVRCompositorError __thiscall IVRCompositor_009_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); -EVRCompositorError __thiscall IVRCompositor_009_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraIntrinisics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); -EVRCompositorError __thiscall IVRCompositor_009_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); -void __thiscall IVRCompositor_009_ClearLastSubmittedFrame(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); -void __thiscall IVRCompositor_009_PostPresentHandoff(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); -bool __thiscall IVRCompositor_009_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); +EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -float __thiscall IVRCompositor_009_GetFrameTimeRemaining(void *_this); +void test_capi_thunks_IVRTrackedCamera_003(void); -void __thiscall IVRCompositor_009_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); +const char * __thiscall IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); -void __thiscall IVRCompositor_009_FadeGrid(void *_this, float fSeconds, bool bFadeIn); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); -EVRCompositorError __thiscall IVRCompositor_009_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); -void __thiscall IVRCompositor_009_ClearSkyboxOverride(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); -void __thiscall IVRCompositor_009_CompositorBringToFront(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); -void __thiscall IVRCompositor_009_CompositorGoToBack(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); -void __thiscall IVRCompositor_009_CompositorQuit(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); -bool __thiscall IVRCompositor_009_IsFullscreen(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -uint32_t __thiscall IVRCompositor_009_GetCurrentSceneFocusProcess(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); -uint32_t __thiscall IVRCompositor_009_GetLastFrameRenderer(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -bool __thiscall IVRCompositor_009_CanRenderScene(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -void __thiscall IVRCompositor_009_ShowMirrorWindow(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); -void __thiscall IVRCompositor_009_HideMirrorWindow(void *_this); +void test_capi_thunks_IVRTrackedCamera_004(void); -bool __thiscall IVRCompositor_009_IsMirrorWindowVisible(void *_this); +const char * __thiscall IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); -void __thiscall IVRCompositor_009_CompositorDumpImages(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); -void test_capi_thunks_IVRSystem_009(void); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); -void __thiscall IVRSystem_009_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); -HmdMatrix44_t *__thiscall IVRSystem_009_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); -void __thiscall IVRSystem_009_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); -DistortionCoordinates_t *__thiscall IVRSystem_009_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); -HmdMatrix34_t *__thiscall IVRSystem_009_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -bool __thiscall IVRSystem_009_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); -int32_t __thiscall IVRSystem_009_GetD3D9AdapterIndex(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -void __thiscall IVRSystem_009_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -bool __thiscall IVRSystem_009_IsDisplayOnDesktop(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); -bool __thiscall IVRSystem_009_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); +void test_capi_thunks_IVRTrackedCamera_005(void); -void __thiscall IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); +const char * __thiscall IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); -void __thiscall IVRSystem_009_ResetSeatedZeroPose(void *_this); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); -HmdMatrix34_t *__thiscall IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); -HmdMatrix34_t *__thiscall IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); -uint32_t __thiscall IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); -EDeviceActivityLevel __thiscall IVRSystem_009_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); -void __thiscall IVRSystem_009_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); -ETrackedDeviceClass __thiscall IVRSystem_009_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -bool __thiscall IVRSystem_009_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); -bool __thiscall IVRSystem_009_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -float __thiscall IVRSystem_009_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -int32_t __thiscall IVRSystem_009_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); -uint64_t __thiscall IVRSystem_009_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +void test_capi_thunks_IVRTrackedCamera_006(void); -HmdMatrix34_t *__thiscall IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); +const char * __thiscall IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); -uint32_t __thiscall IVRSystem_009_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); -const char * __thiscall IVRSystem_009_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); -bool __thiscall IVRSystem_009_PollNextEvent(void *_this, VREvent_t * pEvent); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); -bool __thiscall IVRSystem_009_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); -const char * __thiscall IVRSystem_009_GetEventTypeNameFromEnum(void *_this, EVREventType eType); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); -HiddenAreaMesh_t *__thiscall IVRSystem_009_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); -bool __thiscall IVRSystem_009_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -bool __thiscall IVRSystem_009_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); -void __thiscall IVRSystem_009_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -const char * __thiscall IVRSystem_009_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); -const char * __thiscall IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); +EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); -bool __thiscall IVRSystem_009_CaptureInputFocus(void *_this); +void __thiscall IVRTrackedCamera_006_SetCameraTrackingSpace(void *_this, ETrackingUniverseOrigin eUniverse); -void __thiscall IVRSystem_009_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_009_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_009_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_009_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_009_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVROverlay_007(void); - -EVROverlayError __thiscall IVROverlay_007_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_007_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_007_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_007_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_007_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_007_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_007_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_007_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_007_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_007_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_007_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_007_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_007_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_007_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_007_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_007_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_007_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_007_ShowDashboard(void *_this, const char * pchOverlayToShow); - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_007_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_007_HideKeyboard(void *_this); - -void test_capi_thunks_IVRSystem_006(void); - -void __thiscall IVRSystem_006_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_006_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_006_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_006_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_006_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_006_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_006_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_006_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_006_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_006_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_006_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_006_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -TrackedDeviceClass __thiscall IVRSystem_006_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_006_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_006_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_006_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_006_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_006_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_006_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_006_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_006_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_006_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_006_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_006_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_006_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_006_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_006_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_006_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_006_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_006_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_006_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -VRFirmwareError __thiscall IVRSystem_006_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_006_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_006_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void test_capi_thunks_IVRApplications_001(void); - -EVRApplicationError __thiscall IVRApplications_001_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_001_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_001_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_001_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_001_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_001_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_001_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_001_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_001_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_001_GetHomeApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_001_SetHomeApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_001_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_001_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_001_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -void test_capi_thunks_IVRChaperone_002(void); - -ChaperoneCalibrationState __thiscall IVRChaperone_002_GetCalibrationState(void *_this); - -bool __thiscall IVRChaperone_002_GetSoftBoundsInfo(void *_this, ChaperoneSoftBoundsInfo_t * pInfo); - -bool __thiscall IVRChaperone_002_GetHardBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperone_002_GetSeatedBoundsInfo(void *_this, ChaperoneSeatedBoundsInfo_t * pInfo); - -void __thiscall IVRChaperone_002_ReloadInfo(void *_this); - -void __thiscall IVRChaperone_002_SetSceneColor(void *_this, HmdColor_t color); - -void __thiscall IVRChaperone_002_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors); - -bool __thiscall IVRChaperone_002_AreBoundsVisible(void *_this); - -void __thiscall IVRChaperone_002_ForceBoundsVisible(void *_this, bool bForce); - -void test_capi_thunks_IVRCompositor_008(void); - -uint32_t __thiscall IVRCompositor_008_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_008_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_008_GetVSync(void *_this); - -void __thiscall IVRCompositor_008_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_008_GetGamma(void *_this); - -VRCompositorError __thiscall IVRCompositor_008_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -VRCompositorError __thiscall IVRCompositor_008_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags); - -void __thiscall IVRCompositor_008_ClearLastSubmittedFrame(void *_this); - -bool __thiscall IVRCompositor_008_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_008_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_008_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_008_SetSkyboxOverride(void *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom); - -void __thiscall IVRCompositor_008_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_008_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_008_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_008_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_008_IsFullscreen(void *_this); - -void __thiscall IVRCompositor_008_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_008_GetTrackingSpace(void *_this); - -uint32_t __thiscall IVRCompositor_008_GetCurrentSceneFocusProcess(void *_this); - -bool __thiscall IVRCompositor_008_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_008_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_008_HideMirrorWindow(void *_this); - -void __thiscall IVRCompositor_008_CompositorDumpImages(void *_this); - -float __thiscall IVRCompositor_008_GetFrameTimeRemaining(void *_this); - -uint32_t __thiscall IVRCompositor_008_GetLastFrameRenderer(void *_this); - -void test_capi_thunks_IVRNotifications_001(void); - -uint32_t __thiscall IVRNotifications_001_GetErrorString(void *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize); - -NotificationError_t __thiscall IVRNotifications_001_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId); - -NotificationError_t __thiscall IVRNotifications_001_DismissNotification(void *_this, VRNotificationId notificationId); - -void test_capi_thunks_IVROverlay_005(void); - -VROverlayError __thiscall IVROverlay_005_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_005_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_005_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -uint32_t __thiscall IVROverlay_005_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -VROverlayError __thiscall IVROverlay_005_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_005_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_005_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_005_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_005_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_005_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_005_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_005_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_005_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_005_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_005_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_005_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_005_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_005_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_005_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_005_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_005_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_005_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_005_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_005_IsFocusOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_005_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_005_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_005_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_005_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_005_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_005_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_005_ShowDashboard(void *_this, const char * pchOverlayToShow); - -VROverlayError __thiscall IVROverlay_005_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode); - -uint32_t __thiscall IVROverlay_005_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_005_HideKeyboard(void *_this); - -void test_capi_thunks_IVRRenderModels_001(void); - -bool __thiscall IVRRenderModels_001_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel); - -void __thiscall IVRRenderModels_001_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelCount(void *_this); - -void test_capi_thunks_IVRSystem_005(void); - -void __thiscall IVRSystem_005_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_005_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_005_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_005_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_005_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_005_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_005_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_005_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_005_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_005_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_005_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_005_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -TrackedDeviceClass __thiscall IVRSystem_005_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_005_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_005_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_005_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_005_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_005_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_005_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_005_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_005_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_005_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_005_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_005_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_005_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_005_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_005_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_005_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_005_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_005_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_005_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -void test_capi_thunks_IVRCompositor_007(void); - -uint32_t __thiscall IVRCompositor_007_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_007_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_007_GetVSync(void *_this); - -void __thiscall IVRCompositor_007_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_007_GetGamma(void *_this); - -VRCompositorError __thiscall IVRCompositor_007_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -VRCompositorError __thiscall IVRCompositor_007_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds); - -void __thiscall IVRCompositor_007_ClearLastSubmittedFrame(void *_this); - -bool __thiscall IVRCompositor_007_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_007_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_007_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_007_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_007_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_007_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_007_IsFullscreen(void *_this); - -void __thiscall IVRCompositor_007_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_007_GetTrackingSpace(void *_this); - -uint32_t __thiscall IVRCompositor_007_GetCurrentSceneFocusProcess(void *_this); - -bool __thiscall IVRCompositor_007_CanRenderScene(void *_this); - -void test_capi_thunks_IVROverlay_004(void); - -VROverlayError __thiscall IVROverlay_004_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_004_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_004_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -uint32_t __thiscall IVROverlay_004_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -VROverlayError __thiscall IVROverlay_004_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_004_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_004_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_004_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_004_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_004_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_004_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_004_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_004_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_004_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_004_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_004_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_004_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_004_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_004_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_004_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_004_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_004_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_004_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_004_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_004_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_004_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_004_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_004_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_004_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_004_ShowDashboard(void *_this, const char * pchOverlayToShow); - -void test_capi_thunks_IVROverlay_003(void); - -VROverlayError __thiscall IVROverlay_003_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_003_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_003_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -uint32_t __thiscall IVROverlay_003_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -VROverlayError __thiscall IVROverlay_003_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_003_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_003_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_003_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_003_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_003_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_003_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_003_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_003_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_003_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_003_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_003_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_003_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_003_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_003_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_003_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_003_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_003_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_003_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_003_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_003_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_003_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_003_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_003_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_003_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_003_ShowDashboard(void *_this, const char * pchOverlayToShow); - -void test_capi_thunks_IVROverlay_002(void); - -VROverlayError __thiscall IVROverlay_002_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_002_GetHighQualityOverlay(void *_this); - -const char * __thiscall IVROverlay_002_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_002_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_002_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_002_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_002_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_002_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_002_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_002_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_002_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_002_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_002_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_002_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_002_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_002_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_002_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_002_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_002_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_002_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_002_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_002_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_002_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_002_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_002_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_002_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void test_capi_thunks_IVRSystem_004(void); - -void __thiscall IVRSystem_004_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_004_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_004_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_004_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_004_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_004_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_004_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_004_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_004_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_004_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_004_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_004_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -TrackedDeviceClass __thiscall IVRSystem_004_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_004_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_004_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_004_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_004_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_004_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_004_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_004_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_004_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_004_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_004_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_004_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_004_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_004_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_004_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_004_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_004_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_004_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_004_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -void test_capi_thunks_IVRCompositor_006(void); - -uint32_t __thiscall IVRCompositor_006_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_006_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_006_GetVSync(void *_this); - -void __thiscall IVRCompositor_006_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_006_GetGamma(void *_this); - -void __thiscall IVRCompositor_006_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice); - -VRCompositorError __thiscall IVRCompositor_006_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -VRCompositorError __thiscall IVRCompositor_006_Submit(void *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds); - -void __thiscall IVRCompositor_006_ClearLastSubmittedFrame(void *_this); - -bool __thiscall IVRCompositor_006_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_006_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_006_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_006_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_006_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_006_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_006_IsFullscreen(void *_this); - -void __thiscall IVRCompositor_006_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_006_GetTrackingSpace(void *_this); - -uint32_t __thiscall IVRCompositor_006_GetCurrentSceneFocusProcess(void *_this); - -bool __thiscall IVRCompositor_006_CanRenderScene(void *_this); - -void test_capi_thunks_IVROverlay_001(void); - -VROverlayError __thiscall IVROverlay_001_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_001_GetHighQualityOverlay(void *_this); - -const char * __thiscall IVROverlay_001_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_001_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_001_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_001_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_001_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_001_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_001_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_001_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_001_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_GetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility); - -VROverlayError __thiscall IVROverlay_001_SetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility); - -VROverlayError __thiscall IVROverlay_001_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_001_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_001_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_001_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_001_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_001_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_001_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_001_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture); - -VROverlayError __thiscall IVROverlay_001_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_001_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -bool __thiscall IVROverlay_001_IsSystemOverlayVisible(void *_this); - -bool __thiscall IVROverlay_001_IsActiveSystemOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_SetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_001_GetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void test_capi_thunks_IVRSystem_003(void); - -void __thiscall IVRSystem_003_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_003_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_003_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_003_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_003_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_003_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_003_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_003_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_003_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_003_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_003_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_003_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -bool __thiscall IVRSystem_003_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel); - -void __thiscall IVRSystem_003_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -TrackedDeviceClass __thiscall IVRSystem_003_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_003_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_003_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_003_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_003_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_003_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_003_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_003_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_003_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_003_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_003_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_003_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_003_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_003_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_003_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_003_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType); - -bool __thiscall IVRSystem_003_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_003_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *_this); - -void test_capi_thunks_IVRCompositor_005(void); - -uint32_t __thiscall IVRCompositor_005_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_005_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_005_GetVSync(void *_this); - -void __thiscall IVRCompositor_005_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_005_GetGamma(void *_this); - -void __thiscall IVRCompositor_005_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice); - -void __thiscall IVRCompositor_005_WaitGetPoses(void *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); - -void __thiscall IVRCompositor_005_Submit(void *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds); - -void __thiscall IVRCompositor_005_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_005_GetOverlayDefaults(void *_this, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_SetOverlay(void *_this, void * pTexture, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_SetOverlayRaw(void *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_SetOverlayFromFile(void *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_ClearOverlay(void *_this); - -bool __thiscall IVRCompositor_005_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_005_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_005_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_005_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_005_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_005_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_005_IsFullscreen(void *_this); - -bool __thiscall IVRCompositor_005_ComputeOverlayIntersection(void *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace); - -void __thiscall IVRCompositor_005_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_005_GetTrackingSpace(void *_this); +ETrackingUniverseOrigin __thiscall IVRTrackedCamera_006_GetCameraTrackingSpace(void *_this); diff --git a/vrclient_x64/tests/capi_thunks_tests_autogen.c b/vrclient_x64/tests/capi_thunks_tests_autogen.c index d2e845a5..259280da 100644 --- a/vrclient_x64/tests/capi_thunks_tests_autogen.c +++ b/vrclient_x64/tests/capi_thunks_tests_autogen.c @@ -1,427 +1,1256 @@ /* This file is auto-generated, do not edit. */ #include "capi_thunks_autogen.h" -void test_capi_thunks_IVRSystem_022(void) +void test_capi_thunks_IVRApplications_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_AddApplicationManifest, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", (void *)2); + capi_IVRApplications_001_AddApplicationManifest((void *)1, 1); + check_ptr_parameter("IVRApplications_001_AddApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_001_AddApplicationManifest", (void *)1); + check_bool_parameter("IVRApplications_001_AddApplicationManifest", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_022_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_022_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_022_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_022_GetProjectionMatrix", 3.0f); + capi_IVRApplications_001_RemoveApplicationManifest((void *)1); + check_ptr_parameter("IVRApplications_001_RemoveApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_001_RemoveApplicationManifest", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_001_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)5); + capi_IVRApplications_001_IsApplicationInstalled((void *)1); + check_ptr_parameter("IVRApplications_001_IsApplicationInstalled", this_ptr_value); + check_ptr_parameter("IVRApplications_001_IsApplicationInstalled", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_022_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationCount)() = (void *)t; clear_parameters(); - capi_IVRSystem_022_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_022_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_022_ComputeDistortion", 1); - check_float_parameter("IVRSystem_022_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_022_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_022_ComputeDistortion", (void *)4); + capi_IVRApplications_001_GetApplicationCount(); + check_ptr_parameter("IVRApplications_001_GetApplicationCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_022_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetEyeToHeadTransform", 1); + capi_IVRApplications_001_GetApplicationKeyByIndex(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_001_GetApplicationKeyByIndex", this_ptr_value); + check_uint32_parameter("IVRApplications_001_GetApplicationKeyByIndex", 1); + check_ptr_parameter("IVRApplications_001_GetApplicationKeyByIndex", (void *)2); + check_uint32_parameter("IVRApplications_001_GetApplicationKeyByIndex", 3); - init_thunk(t, this_ptr_value, IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", (void *)2); + capi_IVRApplications_001_GetApplicationKeyByProcessId(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_001_GetApplicationKeyByProcessId", this_ptr_value); + check_uint32_parameter("IVRApplications_001_GetApplicationKeyByProcessId", 1); + check_ptr_parameter("IVRApplications_001_GetApplicationKeyByProcessId", (void *)2); + check_uint32_parameter("IVRApplications_001_GetApplicationKeyByProcessId", 3); - init_thunk(t, this_ptr_value, IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_022_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_LaunchApplication)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_022_GetD3D9AdapterIndex", this_ptr_value); + capi_IVRApplications_001_LaunchApplication((void *)1); + check_ptr_parameter("IVRApplications_001_LaunchApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_001_LaunchApplication", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_022_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetDXGIOutputInfo", (void *)1); + capi_IVRApplications_001_LaunchDashboardOverlay((void *)1); + check_ptr_parameter("IVRApplications_001_LaunchDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVRApplications_001_LaunchDashboardOverlay", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_022_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_022_GetOutputDevice", (void *)3); + capi_IVRApplications_001_IdentifyApplication(1, (void *)2); + check_ptr_parameter("IVRApplications_001_IdentifyApplication", this_ptr_value); + check_uint32_parameter("IVRApplications_001_IdentifyApplication", 1); + check_ptr_parameter("IVRApplications_001_IdentifyApplication", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_022_IsDisplayOnDesktop", this_ptr_value); + capi_IVRApplications_001_GetApplicationProcessId((void *)1); + check_ptr_parameter("IVRApplications_001_GetApplicationProcessId", this_ptr_value); + check_ptr_parameter("IVRApplications_001_GetApplicationProcessId", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_001_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; clear_parameters(); - capi_IVRSystem_022_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_022_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_022_SetDisplayVisibility", 1); + capi_IVRApplications_001_GetApplicationsErrorNameFromEnum(1); + check_ptr_parameter("IVRApplications_001_GetApplicationsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_001_GetApplicationsErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVRApplications_001_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", this_ptr_value); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)1); + check_uint32_parameter("IVRApplications_001_GetApplicationPropertyString", 2); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)3); + check_uint32_parameter("IVRApplications_001_GetApplicationPropertyString", 4); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_001_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVRApplications_001_GetApplicationPropertyBool((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", this_ptr_value); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", (void *)1); + check_uint32_parameter("IVRApplications_001_GetApplicationPropertyBool", 2); + check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_GetHomeApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVRApplications_001_GetHomeApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_001_GetHomeApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_001_GetHomeApplication", (void *)1); + check_uint32_parameter("IVRApplications_001_GetHomeApplication", 2); - init_thunk(t, this_ptr_value, IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_SetHomeApplication)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVRApplications_001_SetHomeApplication((void *)1); + check_ptr_parameter("IVRApplications_001_SetHomeApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_001_SetHomeApplication", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_022_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_022_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetTrackedDeviceActivityLevel", 1); + capi_IVRApplications_001_SetApplicationAutoLaunch((void *)1, 1); + check_ptr_parameter("IVRApplications_001_SetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_001_SetApplicationAutoLaunch", (void *)1); + check_bool_parameter("IVRApplications_001_SetApplicationAutoLaunch", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_001_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_022_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)3); + capi_IVRApplications_001_GetApplicationAutoLaunch((void *)1); + check_ptr_parameter("IVRApplications_001_GetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_001_GetApplicationAutoLaunch", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_022_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_022_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVRApplications_001_GetStartingApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_001_GetStartingApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_001_GetStartingApplication", (void *)1); + check_uint32_parameter("IVRApplications_001_GetStartingApplication", 2); - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); + EVRApplicationTransitionState (__stdcall *capi_IVRApplications_001_GetTransitionState)() = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_022_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVRApplications_001_GetTransitionState(); + check_ptr_parameter("IVRApplications_001_GetTransitionState", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_022_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_001_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_022_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetTrackedDeviceClass", 1); + capi_IVRApplications_001_PerformApplicationPrelaunchCheck((void *)1); + check_ptr_parameter("IVRApplications_001_PerformApplicationPrelaunchCheck", this_ptr_value); + check_ptr_parameter("IVRApplications_001_PerformApplicationPrelaunchCheck", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; clear_parameters(); - capi_IVRSystem_022_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_022_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_022_IsTrackedDeviceConnected", 1); + capi_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(1); + check_ptr_parameter("IVRApplications_001_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_001_GetApplicationsTransitionStateNameFromEnum", 1); + VirtualFree(t, 0, MEM_RELEASE); +} - init_thunk(t, this_ptr_value, IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; +void test_capi_thunks_IVRApplications_002(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRApplications_002_AddApplicationManifest, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVRApplications_002_AddApplicationManifest((void *)1, 1); + check_ptr_parameter("IVRApplications_002_AddApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_002_AddApplicationManifest", (void *)1); + check_bool_parameter("IVRApplications_002_AddApplicationManifest", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_022_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVRApplications_002_RemoveApplicationManifest((void *)1); + check_ptr_parameter("IVRApplications_002_RemoveApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_002_RemoveApplicationManifest", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_022_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_002_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVRApplications_002_IsApplicationInstalled((void *)1); + check_ptr_parameter("IVRApplications_002_IsApplicationInstalled", this_ptr_value); + check_ptr_parameter("IVRApplications_002_IsApplicationInstalled", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_022_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationCount)() = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVRApplications_002_GetApplicationCount(); + check_ptr_parameter("IVRApplications_002_GetApplicationCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVRApplications_002_GetApplicationKeyByIndex(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_002_GetApplicationKeyByIndex", this_ptr_value); + check_uint32_parameter("IVRApplications_002_GetApplicationKeyByIndex", 1); + check_ptr_parameter("IVRApplications_002_GetApplicationKeyByIndex", (void *)2); + check_uint32_parameter("IVRApplications_002_GetApplicationKeyByIndex", 3); - init_thunk(t, this_ptr_value, IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", (void *)6); + capi_IVRApplications_002_GetApplicationKeyByProcessId(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_002_GetApplicationKeyByProcessId", this_ptr_value); + check_uint32_parameter("IVRApplications_002_GetApplicationKeyByProcessId", 1); + check_ptr_parameter("IVRApplications_002_GetApplicationKeyByProcessId", (void *)2); + check_uint32_parameter("IVRApplications_002_GetApplicationKeyByProcessId", 3); - init_thunk(t, this_ptr_value, IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_LaunchApplication)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", (void *)5); + capi_IVRApplications_002_LaunchApplication((void *)1); + check_ptr_parameter("IVRApplications_002_LaunchApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_002_LaunchApplication", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetPropErrorNameFromEnum", 1); + capi_IVRApplications_002_LaunchDashboardOverlay((void *)1); + check_ptr_parameter("IVRApplications_002_LaunchDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVRApplications_002_LaunchDashboardOverlay", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_022_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_022_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_022_PollNextEvent", 2); + capi_IVRApplications_002_IdentifyApplication(1, (void *)2); + check_ptr_parameter("IVRApplications_002_IdentifyApplication", this_ptr_value); + check_uint32_parameter("IVRApplications_002_IdentifyApplication", 1); + check_ptr_parameter("IVRApplications_002_IdentifyApplication", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_022_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_022_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", (void *)4); + capi_IVRApplications_002_GetApplicationProcessId((void *)1); + check_ptr_parameter("IVRApplications_002_GetApplicationProcessId", this_ptr_value); + check_ptr_parameter("IVRApplications_002_GetApplicationProcessId", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_002_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetEventTypeNameFromEnum", 1); + capi_IVRApplications_002_GetApplicationsErrorNameFromEnum(1); + check_ptr_parameter("IVRApplications_002_GetApplicationsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_002_GetApplicationsErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_022_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_022_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_022_GetHiddenAreaMesh", 2); + capi_IVRApplications_002_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", this_ptr_value); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)1); + check_uint32_parameter("IVRApplications_002_GetApplicationPropertyString", 2); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)3); + check_uint32_parameter("IVRApplications_002_GetApplicationPropertyString", 4); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_002_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_022_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerState", 1); - check_ptr_parameter("IVRSystem_022_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_022_GetControllerState", 3); + capi_IVRApplications_002_GetApplicationPropertyBool((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", this_ptr_value); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", (void *)1); + check_uint32_parameter("IVRApplications_002_GetApplicationPropertyBool", 2); + check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", (void *)5); + capi_IVRApplications_002_SetApplicationAutoLaunch((void *)1, 1); + check_ptr_parameter("IVRApplications_002_SetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_002_SetApplicationAutoLaunch", (void *)1); + check_bool_parameter("IVRApplications_002_SetApplicationAutoLaunch", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_002_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_022_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 3); + capi_IVRApplications_002_GetApplicationAutoLaunch((void *)1); + check_ptr_parameter("IVRApplications_002_GetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_002_GetApplicationAutoLaunch", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetButtonIdNameFromEnum", 1); + capi_IVRApplications_002_GetStartingApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_002_GetStartingApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_002_GetStartingApplication", (void *)1); + check_uint32_parameter("IVRApplications_002_GetStartingApplication", 2); - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); + EVRApplicationTransitionState (__stdcall *capi_IVRApplications_002_GetTransitionState)() = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerAxisTypeNameFromEnum", 1); + capi_IVRApplications_002_GetTransitionState(); + check_ptr_parameter("IVRApplications_002_GetTransitionState", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsInputAvailable)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_002_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_IsInputAvailable(); - check_ptr_parameter("IVRSystem_022_IsInputAvailable", this_ptr_value); + capi_IVRApplications_002_PerformApplicationPrelaunchCheck((void *)1); + check_ptr_parameter("IVRApplications_002_PerformApplicationPrelaunchCheck", this_ptr_value); + check_ptr_parameter("IVRApplications_002_PerformApplicationPrelaunchCheck", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsSteamVRDrawingControllers)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; clear_parameters(); - capi_IVRSystem_022_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_022_IsSteamVRDrawingControllers", this_ptr_value); + capi_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(1); + check_ptr_parameter("IVRApplications_002_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_002_GetApplicationsTransitionStateNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_ShouldApplicationPause)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_002_IsQuitUserPromptRequested)() = (void *)t; clear_parameters(); - capi_IVRSystem_022_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_022_ShouldApplicationPause", this_ptr_value); + capi_IVRApplications_002_IsQuitUserPromptRequested(); + check_ptr_parameter("IVRApplications_002_IsQuitUserPromptRequested", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} - init_thunk(t, this_ptr_value, IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_ShouldApplicationReduceRenderingWork)() = (void *)t; +void test_capi_thunks_IVRApplications_003(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRApplications_003_AddApplicationManifest, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; clear_parameters(); - capi_IVRSystem_022_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_022_ShouldApplicationReduceRenderingWork", this_ptr_value); + capi_IVRApplications_003_AddApplicationManifest((void *)1, 1); + check_ptr_parameter("IVRApplications_003_AddApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_003_AddApplicationManifest", (void *)1); + check_bool_parameter("IVRApplications_003_AddApplicationManifest", 1); - init_thunk(t, this_ptr_value, IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_022_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; clear_parameters(); - capi_IVRSystem_022_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_022_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_022_PerformFirmwareUpdate", 1); + capi_IVRApplications_003_RemoveApplicationManifest((void *)1); + check_ptr_parameter("IVRApplications_003_RemoveApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_003_RemoveApplicationManifest", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_003_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; clear_parameters(); - capi_IVRSystem_022_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_022_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVRApplications_003_IsApplicationInstalled((void *)1); + check_ptr_parameter("IVRApplications_003_IsApplicationInstalled", this_ptr_value); + check_ptr_parameter("IVRApplications_003_IsApplicationInstalled", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationCount)() = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetAppContainerFilePaths((void *)1, 2); - check_ptr_parameter("IVRSystem_022_GetAppContainerFilePaths", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetAppContainerFilePaths", (void *)1); - check_uint32_parameter("IVRSystem_022_GetAppContainerFilePaths", 2); + capi_IVRApplications_003_GetApplicationCount(); + check_ptr_parameter("IVRApplications_003_GetApplicationCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetRuntimeVersion)() = (void *)t; + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; clear_parameters(); - capi_IVRSystem_022_GetRuntimeVersion(); - check_ptr_parameter("IVRSystem_022_GetRuntimeVersion", this_ptr_value); + capi_IVRApplications_003_GetApplicationKeyByIndex(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_003_GetApplicationKeyByIndex", this_ptr_value); + check_uint32_parameter("IVRApplications_003_GetApplicationKeyByIndex", 1); + check_ptr_parameter("IVRApplications_003_GetApplicationKeyByIndex", (void *)2); + check_uint32_parameter("IVRApplications_003_GetApplicationKeyByIndex", 3); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationKeyByProcessId(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_003_GetApplicationKeyByProcessId", this_ptr_value); + check_uint32_parameter("IVRApplications_003_GetApplicationKeyByProcessId", 1); + check_ptr_parameter("IVRApplications_003_GetApplicationKeyByProcessId", (void *)2); + check_uint32_parameter("IVRApplications_003_GetApplicationKeyByProcessId", 3); + + init_thunk(t, this_ptr_value, IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_LaunchApplication)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_LaunchApplication((void *)1); + check_ptr_parameter("IVRApplications_003_LaunchApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_003_LaunchApplication", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_LaunchDashboardOverlay((void *)1); + check_ptr_parameter("IVRApplications_003_LaunchDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVRApplications_003_LaunchDashboardOverlay", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_IdentifyApplication(1, (void *)2); + check_ptr_parameter("IVRApplications_003_IdentifyApplication", this_ptr_value); + check_uint32_parameter("IVRApplications_003_IdentifyApplication", 1); + check_ptr_parameter("IVRApplications_003_IdentifyApplication", (void *)2); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationProcessId((void *)1); + check_ptr_parameter("IVRApplications_003_GetApplicationProcessId", this_ptr_value); + check_ptr_parameter("IVRApplications_003_GetApplicationProcessId", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_003_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationsErrorNameFromEnum(1); + check_ptr_parameter("IVRApplications_003_GetApplicationsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_003_GetApplicationsErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", this_ptr_value); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)1); + check_uint32_parameter("IVRApplications_003_GetApplicationPropertyString", 2); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)3); + check_uint32_parameter("IVRApplications_003_GetApplicationPropertyString", 4); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)5); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_003_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationPropertyBool((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", this_ptr_value); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", (void *)1); + check_uint32_parameter("IVRApplications_003_GetApplicationPropertyBool", 2); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRApplications_003_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationPropertyUint64((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", this_ptr_value); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", (void *)1); + check_uint32_parameter("IVRApplications_003_GetApplicationPropertyUint64", 2); + check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_SetApplicationAutoLaunch((void *)1, 1); + check_ptr_parameter("IVRApplications_003_SetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_003_SetApplicationAutoLaunch", (void *)1); + check_bool_parameter("IVRApplications_003_SetApplicationAutoLaunch", 1); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_003_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationAutoLaunch((void *)1); + check_ptr_parameter("IVRApplications_003_GetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_003_GetApplicationAutoLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetStartingApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_003_GetStartingApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_003_GetStartingApplication", (void *)1); + check_uint32_parameter("IVRApplications_003_GetStartingApplication", 2); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); + EVRApplicationTransitionState (__stdcall *capi_IVRApplications_003_GetTransitionState)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetTransitionState(); + check_ptr_parameter("IVRApplications_003_GetTransitionState", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_003_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_PerformApplicationPrelaunchCheck((void *)1); + check_ptr_parameter("IVRApplications_003_PerformApplicationPrelaunchCheck", this_ptr_value); + check_ptr_parameter("IVRApplications_003_PerformApplicationPrelaunchCheck", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(1); + check_ptr_parameter("IVRApplications_003_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_003_GetApplicationsTransitionStateNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_003_IsQuitUserPromptRequested)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_003_IsQuitUserPromptRequested(); + check_ptr_parameter("IVRApplications_003_IsQuitUserPromptRequested", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRApplications_004(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRApplications_004_AddApplicationManifest, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_AddApplicationManifest((void *)1, 1); + check_ptr_parameter("IVRApplications_004_AddApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_004_AddApplicationManifest", (void *)1); + check_bool_parameter("IVRApplications_004_AddApplicationManifest", 1); + + init_thunk(t, this_ptr_value, IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_RemoveApplicationManifest((void *)1); + check_ptr_parameter("IVRApplications_004_RemoveApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_004_RemoveApplicationManifest", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_004_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_IsApplicationInstalled((void *)1); + check_ptr_parameter("IVRApplications_004_IsApplicationInstalled", this_ptr_value); + check_ptr_parameter("IVRApplications_004_IsApplicationInstalled", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationCount)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationCount(); + check_ptr_parameter("IVRApplications_004_GetApplicationCount", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationKeyByIndex(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_004_GetApplicationKeyByIndex", this_ptr_value); + check_uint32_parameter("IVRApplications_004_GetApplicationKeyByIndex", 1); + check_ptr_parameter("IVRApplications_004_GetApplicationKeyByIndex", (void *)2); + check_uint32_parameter("IVRApplications_004_GetApplicationKeyByIndex", 3); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationKeyByProcessId(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_004_GetApplicationKeyByProcessId", this_ptr_value); + check_uint32_parameter("IVRApplications_004_GetApplicationKeyByProcessId", 1); + check_ptr_parameter("IVRApplications_004_GetApplicationKeyByProcessId", (void *)2); + check_uint32_parameter("IVRApplications_004_GetApplicationKeyByProcessId", 3); + + init_thunk(t, this_ptr_value, IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchApplication)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_LaunchApplication((void *)1); + check_ptr_parameter("IVRApplications_004_LaunchApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_004_LaunchApplication", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_LaunchDashboardOverlay((void *)1); + check_ptr_parameter("IVRApplications_004_LaunchDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVRApplications_004_LaunchDashboardOverlay", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_004_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_CancelApplicationLaunch((void *)1); + check_ptr_parameter("IVRApplications_004_CancelApplicationLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_004_CancelApplicationLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_IdentifyApplication(1, (void *)2); + check_ptr_parameter("IVRApplications_004_IdentifyApplication", this_ptr_value); + check_uint32_parameter("IVRApplications_004_IdentifyApplication", 1); + check_ptr_parameter("IVRApplications_004_IdentifyApplication", (void *)2); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationProcessId((void *)1); + check_ptr_parameter("IVRApplications_004_GetApplicationProcessId", this_ptr_value); + check_ptr_parameter("IVRApplications_004_GetApplicationProcessId", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_004_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationsErrorNameFromEnum(1); + check_ptr_parameter("IVRApplications_004_GetApplicationsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_004_GetApplicationsErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", this_ptr_value); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)1); + check_uint32_parameter("IVRApplications_004_GetApplicationPropertyString", 2); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)3); + check_uint32_parameter("IVRApplications_004_GetApplicationPropertyString", 4); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)5); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_004_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationPropertyBool((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", this_ptr_value); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", (void *)1); + check_uint32_parameter("IVRApplications_004_GetApplicationPropertyBool", 2); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRApplications_004_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationPropertyUint64((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", this_ptr_value); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", (void *)1); + check_uint32_parameter("IVRApplications_004_GetApplicationPropertyUint64", 2); + check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_SetApplicationAutoLaunch((void *)1, 1); + check_ptr_parameter("IVRApplications_004_SetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_004_SetApplicationAutoLaunch", (void *)1); + check_bool_parameter("IVRApplications_004_SetApplicationAutoLaunch", 1); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_004_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationAutoLaunch((void *)1); + check_ptr_parameter("IVRApplications_004_GetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_004_GetApplicationAutoLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetStartingApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_004_GetStartingApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_004_GetStartingApplication", (void *)1); + check_uint32_parameter("IVRApplications_004_GetStartingApplication", 2); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); + EVRApplicationTransitionState (__stdcall *capi_IVRApplications_004_GetTransitionState)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetTransitionState(); + check_ptr_parameter("IVRApplications_004_GetTransitionState", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_PerformApplicationPrelaunchCheck((void *)1); + check_ptr_parameter("IVRApplications_004_PerformApplicationPrelaunchCheck", this_ptr_value); + check_ptr_parameter("IVRApplications_004_PerformApplicationPrelaunchCheck", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(1); + check_ptr_parameter("IVRApplications_004_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_004_GetApplicationsTransitionStateNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_004_IsQuitUserPromptRequested)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_IsQuitUserPromptRequested(); + check_ptr_parameter("IVRApplications_004_IsQuitUserPromptRequested", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; + + clear_parameters(); + capi_IVRApplications_004_LaunchInternalProcess((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", this_ptr_value); + check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)1); + check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)2); + check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)3); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRApplications_005(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRApplications_005_AddApplicationManifest, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_AddApplicationManifest((void *)1, 1); + check_ptr_parameter("IVRApplications_005_AddApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_005_AddApplicationManifest", (void *)1); + check_bool_parameter("IVRApplications_005_AddApplicationManifest", 1); + + init_thunk(t, this_ptr_value, IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_RemoveApplicationManifest((void *)1); + check_ptr_parameter("IVRApplications_005_RemoveApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_005_RemoveApplicationManifest", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_005_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_IsApplicationInstalled((void *)1); + check_ptr_parameter("IVRApplications_005_IsApplicationInstalled", this_ptr_value); + check_ptr_parameter("IVRApplications_005_IsApplicationInstalled", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationCount)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationCount(); + check_ptr_parameter("IVRApplications_005_GetApplicationCount", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationKeyByIndex(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_005_GetApplicationKeyByIndex", this_ptr_value); + check_uint32_parameter("IVRApplications_005_GetApplicationKeyByIndex", 1); + check_ptr_parameter("IVRApplications_005_GetApplicationKeyByIndex", (void *)2); + check_uint32_parameter("IVRApplications_005_GetApplicationKeyByIndex", 3); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationKeyByProcessId(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_005_GetApplicationKeyByProcessId", this_ptr_value); + check_uint32_parameter("IVRApplications_005_GetApplicationKeyByProcessId", 1); + check_ptr_parameter("IVRApplications_005_GetApplicationKeyByProcessId", (void *)2); + check_uint32_parameter("IVRApplications_005_GetApplicationKeyByProcessId", 3); + + init_thunk(t, this_ptr_value, IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchApplication)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_LaunchApplication((void *)1); + check_ptr_parameter("IVRApplications_005_LaunchApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_005_LaunchApplication", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)1); + check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)2); + check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)3); + check_uint32_parameter("IVRApplications_005_LaunchTemplateApplication", 4); + + init_thunk(t, this_ptr_value, IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_LaunchDashboardOverlay((void *)1); + check_ptr_parameter("IVRApplications_005_LaunchDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVRApplications_005_LaunchDashboardOverlay", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_005_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_CancelApplicationLaunch((void *)1); + check_ptr_parameter("IVRApplications_005_CancelApplicationLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_005_CancelApplicationLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_IdentifyApplication(1, (void *)2); + check_ptr_parameter("IVRApplications_005_IdentifyApplication", this_ptr_value); + check_uint32_parameter("IVRApplications_005_IdentifyApplication", 1); + check_ptr_parameter("IVRApplications_005_IdentifyApplication", (void *)2); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationProcessId((void *)1); + check_ptr_parameter("IVRApplications_005_GetApplicationProcessId", this_ptr_value); + check_ptr_parameter("IVRApplications_005_GetApplicationProcessId", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_005_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationsErrorNameFromEnum(1); + check_ptr_parameter("IVRApplications_005_GetApplicationsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_005_GetApplicationsErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", this_ptr_value); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)1); + check_uint32_parameter("IVRApplications_005_GetApplicationPropertyString", 2); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)3); + check_uint32_parameter("IVRApplications_005_GetApplicationPropertyString", 4); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)5); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_005_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationPropertyBool((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", this_ptr_value); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", (void *)1); + check_uint32_parameter("IVRApplications_005_GetApplicationPropertyBool", 2); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRApplications_005_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationPropertyUint64((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", this_ptr_value); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", (void *)1); + check_uint32_parameter("IVRApplications_005_GetApplicationPropertyUint64", 2); + check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_SetApplicationAutoLaunch((void *)1, 1); + check_ptr_parameter("IVRApplications_005_SetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_005_SetApplicationAutoLaunch", (void *)1); + check_bool_parameter("IVRApplications_005_SetApplicationAutoLaunch", 1); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_005_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationAutoLaunch((void *)1); + check_ptr_parameter("IVRApplications_005_GetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_005_GetApplicationAutoLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetStartingApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_005_GetStartingApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_005_GetStartingApplication", (void *)1); + check_uint32_parameter("IVRApplications_005_GetStartingApplication", 2); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); + EVRApplicationTransitionState (__stdcall *capi_IVRApplications_005_GetTransitionState)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetTransitionState(); + check_ptr_parameter("IVRApplications_005_GetTransitionState", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_PerformApplicationPrelaunchCheck((void *)1); + check_ptr_parameter("IVRApplications_005_PerformApplicationPrelaunchCheck", this_ptr_value); + check_ptr_parameter("IVRApplications_005_PerformApplicationPrelaunchCheck", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(1); + check_ptr_parameter("IVRApplications_005_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_005_GetApplicationsTransitionStateNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_005_IsQuitUserPromptRequested)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_IsQuitUserPromptRequested(); + check_ptr_parameter("IVRApplications_005_IsQuitUserPromptRequested", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; + + clear_parameters(); + capi_IVRApplications_005_LaunchInternalProcess((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", this_ptr_value); + check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)1); + check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)2); + check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)3); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRApplications_006(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRApplications_006_AddApplicationManifest, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_AddApplicationManifest((void *)1, 1); + check_ptr_parameter("IVRApplications_006_AddApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_006_AddApplicationManifest", (void *)1); + check_bool_parameter("IVRApplications_006_AddApplicationManifest", 1); + + init_thunk(t, this_ptr_value, IVRApplications_006_RemoveApplicationManifest, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_RemoveApplicationManifest((void *)1); + check_ptr_parameter("IVRApplications_006_RemoveApplicationManifest", this_ptr_value); + check_ptr_parameter("IVRApplications_006_RemoveApplicationManifest", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_IsApplicationInstalled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_IsApplicationInstalled((void *)1); + check_ptr_parameter("IVRApplications_006_IsApplicationInstalled", this_ptr_value); + check_ptr_parameter("IVRApplications_006_IsApplicationInstalled", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationCount)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationCount(); + check_ptr_parameter("IVRApplications_006_GetApplicationCount", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationKeyByIndex, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationKeyByIndex(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_006_GetApplicationKeyByIndex", this_ptr_value); + check_uint32_parameter("IVRApplications_006_GetApplicationKeyByIndex", 1); + check_ptr_parameter("IVRApplications_006_GetApplicationKeyByIndex", (void *)2); + check_uint32_parameter("IVRApplications_006_GetApplicationKeyByIndex", 3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationKeyByProcessId(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_006_GetApplicationKeyByProcessId", this_ptr_value); + check_uint32_parameter("IVRApplications_006_GetApplicationKeyByProcessId", 1); + check_ptr_parameter("IVRApplications_006_GetApplicationKeyByProcessId", (void *)2); + check_uint32_parameter("IVRApplications_006_GetApplicationKeyByProcessId", 3); + + init_thunk(t, this_ptr_value, IVRApplications_006_LaunchApplication, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchApplication)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_LaunchApplication((void *)1); + check_ptr_parameter("IVRApplications_006_LaunchApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_006_LaunchApplication", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_LaunchTemplateApplication, 4, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)1); + check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)2); + check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)3); + check_uint32_parameter("IVRApplications_006_LaunchTemplateApplication", 4); + + init_thunk(t, this_ptr_value, IVRApplications_006_LaunchApplicationFromMimeType, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchApplicationFromMimeType)(const char * pchMimeType, const char * pchArgs) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_LaunchApplicationFromMimeType((void *)1, (void *)2); + check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", this_ptr_value); + check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", (void *)1); + check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", (void *)2); + + init_thunk(t, this_ptr_value, IVRApplications_006_LaunchDashboardOverlay, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_LaunchDashboardOverlay((void *)1); + check_ptr_parameter("IVRApplications_006_LaunchDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVRApplications_006_LaunchDashboardOverlay", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_CancelApplicationLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_CancelApplicationLaunch((void *)1); + check_ptr_parameter("IVRApplications_006_CancelApplicationLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_006_CancelApplicationLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_IdentifyApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_IdentifyApplication(1, (void *)2); + check_ptr_parameter("IVRApplications_006_IdentifyApplication", this_ptr_value); + check_uint32_parameter("IVRApplications_006_IdentifyApplication", 1); + check_ptr_parameter("IVRApplications_006_IdentifyApplication", (void *)2); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationProcessId, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationProcessId((void *)1); + check_ptr_parameter("IVRApplications_006_GetApplicationProcessId", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationProcessId", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_006_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationsErrorNameFromEnum(1); + check_ptr_parameter("IVRApplications_006_GetApplicationsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_006_GetApplicationsErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyString, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)1); + check_uint32_parameter("IVRApplications_006_GetApplicationPropertyString", 2); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)3); + check_uint32_parameter("IVRApplications_006_GetApplicationPropertyString", 4); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)5); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationPropertyBool((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", (void *)1); + check_uint32_parameter("IVRApplications_006_GetApplicationPropertyBool", 2); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyUint64, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRApplications_006_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationPropertyUint64((void *)1, 2, (void *)3); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", (void *)1); + check_uint32_parameter("IVRApplications_006_GetApplicationPropertyUint64", 2); + check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_006_SetApplicationAutoLaunch, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_SetApplicationAutoLaunch((void *)1, 1); + check_ptr_parameter("IVRApplications_006_SetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_006_SetApplicationAutoLaunch", (void *)1); + check_bool_parameter("IVRApplications_006_SetApplicationAutoLaunch", 1); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationAutoLaunch, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationAutoLaunch((void *)1); + check_ptr_parameter("IVRApplications_006_GetApplicationAutoLaunch", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationAutoLaunch", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_SetDefaultApplicationForMimeType)(const char * pchAppKey, const char * pchMimeType) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_SetDefaultApplicationForMimeType((void *)1, (void *)2); + check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", this_ptr_value); + check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", (void *)1); + check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", (void *)2); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_GetDefaultApplicationForMimeType)(const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetDefaultApplicationForMimeType((void *)1, (void *)2, 3); + check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", (void *)1); + check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", (void *)2); + check_uint32_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", 3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_GetApplicationSupportedMimeTypes)(const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationSupportedMimeTypes((void *)1, (void *)2, 3); + check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", (void *)1); + check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", (void *)2); + check_uint32_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", 3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationsThatSupportMimeType)(const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationsThatSupportMimeType((void *)1, (void *)2, 3); + check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", (void *)1); + check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", (void *)2); + check_uint32_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", 3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationLaunchArguments, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationLaunchArguments)(uint32_t unHandle, char * pchArgs, uint32_t unArgs) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationLaunchArguments(1, (void *)2, 3); + check_ptr_parameter("IVRApplications_006_GetApplicationLaunchArguments", this_ptr_value); + check_uint32_parameter("IVRApplications_006_GetApplicationLaunchArguments", 1); + check_ptr_parameter("IVRApplications_006_GetApplicationLaunchArguments", (void *)2); + check_uint32_parameter("IVRApplications_006_GetApplicationLaunchArguments", 3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetStartingApplication, 2, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetStartingApplication((void *)1, 2); + check_ptr_parameter("IVRApplications_006_GetStartingApplication", this_ptr_value); + check_ptr_parameter("IVRApplications_006_GetStartingApplication", (void *)1); + check_uint32_parameter("IVRApplications_006_GetStartingApplication", 2); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetTransitionState, 0, FALSE, FALSE); + EVRApplicationTransitionState (__stdcall *capi_IVRApplications_006_GetTransitionState)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetTransitionState(); + check_ptr_parameter("IVRApplications_006_GetTransitionState", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_006_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_PerformApplicationPrelaunchCheck((void *)1); + check_ptr_parameter("IVRApplications_006_PerformApplicationPrelaunchCheck", this_ptr_value); + check_ptr_parameter("IVRApplications_006_PerformApplicationPrelaunchCheck", (void *)1); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(1); + check_ptr_parameter("IVRApplications_006_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRApplications_006_GetApplicationsTransitionStateNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRApplications_006_IsQuitUserPromptRequested, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRApplications_006_IsQuitUserPromptRequested)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_IsQuitUserPromptRequested(); + check_ptr_parameter("IVRApplications_006_IsQuitUserPromptRequested", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRApplications_006_LaunchInternalProcess, 3, FALSE, FALSE); + EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_LaunchInternalProcess((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", this_ptr_value); + check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)1); + check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)2); + check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)3); + + init_thunk(t, this_ptr_value, IVRApplications_006_GetCurrentSceneProcessId, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRApplications_006_GetCurrentSceneProcessId)() = (void *)t; + + clear_parameters(); + capi_IVRApplications_006_GetCurrentSceneProcessId(); + check_ptr_parameter("IVRApplications_006_GetCurrentSceneProcessId", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } @@ -699,201 +1528,319 @@ void test_capi_thunks_IVRApplications_007(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSettings_003(void) +void test_capi_thunks_IVRChaperoneSetup_004(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSettings_003_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_CommitWorkingCopy, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; clear_parameters(); - capi_IVRSettings_003_GetSettingsErrorNameFromEnum(1); - check_ptr_parameter("IVRSettings_003_GetSettingsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSettings_003_GetSettingsErrorNameFromEnum", 1); + capi_IVRChaperoneSetup_004_CommitWorkingCopy(1); + check_ptr_parameter("IVRChaperoneSetup_004_CommitWorkingCopy", this_ptr_value); + check_uint32_parameter("IVRChaperoneSetup_004_CommitWorkingCopy", 1); - init_thunk(t, this_ptr_value, IVRSettings_003_SetBool, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_RevertWorkingCopy)() = (void *)t; clear_parameters(); - capi_IVRSettings_003_SetBool((void *)1, (void *)2, 1, (void *)4); - check_ptr_parameter("IVRSettings_003_SetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetBool", (void *)1); - check_ptr_parameter("IVRSettings_003_SetBool", (void *)2); - check_bool_parameter("IVRSettings_003_SetBool", 1); - check_ptr_parameter("IVRSettings_003_SetBool", (void *)4); + capi_IVRChaperoneSetup_004_RevertWorkingCopy(); + check_ptr_parameter("IVRChaperoneSetup_004_RevertWorkingCopy", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSettings_003_SetInt32, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; clear_parameters(); - capi_IVRSettings_003_SetInt32((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSettings_003_SetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetInt32", (void *)1); - check_ptr_parameter("IVRSettings_003_SetInt32", (void *)2); - check_uint32_parameter("IVRSettings_003_SetInt32", 3); - check_ptr_parameter("IVRSettings_003_SetInt32", (void *)4); + capi_IVRChaperoneSetup_004_GetWorkingPlayAreaSize((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", (void *)2); - init_thunk(t, this_ptr_value, IVRSettings_003_SetFloat, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; clear_parameters(); - capi_IVRSettings_003_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); - check_ptr_parameter("IVRSettings_003_SetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetFloat", (void *)1); - check_ptr_parameter("IVRSettings_003_SetFloat", (void *)2); - check_float_parameter("IVRSettings_003_SetFloat", 3.0f); - check_ptr_parameter("IVRSettings_003_SetFloat", (void *)4); + capi_IVRChaperoneSetup_004_GetWorkingPlayAreaRect((void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaRect", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaRect", (void *)1); - init_thunk(t, this_ptr_value, IVRSettings_003_SetString, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; clear_parameters(); - capi_IVRSettings_003_SetString((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSettings_003_SetString", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetString", (void *)1); - check_ptr_parameter("IVRSettings_003_SetString", (void *)2); - check_ptr_parameter("IVRSettings_003_SetString", (void *)3); - check_ptr_parameter("IVRSettings_003_SetString", (void *)4); + capi_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", (void *)2); - init_thunk(t, this_ptr_value, IVRSettings_003_GetBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_003_GetBool)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; clear_parameters(); - capi_IVRSettings_003_GetBool((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_GetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetBool", (void *)1); - check_ptr_parameter("IVRSettings_003_GetBool", (void *)2); - check_ptr_parameter("IVRSettings_003_GetBool", (void *)3); + capi_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", (void *)2); - init_thunk(t, this_ptr_value, IVRSettings_003_GetInt32, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSettings_003_GetInt32)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; clear_parameters(); - capi_IVRSettings_003_GetInt32((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_GetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetInt32", (void *)1); - check_ptr_parameter("IVRSettings_003_GetInt32", (void *)2); - check_ptr_parameter("IVRSettings_003_GetInt32", (void *)3); + capi_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - init_thunk(t, this_ptr_value, IVRSettings_003_GetFloat, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSettings_003_GetFloat)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; clear_parameters(); - capi_IVRSettings_003_GetFloat((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_GetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetFloat", (void *)1); - check_ptr_parameter("IVRSettings_003_GetFloat", (void *)2); - check_ptr_parameter("IVRSettings_003_GetFloat", (void *)3); + capi_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - init_thunk(t, this_ptr_value, IVRSettings_003_GetString, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; clear_parameters(); - capi_IVRSettings_003_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSettings_003_GetString", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetString", (void *)1); - check_ptr_parameter("IVRSettings_003_GetString", (void *)2); - check_ptr_parameter("IVRSettings_003_GetString", (void *)3); - check_uint32_parameter("IVRSettings_003_GetString", 4); - check_ptr_parameter("IVRSettings_003_GetString", (void *)5); + capi_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(1.0f, 2.0f); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", this_ptr_value); + check_float_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", 1.0f); + check_float_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", 2.0f); - init_thunk(t, this_ptr_value, IVRSettings_003_RemoveSection, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; clear_parameters(); - capi_IVRSettings_003_RemoveSection((void *)1, (void *)2); - check_ptr_parameter("IVRSettings_003_RemoveSection", this_ptr_value); - check_ptr_parameter("IVRSettings_003_RemoveSection", (void *)1); - check_ptr_parameter("IVRSettings_003_RemoveSection", (void *)2); + capi_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo((void *)1, 2); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", (void *)1); + check_uint32_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", 2); - init_thunk(t, this_ptr_value, IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; clear_parameters(); - capi_IVRSettings_003_RemoveKeyInSection((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", this_ptr_value); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)1); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)2); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)3); + capi_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_004_ReloadFromDisk(1); + check_ptr_parameter("IVRChaperoneSetup_004_ReloadFromDisk", this_ptr_value); + check_uint32_parameter("IVRChaperoneSetup_004_ReloadFromDisk", 1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingWallTagInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_004_SetWorkingWallTagInfo((void *)1, 2); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", (void *)1); + check_uint32_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", 2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveWallTagInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_004_GetLiveWallTagInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", (void *)2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRChaperone_004(void) +void test_capi_thunks_IVRChaperoneSetup_005(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRChaperone_004_GetCalibrationState, 0, FALSE, FALSE); - ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_004_GetCalibrationState)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_CommitWorkingCopy, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_GetCalibrationState(); - check_ptr_parameter("IVRChaperone_004_GetCalibrationState", this_ptr_value); + capi_IVRChaperoneSetup_005_CommitWorkingCopy(1); + check_ptr_parameter("IVRChaperoneSetup_005_CommitWorkingCopy", this_ptr_value); + check_uint32_parameter("IVRChaperoneSetup_005_CommitWorkingCopy", 1); - init_thunk(t, this_ptr_value, IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_004_GetPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_RevertWorkingCopy, 0, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_RevertWorkingCopy)() = (void *)t; clear_parameters(); - capi_IVRChaperone_004_GetPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", (void *)2); + capi_IVRChaperoneSetup_005_RevertWorkingCopy(); + check_ptr_parameter("IVRChaperoneSetup_005_RevertWorkingCopy", this_ptr_value); - init_thunk(t, this_ptr_value, IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_004_GetPlayAreaRect)(HmdQuad_t * rect) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_GetPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaRect", (void *)1); + capi_IVRChaperoneSetup_005_GetWorkingPlayAreaSize((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", (void *)2); - init_thunk(t, this_ptr_value, IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_ReloadInfo)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_ReloadInfo(); - check_ptr_parameter("IVRChaperone_004_ReloadInfo", this_ptr_value); + capi_IVRChaperoneSetup_005_GetWorkingPlayAreaRect((void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaRect", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaRect", (void *)1); - init_thunk(t, this_ptr_value, IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_SetSceneColor)(HmdColor_t color) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_SetSceneColor(DEFAULT_COLOR); - check_ptr_parameter("IVRChaperone_004_SetSceneColor", this_ptr_value); - check_HmdColor_parameter("IVRChaperone_004_SetSceneColor", DEFAULT_COLOR); + capi_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", (void *)2); - init_thunk(t, this_ptr_value, IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); - void (__stdcall *capi_IVRChaperone_004_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_GetBoundsColor((void *)1, 2, 3.0f, (void *)4); - check_ptr_parameter("IVRChaperone_004_GetBoundsColor", this_ptr_value); - check_ptr_parameter("IVRChaperone_004_GetBoundsColor", (void *)1); - check_uint32_parameter("IVRChaperone_004_GetBoundsColor", 2); - check_float_parameter("IVRChaperone_004_GetBoundsColor", 3.0f); - check_ptr_parameter("IVRChaperone_004_GetBoundsColor", (void *)4); + capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", (void *)2); - init_thunk(t, this_ptr_value, IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_004_AreBoundsVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_AreBoundsVisible(); - check_ptr_parameter("IVRChaperone_004_AreBoundsVisible", this_ptr_value); + capi_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - init_thunk(t, this_ptr_value, IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_ForceBoundsVisible)(bool bForce) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_ForceBoundsVisible(1); - check_ptr_parameter("IVRChaperone_004_ForceBoundsVisible", this_ptr_value); - check_bool_parameter("IVRChaperone_004_ForceBoundsVisible", 1); + capi_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - init_thunk(t, this_ptr_value, IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_ResetZeroPose)(ETrackingUniverseOrigin eTrackingUniverseOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; clear_parameters(); - capi_IVRChaperone_004_ResetZeroPose(1); - check_ptr_parameter("IVRChaperone_004_ResetZeroPose", this_ptr_value); - check_uint32_parameter("IVRChaperone_004_ResetZeroPose", 1); + capi_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(1.0f, 2.0f); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", this_ptr_value); + check_float_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", 1.0f); + check_float_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", 2.0f); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo((void *)1, 2); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", (void *)1); + check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", 2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ReloadFromDisk, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_ReloadFromDisk(1); + check_ptr_parameter("IVRChaperoneSetup_005_ReloadFromDisk", this_ptr_value); + check_uint32_parameter("IVRChaperoneSetup_005_ReloadFromDisk", 1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo((void *)1, 2); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", (void *)1); + check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", 2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", (void *)2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo((void *)1, 2); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", (void *)1); + check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", 2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", (void *)2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ExportLiveToBuffer, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_ExportLiveToBuffer)(char * pBuffer, uint32_t * pnBufferLength) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_ExportLiveToBuffer((void *)1, (void *)2); + check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", (void *)1); + check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", (void *)2); + + init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ImportFromBufferToWorking, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperoneSetup_005_ImportFromBufferToWorking)(const char * pBuffer, uint32_t nImportFlags) = (void *)t; + + clear_parameters(); + capi_IVRChaperoneSetup_005_ImportFromBufferToWorking((void *)1, 2); + check_ptr_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", this_ptr_value); + check_ptr_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", (void *)1); + check_uint32_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", 2); VirtualFree(t, 0, MEM_RELEASE); } @@ -1067,2265 +2014,291 @@ void test_capi_thunks_IVRChaperoneSetup_006(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_027(void) +void test_capi_thunks_IVRChaperone_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_GetCalibrationState, 0, FALSE, FALSE); + ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_002_GetCalibrationState)() = (void *)t; clear_parameters(); - capi_IVRCompositor_027_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_027_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_SetTrackingSpace", 1); + capi_IVRChaperone_002_GetCalibrationState(); + check_ptr_parameter("IVRChaperone_002_GetCalibrationState", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_027_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_GetSoftBoundsInfo, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_002_GetSoftBoundsInfo)(ChaperoneSoftBoundsInfo_t * pInfo) = (void *)t; clear_parameters(); - capi_IVRCompositor_027_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_027_GetTrackingSpace", this_ptr_value); + capi_IVRChaperone_002_GetSoftBoundsInfo((void *)1); + check_ptr_parameter("IVRChaperone_002_GetSoftBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperone_002_GetSoftBoundsInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_GetHardBoundsInfo, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_002_GetHardBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; clear_parameters(); - capi_IVRCompositor_027_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_027_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_027_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_027_WaitGetPoses", 4); + capi_IVRChaperone_002_GetHardBoundsInfo((void *)1, (void *)2); + check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", (void *)1); + check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_GetSeatedBoundsInfo, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_002_GetSeatedBoundsInfo)(ChaperoneSeatedBoundsInfo_t * pInfo) = (void *)t; clear_parameters(); - capi_IVRCompositor_027_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_027_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_027_GetLastPoses", 4); + capi_IVRChaperone_002_GetSeatedBoundsInfo((void *)1); + check_ptr_parameter("IVRChaperone_002_GetSeatedBoundsInfo", this_ptr_value); + check_ptr_parameter("IVRChaperone_002_GetSeatedBoundsInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_ReloadInfo, 0, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_002_ReloadInfo)() = (void *)t; clear_parameters(); - capi_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRChaperone_002_ReloadInfo(); + check_ptr_parameter("IVRChaperone_002_ReloadInfo", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_027_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_SetSceneColor, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_002_SetSceneColor)(HmdColor_t color) = (void *)t; clear_parameters(); - capi_IVRCompositor_027_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_Submit", 1); - check_ptr_parameter("IVRCompositor_027_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_027_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_027_Submit", 4); + capi_IVRChaperone_002_SetSceneColor(DEFAULT_COLOR); + check_ptr_parameter("IVRChaperone_002_SetSceneColor", this_ptr_value); + check_HmdColor_parameter("IVRChaperone_002_SetSceneColor", DEFAULT_COLOR); - init_thunk(t, this_ptr_value, IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_GetBoundsColor, 2, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_002_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors) = (void *)t; clear_parameters(); - capi_IVRCompositor_027_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_027_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRChaperone_002_GetBoundsColor((void *)1, 2); + check_ptr_parameter("IVRChaperone_002_GetBoundsColor", this_ptr_value); + check_ptr_parameter("IVRChaperone_002_GetBoundsColor", (void *)1); + check_uint32_parameter("IVRChaperone_002_GetBoundsColor", 2); - init_thunk(t, this_ptr_value, IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_AreBoundsVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_002_AreBoundsVisible)() = (void *)t; clear_parameters(); - capi_IVRCompositor_027_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_027_PostPresentHandoff", this_ptr_value); + capi_IVRChaperone_002_AreBoundsVisible(); + check_ptr_parameter("IVRChaperone_002_AreBoundsVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_002_ForceBoundsVisible)(bool bForce) = (void *)t; clear_parameters(); - capi_IVRCompositor_027_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_027_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_027_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_027_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_027_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_027_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_027_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_027_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_027_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_027_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_027_FadeGrid)(float fSeconds, bool bFadeGridIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_027_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_027_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_027_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_027_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_027_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_027_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_027_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_027_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_027_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorQuit(); - check_ptr_parameter("IVRCompositor_027_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsFullscreen(); - check_ptr_parameter("IVRCompositor_027_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_027_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_027_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CanRenderScene(); - check_ptr_parameter("IVRCompositor_027_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_027_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_027_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_027_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_027_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_027_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_027_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_027_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_027_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_027_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_027_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_027_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_027_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_027_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_027_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_027_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_027_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_027_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_027_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_027_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_027_IsCurrentSceneFocusAppLoading", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)1); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)2); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)3); - check_uint32_parameter("IVRCompositor_027_SetStageOverride_Async", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ClearStageOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ClearStageOverride(); - check_ptr_parameter("IVRCompositor_027_ClearStageOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_GetCompositorBenchmarkResults)(Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCompositorBenchmarkResults((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPosePredictionIDs)(uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetLastPosePredictionIDs((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", (void *)1); - check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetPosesForFrame)(uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetPosesForFrame(1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_027_GetPosesForFrame", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetPosesForFrame", 1); - check_ptr_parameter("IVRCompositor_027_GetPosesForFrame", (void *)2); - check_uint32_parameter("IVRCompositor_027_GetPosesForFrame", 3); + capi_IVRChaperone_002_ForceBoundsVisible(1); + check_ptr_parameter("IVRChaperone_002_ForceBoundsVisible", this_ptr_value); + check_bool_parameter("IVRChaperone_002_ForceBoundsVisible", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRHeadsetView_001(void) +void test_capi_thunks_IVRChaperone_003(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewSize)(uint32_t nWidth, uint32_t nHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_GetCalibrationState, 0, FALSE, FALSE); + ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_003_GetCalibrationState)() = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewSize(1, 2); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewSize", this_ptr_value); - check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewSize", 1); - check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewSize", 2); + capi_IVRChaperone_003_GetCalibrationState(); + check_ptr_parameter("IVRChaperone_003_GetCalibrationState", this_ptr_value); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_003_GetPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewSize((void *)1, (void *)2); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", this_ptr_value); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", (void *)1); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", (void *)2); + capi_IVRChaperone_003_GetPlayAreaSize((void *)1, (void *)2); + check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", this_ptr_value); + check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", (void *)1); + check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", (void *)2); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewMode)(HeadsetViewMode_t eHeadsetViewMode) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_003_GetPlayAreaRect)(HmdQuad_t * rect) = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewMode(1); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewMode", this_ptr_value); - check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewMode", 1); + capi_IVRChaperone_003_GetPlayAreaRect((void *)1); + check_ptr_parameter("IVRChaperone_003_GetPlayAreaRect", this_ptr_value); + check_ptr_parameter("IVRChaperone_003_GetPlayAreaRect", (void *)1); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewMode, 0, FALSE, FALSE); - HeadsetViewMode_t (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewMode)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_003_ReloadInfo)() = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewMode(); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewMode", this_ptr_value); + capi_IVRChaperone_003_ReloadInfo(); + check_ptr_parameter("IVRChaperone_003_ReloadInfo", this_ptr_value); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewCropped, 1, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewCropped)(bool bCropped) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_003_SetSceneColor)(HmdColor_t color) = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewCropped(1); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewCropped", this_ptr_value); - check_bool_parameter("IVRHeadsetView_001_SetHeadsetViewCropped", 1); + capi_IVRChaperone_003_SetSceneColor(DEFAULT_COLOR); + check_ptr_parameter("IVRChaperone_003_SetSceneColor", this_ptr_value); + check_HmdColor_parameter("IVRChaperone_003_SetSceneColor", DEFAULT_COLOR); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewCropped, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewCropped)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); + void (__stdcall *capi_IVRChaperone_003_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewCropped(); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewCropped", this_ptr_value); + capi_IVRChaperone_003_GetBoundsColor((void *)1, 2, 3.0f, (void *)4); + check_ptr_parameter("IVRChaperone_003_GetBoundsColor", this_ptr_value); + check_ptr_parameter("IVRChaperone_003_GetBoundsColor", (void *)1); + check_uint32_parameter("IVRChaperone_003_GetBoundsColor", 2); + check_float_parameter("IVRChaperone_003_GetBoundsColor", 3.0f); + check_ptr_parameter("IVRChaperone_003_GetBoundsColor", (void *)4); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewAspectRatio, 0, FALSE, FALSE); - float (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewAspectRatio)() = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_003_AreBoundsVisible)() = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewAspectRatio(); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewAspectRatio", this_ptr_value); + capi_IVRChaperone_003_AreBoundsVisible(); + check_ptr_parameter("IVRChaperone_003_AreBoundsVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewBlendRange, 2, TRUE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewBlendRange)(float flStartPct, float flEndPct) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_003_ForceBoundsVisible)(bool bForce) = (void *)t; clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewBlendRange(1.0f, 2.0f); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", this_ptr_value); - check_float_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", 1.0f); - check_float_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", 2.0f); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewBlendRange, 2, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewBlendRange)(float * pStartPct, float * pEndPct) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewBlendRange((void *)1, (void *)2); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", this_ptr_value); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", (void *)1); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", (void *)2); + capi_IVRChaperone_003_ForceBoundsVisible(1); + check_ptr_parameter("IVRChaperone_003_ForceBoundsVisible", this_ptr_value); + check_bool_parameter("IVRChaperone_003_ForceBoundsVisible", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRNotifications_002(void) +void test_capi_thunks_IVRChaperone_004(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRNotifications_002_CreateNotification, 7, FALSE, FALSE); - EVRNotificationError (__stdcall *capi_IVRNotifications_002_CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_004_GetCalibrationState, 0, FALSE, FALSE); + ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_004_GetCalibrationState)() = (void *)t; clear_parameters(); - capi_IVRNotifications_002_CreateNotification(1, 2, 3, (void *)4, 5, (void *)6, (void *)7); - check_ptr_parameter("IVRNotifications_002_CreateNotification", this_ptr_value); - check_uint64_parameter("IVRNotifications_002_CreateNotification", 1); - check_uint64_parameter("IVRNotifications_002_CreateNotification", 2); - check_uint32_parameter("IVRNotifications_002_CreateNotification", 3); - check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)4); - check_uint32_parameter("IVRNotifications_002_CreateNotification", 5); - check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)6); - check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)7); + capi_IVRChaperone_004_GetCalibrationState(); + check_ptr_parameter("IVRChaperone_004_GetCalibrationState", this_ptr_value); - init_thunk(t, this_ptr_value, IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); - EVRNotificationError (__stdcall *capi_IVRNotifications_002_RemoveNotification)(VRNotificationId notificationId) = (void *)t; + init_thunk(t, this_ptr_value, IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_004_GetPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; clear_parameters(); - capi_IVRNotifications_002_RemoveNotification(1); - check_ptr_parameter("IVRNotifications_002_RemoveNotification", this_ptr_value); - check_uint32_parameter("IVRNotifications_002_RemoveNotification", 1); + capi_IVRChaperone_004_GetPlayAreaSize((void *)1, (void *)2); + check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", this_ptr_value); + check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", (void *)1); + check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", (void *)2); + + init_thunk(t, this_ptr_value, IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_004_GetPlayAreaRect)(HmdQuad_t * rect) = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_GetPlayAreaRect((void *)1); + check_ptr_parameter("IVRChaperone_004_GetPlayAreaRect", this_ptr_value); + check_ptr_parameter("IVRChaperone_004_GetPlayAreaRect", (void *)1); + + init_thunk(t, this_ptr_value, IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_004_ReloadInfo)() = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_ReloadInfo(); + check_ptr_parameter("IVRChaperone_004_ReloadInfo", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_004_SetSceneColor)(HmdColor_t color) = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_SetSceneColor(DEFAULT_COLOR); + check_ptr_parameter("IVRChaperone_004_SetSceneColor", this_ptr_value); + check_HmdColor_parameter("IVRChaperone_004_SetSceneColor", DEFAULT_COLOR); + + init_thunk(t, this_ptr_value, IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); + void (__stdcall *capi_IVRChaperone_004_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_GetBoundsColor((void *)1, 2, 3.0f, (void *)4); + check_ptr_parameter("IVRChaperone_004_GetBoundsColor", this_ptr_value); + check_ptr_parameter("IVRChaperone_004_GetBoundsColor", (void *)1); + check_uint32_parameter("IVRChaperone_004_GetBoundsColor", 2); + check_float_parameter("IVRChaperone_004_GetBoundsColor", 3.0f); + check_ptr_parameter("IVRChaperone_004_GetBoundsColor", (void *)4); + + init_thunk(t, this_ptr_value, IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRChaperone_004_AreBoundsVisible)() = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_AreBoundsVisible(); + check_ptr_parameter("IVRChaperone_004_AreBoundsVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_004_ForceBoundsVisible)(bool bForce) = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_ForceBoundsVisible(1); + check_ptr_parameter("IVRChaperone_004_ForceBoundsVisible", this_ptr_value); + check_bool_parameter("IVRChaperone_004_ForceBoundsVisible", 1); + + init_thunk(t, this_ptr_value, IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); + void (__stdcall *capi_IVRChaperone_004_ResetZeroPose)(ETrackingUniverseOrigin eTrackingUniverseOrigin) = (void *)t; + + clear_parameters(); + capi_IVRChaperone_004_ResetZeroPose(1); + check_ptr_parameter("IVRChaperone_004_ResetZeroPose", this_ptr_value); + check_uint32_parameter("IVRChaperone_004_ResetZeroPose", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_027(void) +void test_capi_thunks_IVRClientCore_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_027_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_Init, 1, FALSE, FALSE); + EVRInitError (__stdcall *capi_IVRClientCore_002_Init)(EVRApplicationType eApplicationType) = (void *)t; clear_parameters(); - capi_IVROverlay_027_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_027_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_027_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_027_FindOverlay", (void *)2); + capi_IVRClientCore_002_Init(1); + check_ptr_parameter("IVRClientCore_002_Init", this_ptr_value); + check_uint32_parameter("IVRClientCore_002_Init", 1); - init_thunk(t, this_ptr_value, IVROverlay_027_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_Cleanup, 0, FALSE, FALSE); + void (__stdcall *capi_IVRClientCore_002_Cleanup)() = (void *)t; clear_parameters(); - capi_IVROverlay_027_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_027_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_027_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_027_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_027_CreateOverlay", (void *)3); + capi_IVRClientCore_002_Cleanup(); + check_ptr_parameter("IVRClientCore_002_Cleanup", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_027_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_IsInterfaceVersionValid, 1, FALSE, FALSE); + EVRInitError (__stdcall *capi_IVRClientCore_002_IsInterfaceVersionValid)(const char * pchInterfaceVersion) = (void *)t; clear_parameters(); - capi_IVROverlay_027_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_027_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_DestroyOverlay", 1); + capi_IVRClientCore_002_IsInterfaceVersionValid((void *)1); + check_ptr_parameter("IVRClientCore_002_IsInterfaceVersionValid", this_ptr_value); + check_ptr_parameter("IVRClientCore_002_IsInterfaceVersionValid", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_027_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_GetGenericInterface, 2, FALSE, FALSE); + void * (__stdcall *capi_IVRClientCore_002_GetGenericInterface)(const char * pchNameAndVersion, EVRInitError * peError) = (void *)t; clear_parameters(); - capi_IVROverlay_027_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_027_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_027_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_027_GetOverlayKey", (void *)4); + capi_IVRClientCore_002_GetGenericInterface((void *)1, (void *)2); + check_ptr_parameter("IVRClientCore_002_GetGenericInterface", this_ptr_value); + check_ptr_parameter("IVRClientCore_002_GetGenericInterface", (void *)1); + check_ptr_parameter("IVRClientCore_002_GetGenericInterface", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_027_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_BIsHmdPresent, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRClientCore_002_BIsHmdPresent)() = (void *)t; clear_parameters(); - capi_IVROverlay_027_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_027_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_027_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_027_GetOverlayName", (void *)4); + capi_IVRClientCore_002_BIsHmdPresent(); + check_ptr_parameter("IVRClientCore_002_BIsHmdPresent", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_GetEnglishStringForHmdError, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRClientCore_002_GetEnglishStringForHmdError)(EVRInitError eError) = (void *)t; clear_parameters(); - capi_IVROverlay_027_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayName", (void *)2); + capi_IVRClientCore_002_GetEnglishStringForHmdError(1); + check_ptr_parameter("IVRClientCore_002_GetEnglishStringForHmdError", this_ptr_value); + check_uint32_parameter("IVRClientCore_002_GetEnglishStringForHmdError", 1); - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRClientCore_002_GetIDForVRInitError, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRClientCore_002_GetIDForVRInitError)(EVRInitError eError) = (void *)t; clear_parameters(); - capi_IVROverlay_027_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_027_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_027_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_027_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_027_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_027_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_027_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_027_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_027_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_027_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_027_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_027_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_027_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_027_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_027_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_027_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_027_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayColor", 1); - check_float_parameter("IVROverlay_027_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_027_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_027_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_027_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_027_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_027_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_027_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_027_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_027_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_027_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_027_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_027_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_027_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_027_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_027_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_027_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayPreCurvePitch, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float fRadians) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayPreCurvePitch(1, 2.0f); - check_ptr_parameter("IVROverlay_027_SetOverlayPreCurvePitch", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayPreCurvePitch", 1); - check_float_parameter("IVROverlay_027_SetOverlayPreCurvePitch", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayPreCurvePitch, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float * pfRadians) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayPreCurvePitch(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayPreCurvePitch", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayPreCurvePitch", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayPreCurvePitch", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_027_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformProjection, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformProjection", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTransformProjection", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayTransformProjection", 2); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformProjection", (void *)3); - check_ptr_parameter("IVROverlay_027_SetOverlayTransformProjection", (void *)4); - check_uint32_parameter("IVROverlay_027_SetOverlayTransformProjection", 5); - - init_thunk(t, this_ptr_value, IVROverlay_027_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ShowOverlay(1); - check_ptr_parameter("IVROverlay_027_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_HideOverlay(1); - check_ptr_parameter("IVROverlay_027_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_027_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_027_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_027_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_027_WaitFrameSync, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_WaitFrameSync)(uint32_t nTimeoutMs) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_WaitFrameSync(1); - check_ptr_parameter("IVROverlay_027_WaitFrameSync", this_ptr_value); - check_uint32_parameter("IVROverlay_027_WaitFrameSync", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_027_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_027_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_027_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_027_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_027_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_027_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_027_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_027_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_027_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_027_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_027_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_027_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_027_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_027_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_027_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_027_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_027_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_027_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_027_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_027_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_027_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_027_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_027_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_027_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_027_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_027_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_027_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_027_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_027_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_027_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_027_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_027_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_027_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_027_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_027_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_027_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_027_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_027_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_027_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_027_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_027_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_027_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_027_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_027_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_027_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_027_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_027_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_027_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_027_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_027_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_027_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_027_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_027_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_027_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_027_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_027_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_027_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_027_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_027_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_027_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_027_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_027_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_027_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_027_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_027_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_027_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_027_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_027_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_027_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_027_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_027_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_027_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_027_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_027_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_HideKeyboard(); - check_ptr_parameter("IVROverlay_027_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_027_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_027_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_027_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_027_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_027_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_027_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_027_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_027_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_027_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_027_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_027_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_027_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_027_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_027_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_027_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlayView_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlayView_003_AcquireOverlayView, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlayView_003_AcquireOverlayView)(VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_AcquireOverlayView(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", this_ptr_value); - check_uint64_parameter("IVROverlayView_003_AcquireOverlayView", 1); - check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", (void *)2); - check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", (void *)3); - check_uint32_parameter("IVROverlayView_003_AcquireOverlayView", 4); - - init_thunk(t, this_ptr_value, IVROverlayView_003_ReleaseOverlayView, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlayView_003_ReleaseOverlayView)(VROverlayView_t * pOverlayView) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_ReleaseOverlayView((void *)1); - check_ptr_parameter("IVROverlayView_003_ReleaseOverlayView", this_ptr_value); - check_ptr_parameter("IVROverlayView_003_ReleaseOverlayView", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlayView_003_PostOverlayEvent, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlayView_003_PostOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_PostOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlayView_003_PostOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlayView_003_PostOverlayEvent", 1); - check_ptr_parameter("IVROverlayView_003_PostOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlayView_003_IsViewingPermitted, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlayView_003_IsViewingPermitted)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_IsViewingPermitted(1); - check_ptr_parameter("IVROverlayView_003_IsViewingPermitted", this_ptr_value); - check_uint64_parameter("IVROverlayView_003_IsViewingPermitted", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadRenderModel_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadRenderModel_Async((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", (void *)1); - check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_006_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_006_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadTexture_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadTexture_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadTexture_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_LoadTexture_Async", 1); - check_ptr_parameter("IVRRenderModels_006_LoadTexture_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_006_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_006_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_FreeTexture", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadTextureD3D11_Async, 3, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadTextureD3D11_Async(1, (void *)2, (void *)3); - check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", (void *)3); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadIntoTextureD3D11_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_006_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_FreeTextureD3D11((void *)1); - check_ptr_parameter("IVRRenderModels_006_FreeTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_FreeTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentCount)(const char * pchRenderModelName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentCount", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_006_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_006_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_006_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_006_GetComponentName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_006_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_006_GetComponentRenderModelName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentStateForDevicePath, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_006_GetComponentStateForDevicePath)(const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentStateForDevicePath((void *)1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)2); - check_uint64_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", 3); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)5); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentState, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_006_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)5); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_006_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelThumbnailURL)(const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelThumbnailURL((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)2); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", 3); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelOriginalPath, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelOriginalPath)(const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelOriginalPath((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)2); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", 3); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRRenderModels_006_GetRenderModelErrorNameFromEnum)(EVRRenderModelError error) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelErrorNameFromEnum", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRExtendedDisplay_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRExtendedDisplay_001_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRExtendedDisplay_001_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRExtendedDisplay_001_GetEyeOutputViewport)(EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRExtendedDisplay_001_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRExtendedDisplay_001_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRExtendedDisplay_001_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_006_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_006_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_006_HasCamera", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraIntrinsics(1, 2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 2); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 3); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraProjection(1, 2, 3, 4.0f, 5.0f, (void *)6); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 2); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 3); - check_float_parameter("IVRTrackedCamera_006_GetCameraProjection", 4.0f); - check_float_parameter("IVRTrackedCamera_006_GetCameraProjection", 5.0f); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraProjection", (void *)6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_006_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_ReleaseVideoStreamingService", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", 2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRTrackedCamera_006_SetCameraTrackingSpace)(ETrackingUniverseOrigin eUniverse) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_SetCameraTrackingSpace(1); - check_ptr_parameter("IVRTrackedCamera_006_SetCameraTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_SetCameraTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRTrackedCamera_006_GetCameraTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraTrackingSpace(); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraTrackingSpace", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRScreenshots_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_RequestScreenshot, 4, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_RequestScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_RequestScreenshot((void *)1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", this_ptr_value); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)1); - check_uint32_parameter("IVRScreenshots_001_RequestScreenshot", 2); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)3); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)4); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_HookScreenshot, 2, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_HookScreenshot)(EVRScreenshotType * pSupportedTypes, int numTypes) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_HookScreenshot((void *)1, 2); - check_ptr_parameter("IVRScreenshots_001_HookScreenshot", this_ptr_value); - check_ptr_parameter("IVRScreenshots_001_HookScreenshot", (void *)1); - check_uint32_parameter("IVRScreenshots_001_HookScreenshot", 2); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_GetScreenshotPropertyType, 2, FALSE, FALSE); - EVRScreenshotType (__stdcall *capi_IVRScreenshots_001_GetScreenshotPropertyType)(ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_GetScreenshotPropertyType(1, (void *)2); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyType", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyType", 1); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyType", (void *)2); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_GetScreenshotPropertyFilename, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRScreenshots_001_GetScreenshotPropertyFilename)(ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_GetScreenshotPropertyFilename(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 1); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 2); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", (void *)3); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 4); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", (void *)5); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_UpdateScreenshotProgress, 2, TRUE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_UpdateScreenshotProgress)(ScreenshotHandle_t screenshotHandle, float flProgress) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_UpdateScreenshotProgress(1, 2.0f); - check_ptr_parameter("IVRScreenshots_001_UpdateScreenshotProgress", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_UpdateScreenshotProgress", 1); - check_float_parameter("IVRScreenshots_001_UpdateScreenshotProgress", 2.0f); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_TakeStereoScreenshot, 3, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_TakeStereoScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_TakeStereoScreenshot((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", this_ptr_value); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)1); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)2); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)3); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_SubmitScreenshot, 4, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_SubmitScreenshot)(ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_SubmitScreenshot(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_SubmitScreenshot", 1); - check_uint32_parameter("IVRScreenshots_001_SubmitScreenshot", 2); - check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", (void *)3); - check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", (void *)4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRResources_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRResources_001_LoadSharedResource, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRResources_001_LoadSharedResource)(const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRResources_001_LoadSharedResource((void *)1, (void *)2, 3); - check_ptr_parameter("IVRResources_001_LoadSharedResource", this_ptr_value); - check_ptr_parameter("IVRResources_001_LoadSharedResource", (void *)1); - check_ptr_parameter("IVRResources_001_LoadSharedResource", (void *)2); - check_uint32_parameter("IVRResources_001_LoadSharedResource", 3); - - init_thunk(t, this_ptr_value, IVRResources_001_GetResourceFullPath, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRResources_001_GetResourceFullPath)(const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRResources_001_GetResourceFullPath((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", this_ptr_value); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)1); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)2); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)3); - check_uint32_parameter("IVRResources_001_GetResourceFullPath", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRDriverManager_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRDriverManager_001_GetDriverCount)() = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_GetDriverCount(); - check_ptr_parameter("IVRDriverManager_001_GetDriverCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRDriverManager_001_GetDriverName)(DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_GetDriverName(1, (void *)2, 3); - check_ptr_parameter("IVRDriverManager_001_GetDriverName", this_ptr_value); - check_uint32_parameter("IVRDriverManager_001_GetDriverName", 1); - check_ptr_parameter("IVRDriverManager_001_GetDriverName", (void *)2); - check_uint32_parameter("IVRDriverManager_001_GetDriverName", 3); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverHandle, 1, FALSE, FALSE); - DriverHandle_t (__stdcall *capi_IVRDriverManager_001_GetDriverHandle)(const char * pchDriverName) = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_GetDriverHandle((void *)1); - check_ptr_parameter("IVRDriverManager_001_GetDriverHandle", this_ptr_value); - check_ptr_parameter("IVRDriverManager_001_GetDriverHandle", (void *)1); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_IsEnabled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRDriverManager_001_IsEnabled)(DriverId_t nDriver) = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_IsEnabled(1); - check_ptr_parameter("IVRDriverManager_001_IsEnabled", this_ptr_value); - check_uint32_parameter("IVRDriverManager_001_IsEnabled", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_010(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_010_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_010_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_010_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_010_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_010_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_010_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_010_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_010_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_010_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_010_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_010_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_010_UpdateActionState", 2); - check_uint32_parameter("IVRInput_010_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_010_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_010_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_010_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_010_GetDigitalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_010_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_010_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_010_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_010_GetAnalogActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 1); - check_uint32_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 2); - check_float_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 3.0f); - check_ptr_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", (void *)4); - check_uint32_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 5); - check_uint64_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 6); - - init_thunk(t, this_ptr_value, IVRInput_010_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); - check_ptr_parameter("IVRInput_010_GetPoseActionDataForNextFrame", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 1); - check_uint32_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 2); - check_ptr_parameter("IVRInput_010_GetPoseActionDataForNextFrame", (void *)3); - check_uint32_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 4); - check_uint64_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_010_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_010_GetSkeletalActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetDominantHand, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetDominantHand)(ETrackedControllerRole * peDominantHand) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetDominantHand((void *)1); - check_ptr_parameter("IVRInput_010_GetDominantHand", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetDominantHand", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_010_SetDominantHand, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_SetDominantHand)(ETrackedControllerRole eDominantHand) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_SetDominantHand(1); - check_ptr_parameter("IVRInput_010_SetDominantHand", this_ptr_value); - check_uint32_parameter("IVRInput_010_SetDominantHand", 1); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_010_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBoneCount", 1); - check_ptr_parameter("IVRInput_010_GetBoneCount", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_010_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_010_GetBoneHierarchy", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_010_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBoneName", 1); - check_uint32_parameter("IVRInput_010_GetBoneName", 2); - check_ptr_parameter("IVRInput_010_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_010_GetBoneName", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_010_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_010_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_010_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_010_GetSkeletalTrackingLevel", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalSummaryData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalSummaryData(1, 2, (void *)3); - check_ptr_parameter("IVRInput_010_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalSummaryData", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalSummaryData", 2); - check_ptr_parameter("IVRInput_010_GetSkeletalSummaryData", (void *)3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_010_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_010_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_010_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_010_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_010_TriggerHapticVibrationAction", 6); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_010_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_010_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_010_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_010_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_010_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_010_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_010_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_010_GetOriginLocalizedName", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionBindingInfo, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionBindingInfo)(VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionBindingInfo(1, (void *)2, 3, 4, (void *)5); - check_ptr_parameter("IVRInput_010_GetActionBindingInfo", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetActionBindingInfo", 1); - check_ptr_parameter("IVRInput_010_GetActionBindingInfo", (void *)2); - check_uint32_parameter("IVRInput_010_GetActionBindingInfo", 3); - check_uint32_parameter("IVRInput_010_GetActionBindingInfo", 4); - check_ptr_parameter("IVRInput_010_GetActionBindingInfo", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_010_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_010_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_010_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_010_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_010_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_010_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_010_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_010_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_010_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_010_ShowBindingsForActionSet", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetComponentStateForBinding, 6, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetComponentStateForBinding)(const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetComponentStateForBinding((void *)1, (void *)2, (void *)3, 4, 5, (void *)6); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)1); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)2); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)3); - check_uint32_parameter("IVRInput_010_GetComponentStateForBinding", 4); - check_uint32_parameter("IVRInput_010_GetComponentStateForBinding", 5); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)6); - - init_thunk(t, this_ptr_value, IVRInput_010_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_010_IsUsingLegacyInput)() = (void *)t; - - clear_parameters(); - capi_IVRInput_010_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_010_IsUsingLegacyInput", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRInput_010_OpenBindingUI, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_OpenBindingUI)(const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_OpenBindingUI((void *)1, 2, 3, 1); - check_ptr_parameter("IVRInput_010_OpenBindingUI", this_ptr_value); - check_ptr_parameter("IVRInput_010_OpenBindingUI", (void *)1); - check_uint64_parameter("IVRInput_010_OpenBindingUI", 2); - check_uint64_parameter("IVRInput_010_OpenBindingUI", 3); - check_bool_parameter("IVRInput_010_OpenBindingUI", 1); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBindingVariant, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBindingVariant)(VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBindingVariant(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetBindingVariant", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBindingVariant", 1); - check_ptr_parameter("IVRInput_010_GetBindingVariant", (void *)2); - check_uint32_parameter("IVRInput_010_GetBindingVariant", 3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRIOBuffer_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Open, 5, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Open)(const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Open((void *)1, 2, 3, 4, (void *)5); - check_ptr_parameter("IVRIOBuffer_002_Open", this_ptr_value); - check_ptr_parameter("IVRIOBuffer_002_Open", (void *)1); - check_uint32_parameter("IVRIOBuffer_002_Open", 2); - check_uint32_parameter("IVRIOBuffer_002_Open", 3); - check_uint32_parameter("IVRIOBuffer_002_Open", 4); - check_ptr_parameter("IVRIOBuffer_002_Open", (void *)5); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Close, 1, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Close)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Close(1); - check_ptr_parameter("IVRIOBuffer_002_Close", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_Close", 1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Read, 4, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Read(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRIOBuffer_002_Read", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_Read", 1); - check_ptr_parameter("IVRIOBuffer_002_Read", (void *)2); - check_uint32_parameter("IVRIOBuffer_002_Read", 3); - check_ptr_parameter("IVRIOBuffer_002_Read", (void *)4); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Write, 3, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Write(1, (void *)2, 3); - check_ptr_parameter("IVRIOBuffer_002_Write", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_Write", 1); - check_ptr_parameter("IVRIOBuffer_002_Write", (void *)2); - check_uint32_parameter("IVRIOBuffer_002_Write", 3); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_PropertyContainer, 1, FALSE, FALSE); - PropertyContainerHandle_t (__stdcall *capi_IVRIOBuffer_002_PropertyContainer)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_PropertyContainer(1); - check_ptr_parameter("IVRIOBuffer_002_PropertyContainer", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_PropertyContainer", 1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_HasReaders, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRIOBuffer_002_HasReaders)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_HasReaders(1); - check_ptr_parameter("IVRIOBuffer_002_HasReaders", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_HasReaders", 1); + capi_IVRClientCore_002_GetIDForVRInitError(1); + check_ptr_parameter("IVRClientCore_002_GetIDForVRInitError", this_ptr_value); + check_uint32_parameter("IVRClientCore_002_GetIDForVRInitError", 1); VirtualFree(t, 0, MEM_RELEASE); } @@ -3391,1549 +2364,5088 @@ void test_capi_thunks_IVRClientCore_003(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_026(void) +void test_capi_thunks_IVRCompositor_005(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_026_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_GetLastError, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_005_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_026_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_026_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_FindOverlay", (void *)2); + capi_IVRCompositor_005_GetLastError((void *)1, 2); + check_ptr_parameter("IVRCompositor_005_GetLastError", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_GetLastError", (void *)1); + check_uint32_parameter("IVRCompositor_005_GetLastError", 2); - init_thunk(t, this_ptr_value, IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetVSync, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetVSync)(bool bVSync) = (void *)t; clear_parameters(); - capi_IVROverlay_026_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)3); + capi_IVRCompositor_005_SetVSync(1); + check_ptr_parameter("IVRCompositor_005_SetVSync", this_ptr_value); + check_bool_parameter("IVRCompositor_005_SetVSync", 1); - init_thunk(t, this_ptr_value, IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_GetVSync, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_005_GetVSync)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_026_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_DestroyOverlay", 1); + capi_IVRCompositor_005_GetVSync(); + check_ptr_parameter("IVRCompositor_005_GetVSync", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetGamma, 1, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetGamma)(float fGamma) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_026_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_026_GetOverlayKey", (void *)4); + capi_IVRCompositor_005_SetGamma(1.0f); + check_ptr_parameter("IVRCompositor_005_SetGamma", this_ptr_value); + check_float_parameter("IVRCompositor_005_SetGamma", 1.0f); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_GetGamma, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_005_GetGamma)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_026_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_026_GetOverlayName", (void *)4); + capi_IVRCompositor_005_GetGamma(); + check_ptr_parameter("IVRCompositor_005_GetGamma", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetGraphicsDevice)(Compositor_DeviceType eType, void * pDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayName", (void *)2); + capi_IVRCompositor_005_SetGraphicsDevice(1, (void *)2); + check_ptr_parameter("IVRCompositor_005_SetGraphicsDevice", this_ptr_value); + check_uint32_parameter("IVRCompositor_005_SetGraphicsDevice", 1); + check_ptr_parameter("IVRCompositor_005_SetGraphicsDevice", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_WaitGetPoses)(TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_026_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)5); + capi_IVRCompositor_005_WaitGetPoses((void *)1, 2); + check_ptr_parameter("IVRCompositor_005_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_005_WaitGetPoses", 2); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_026_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_Submit, 3, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_Submit)(Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_026_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_026_GetOverlayErrorNameFromEnum", 1); + capi_IVRCompositor_005_Submit(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_005_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_005_Submit", 1); + check_ptr_parameter("IVRCompositor_005_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_005_Submit", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_ClearLastSubmittedFrame)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayRenderingPid", 2); + capi_IVRCompositor_005_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_005_ClearLastSubmittedFrame", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_GetOverlayDefaults)(Compositor_OverlaySettings * pSettings) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_026_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayRenderingPid", 1); + capi_IVRCompositor_005_GetOverlayDefaults((void *)1); + check_ptr_parameter("IVRCompositor_005_GetOverlayDefaults", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_GetOverlayDefaults", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetOverlay)(void * pTexture, Compositor_OverlaySettings * pSettings) = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_026_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_026_SetOverlayFlag", 1); + capi_IVRCompositor_005_SetOverlay((void *)1, (void *)2); + check_ptr_parameter("IVRCompositor_005_SetOverlay", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_SetOverlay", (void *)1); + check_ptr_parameter("IVRCompositor_005_SetOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetOverlayRaw)(void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_026_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_026_GetOverlayFlag", (void *)3); + capi_IVRCompositor_005_SetOverlayRaw((void *)1, 2, 3, 4, (void *)5); + check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", (void *)1); + check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 2); + check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 3); + check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 4); + check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetOverlayFromFile)(const char * pchFilePath, Compositor_OverlaySettings * pSettings) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayFlags", (void *)2); + capi_IVRCompositor_005_SetOverlayFromFile((void *)1, (void *)2); + check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", (void *)1); + check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_ClearOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayColor", 1); - check_float_parameter("IVROverlay_026_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_026_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_026_SetOverlayColor", 4.0f); + capi_IVRCompositor_005_ClearOverlay(); + check_ptr_parameter("IVRCompositor_005_ClearOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_005_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)4); + capi_IVRCompositor_005_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_005_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_005_GetFrameTiming", 2); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_005_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_026_SetOverlayAlpha", 2.0f); + capi_IVRCompositor_005_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_005_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_005_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_005_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_005_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_005_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_005_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_005_FadeToColor", 1); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_005_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayAlpha", (void *)2); + capi_IVRCompositor_005_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_005_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_005_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_005_FadeGrid", 1); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_CompositorBringToFront)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_026_SetOverlayTexelAspect", 2.0f); + capi_IVRCompositor_005_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_005_CompositorBringToFront", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_CompositorGoToBack)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTexelAspect", (void *)2); + capi_IVRCompositor_005_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_005_CompositorGoToBack", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_CompositorQuit)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_026_SetOverlaySortOrder", 2); + capi_IVRCompositor_005_CompositorQuit(); + check_ptr_parameter("IVRCompositor_005_CompositorQuit", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_005_IsFullscreen)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_026_GetOverlaySortOrder", (void *)2); + capi_IVRCompositor_005_IsFullscreen(); + check_ptr_parameter("IVRCompositor_005_IsFullscreen", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); + bool (__stdcall *capi_IVRCompositor_005_ComputeOverlayIntersection)(Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_026_SetOverlayWidthInMeters", 2.0f); + capi_IVRCompositor_005_ComputeOverlayIntersection((void *)1, 2.0f, 3, DEFAULT_VECTOR3, DEFAULT_VECTOR3, (void *)6, (void *)7); + check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", this_ptr_value); + check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)1); + check_float_parameter("IVRCompositor_005_ComputeOverlayIntersection", 2.0f); + check_uint32_parameter("IVRCompositor_005_ComputeOverlayIntersection", 3); + check_HmdVector3_parameter("IVRCompositor_005_ComputeOverlayIntersection", DEFAULT_VECTOR3); + check_HmdVector3_parameter("IVRCompositor_005_ComputeOverlayIntersection", DEFAULT_VECTOR3); + check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)6); + check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)7); - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_005_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; clear_parameters(); - capi_IVROverlay_026_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayWidthInMeters", (void *)2); + capi_IVRCompositor_005_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_005_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_005_SetTrackingSpace", 1); - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); + TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_005_GetTrackingSpace)() = (void *)t; clear_parameters(); - capi_IVROverlay_026_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_026_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float fRadians) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayPreCurvePitch(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayPreCurvePitch", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayPreCurvePitch", 1); - check_float_parameter("IVROverlay_026_SetOverlayPreCurvePitch", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float * pfRadians) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayPreCurvePitch(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayPreCurvePitch", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayPreCurvePitch", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayPreCurvePitch", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformProjection", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformProjection", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", (void *)4); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformProjection", 5); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowOverlay(1); - check_ptr_parameter("IVROverlay_026_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_HideOverlay(1); - check_ptr_parameter("IVROverlay_026_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_026_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_026_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_WaitFrameSync)(uint32_t nTimeoutMs) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_WaitFrameSync(1); - check_ptr_parameter("IVROverlay_026_WaitFrameSync", this_ptr_value); - check_uint32_parameter("IVROverlay_026_WaitFrameSync", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_026_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_026_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_026_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_026_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_026_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_026_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_026_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_026_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_026_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_026_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_026_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_026_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_026_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_026_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_026_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_026_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_026_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_026_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_026_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_026_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_026_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_026_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_026_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_026_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_026_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_026_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_026_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_HideKeyboard(); - check_ptr_parameter("IVROverlay_026_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_026_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_026_CloseMessageOverlay", this_ptr_value); + capi_IVRCompositor_005_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_005_GetTrackingSpace", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_025(void) +void test_capi_thunks_IVRCompositor_006(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_025_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_GetLastError, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_006_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_025_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_025_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_FindOverlay", (void *)2); + capi_IVRCompositor_006_GetLastError((void *)1, 2); + check_ptr_parameter("IVRCompositor_006_GetLastError", this_ptr_value); + check_ptr_parameter("IVRCompositor_006_GetLastError", (void *)1); + check_uint32_parameter("IVRCompositor_006_GetLastError", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_SetVSync, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_SetVSync)(bool bVSync) = (void *)t; clear_parameters(); - capi_IVROverlay_025_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)3); + capi_IVRCompositor_006_SetVSync(1); + check_ptr_parameter("IVRCompositor_006_SetVSync", this_ptr_value); + check_bool_parameter("IVRCompositor_006_SetVSync", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_GetVSync, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_006_GetVSync)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_025_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_DestroyOverlay", 1); + capi_IVRCompositor_006_GetVSync(); + check_ptr_parameter("IVRCompositor_006_GetVSync", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_SetGamma, 1, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_006_SetGamma)(float fGamma) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_025_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_025_GetOverlayKey", (void *)4); + capi_IVRCompositor_006_SetGamma(1.0f); + check_ptr_parameter("IVRCompositor_006_SetGamma", this_ptr_value); + check_float_parameter("IVRCompositor_006_SetGamma", 1.0f); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_GetGamma, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_006_GetGamma)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_025_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_025_GetOverlayName", (void *)4); + capi_IVRCompositor_006_GetGamma(); + check_ptr_parameter("IVRCompositor_006_GetGamma", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_SetGraphicsDevice)(Compositor_DeviceType eType, void * pDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayName", (void *)2); + capi_IVRCompositor_006_SetGraphicsDevice(1, (void *)2); + check_ptr_parameter("IVRCompositor_006_SetGraphicsDevice", this_ptr_value); + check_uint32_parameter("IVRCompositor_006_SetGraphicsDevice", 1); + check_ptr_parameter("IVRCompositor_006_SetGraphicsDevice", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); + VRCompositorError (__stdcall *capi_IVRCompositor_006_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_025_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)5); + capi_IVRCompositor_006_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_006_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_006_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_006_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_006_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_006_WaitGetPoses", 4); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_025_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_Submit, 3, FALSE, FALSE); + VRCompositorError (__stdcall *capi_IVRCompositor_006_Submit)(Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_025_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_025_GetOverlayErrorNameFromEnum", 1); + capi_IVRCompositor_006_Submit(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_006_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_006_Submit", 1); + check_ptr_parameter("IVRCompositor_006_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_006_Submit", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_ClearLastSubmittedFrame)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayRenderingPid", 2); + capi_IVRCompositor_006_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_006_ClearLastSubmittedFrame", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_006_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_025_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayRenderingPid", 1); + capi_IVRCompositor_006_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_006_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_006_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_006_GetFrameTiming", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_006_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_025_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_025_SetOverlayFlag", 1); + capi_IVRCompositor_006_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_006_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_006_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_006_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_006_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_006_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_006_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_006_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_006_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + clear_parameters(); + capi_IVRCompositor_006_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_006_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_006_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_006_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_006_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_006_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_CompositorQuit(); + check_ptr_parameter("IVRCompositor_006_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_006_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_IsFullscreen(); + check_ptr_parameter("IVRCompositor_006_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_006_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_006_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_006_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); + TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_006_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_006_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_006_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_006_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_006_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_006_CanRenderScene(); + check_ptr_parameter("IVRCompositor_006_CanRenderScene", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_007(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_007_GetLastError, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_007_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_GetLastError((void *)1, 2); + check_ptr_parameter("IVRCompositor_007_GetLastError", this_ptr_value); + check_ptr_parameter("IVRCompositor_007_GetLastError", (void *)1); + check_uint32_parameter("IVRCompositor_007_GetLastError", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_007_SetVSync, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_007_SetVSync)(bool bVSync) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_SetVSync(1); + check_ptr_parameter("IVRCompositor_007_SetVSync", this_ptr_value); + check_bool_parameter("IVRCompositor_007_SetVSync", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_007_GetVSync, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_007_GetVSync)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_GetVSync(); + check_ptr_parameter("IVRCompositor_007_GetVSync", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_SetGamma, 1, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_007_SetGamma)(float fGamma) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_SetGamma(1.0f); + check_ptr_parameter("IVRCompositor_007_SetGamma", this_ptr_value); + check_float_parameter("IVRCompositor_007_SetGamma", 1.0f); + + init_thunk(t, this_ptr_value, IVRCompositor_007_GetGamma, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_007_GetGamma)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_GetGamma(); + check_ptr_parameter("IVRCompositor_007_GetGamma", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); + VRCompositorError (__stdcall *capi_IVRCompositor_007_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_007_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_007_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_007_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_007_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_007_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_007_Submit, 4, FALSE, FALSE); + VRCompositorError (__stdcall *capi_IVRCompositor_007_Submit)(Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_Submit(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRCompositor_007_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_007_Submit", 1); + check_uint32_parameter("IVRCompositor_007_Submit", 2); + check_ptr_parameter("IVRCompositor_007_Submit", (void *)3); + check_ptr_parameter("IVRCompositor_007_Submit", (void *)4); + + init_thunk(t, this_ptr_value, IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_007_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_007_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_007_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_007_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_007_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_007_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_007_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_007_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_007_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_007_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_007_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_007_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_007_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_007_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_007_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_007_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_007_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_007_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_007_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_007_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_007_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_007_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_007_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_CompositorQuit(); + check_ptr_parameter("IVRCompositor_007_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_007_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_IsFullscreen(); + check_ptr_parameter("IVRCompositor_007_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_007_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_007_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_007_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); + TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_007_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_007_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_007_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_007_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_007_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_007_CanRenderScene(); + check_ptr_parameter("IVRCompositor_007_CanRenderScene", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_008(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetLastError, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_008_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetLastError((void *)1, 2); + check_ptr_parameter("IVRCompositor_008_GetLastError", this_ptr_value); + check_ptr_parameter("IVRCompositor_008_GetLastError", (void *)1); + check_uint32_parameter("IVRCompositor_008_GetLastError", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_008_SetVSync, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_SetVSync)(bool bVSync) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_SetVSync(1); + check_ptr_parameter("IVRCompositor_008_SetVSync", this_ptr_value); + check_bool_parameter("IVRCompositor_008_SetVSync", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetVSync, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_008_GetVSync)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetVSync(); + check_ptr_parameter("IVRCompositor_008_GetVSync", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_SetGamma, 1, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_008_SetGamma)(float fGamma) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_SetGamma(1.0f); + check_ptr_parameter("IVRCompositor_008_SetGamma", this_ptr_value); + check_float_parameter("IVRCompositor_008_SetGamma", 1.0f); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetGamma, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_008_GetGamma)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetGamma(); + check_ptr_parameter("IVRCompositor_008_GetGamma", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); + VRCompositorError (__stdcall *capi_IVRCompositor_008_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_008_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_008_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_008_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_008_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_008_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_008_Submit, 5, FALSE, FALSE); + VRCompositorError (__stdcall *capi_IVRCompositor_008_Submit)(Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_Submit(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRCompositor_008_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_008_Submit", 1); + check_uint32_parameter("IVRCompositor_008_Submit", 2); + check_ptr_parameter("IVRCompositor_008_Submit", (void *)3); + check_ptr_parameter("IVRCompositor_008_Submit", (void *)4); + check_uint32_parameter("IVRCompositor_008_Submit", 5); + + init_thunk(t, this_ptr_value, IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_008_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_008_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_008_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_008_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_008_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_008_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_008_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_008_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_008_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_008_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_008_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_008_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_008_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_008_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_008_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_008_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_008_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_SetSkyboxOverride)(GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_SetSkyboxOverride(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", this_ptr_value); + check_uint32_parameter("IVRCompositor_008_SetSkyboxOverride", 1); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)2); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)3); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)4); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)5); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)6); + check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)7); + + init_thunk(t, this_ptr_value, IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_008_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_008_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_008_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_CompositorQuit(); + check_ptr_parameter("IVRCompositor_008_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_008_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_IsFullscreen(); + check_ptr_parameter("IVRCompositor_008_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_008_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_008_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); + TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_008_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_008_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_008_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_008_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_008_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_CanRenderScene(); + check_ptr_parameter("IVRCompositor_008_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_008_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_008_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_008_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_008_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_008_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_008_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_008_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_008_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_008_GetLastFrameRenderer", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_009(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_009_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_009_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_009_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_009_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_009_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_009_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_009_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_009_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_009_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_009_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_009_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_009_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_009_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_009_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_009_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_009_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_009_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_009_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_009_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_009_Submit", 1); + check_ptr_parameter("IVRCompositor_009_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_009_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_009_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_009_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_009_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_009_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_009_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_009_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_009_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_009_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_009_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_009_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_009_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_009_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_009_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_009_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_009_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_009_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_009_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_009_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_009_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_009_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_009_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_009_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_009_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_009_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_009_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_009_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_009_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_009_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_CompositorQuit(); + check_ptr_parameter("IVRCompositor_009_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_009_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_IsFullscreen(); + check_ptr_parameter("IVRCompositor_009_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_009_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_009_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_009_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_009_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_009_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_CanRenderScene(); + check_ptr_parameter("IVRCompositor_009_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_009_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_009_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_009_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_009_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_009_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_009_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_009_CompositorDumpImages", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_010(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_010_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_010_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_010_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_010_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_010_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_010_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_010_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_010_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_010_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_010_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_010_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_010_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_010_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_010_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_010_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_010_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_010_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_010_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_010_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_010_Submit", 1); + check_ptr_parameter("IVRCompositor_010_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_010_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_010_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_010_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_010_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_010_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_010_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_010_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_010_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_010_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_010_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_010_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_010_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_010_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_010_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_010_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_010_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_010_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_010_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_010_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_010_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_010_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_010_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_010_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_010_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_010_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_010_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_010_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_010_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_010_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_CompositorQuit(); + check_ptr_parameter("IVRCompositor_010_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_010_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_IsFullscreen(); + check_ptr_parameter("IVRCompositor_010_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_010_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_010_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_010_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_010_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_010_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_CanRenderScene(); + check_ptr_parameter("IVRCompositor_010_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_010_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_010_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_010_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_010_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_010_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_010_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_010_CompositorDumpImages", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_011(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_011_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_011_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_011_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_011_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_011_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_011_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_011_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_011_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_011_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_011_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_011_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_011_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_011_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_011_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_011_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_011_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_011_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_011_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_011_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_011_Submit", 1); + check_ptr_parameter("IVRCompositor_011_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_011_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_011_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_011_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_011_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_011_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_011_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_011_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_011_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_011_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_011_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_011_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_011_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_011_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_011_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_011_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_011_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_011_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_011_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_011_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_011_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_011_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_011_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_011_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_011_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_011_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_011_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_011_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_011_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_011_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_CompositorQuit(); + check_ptr_parameter("IVRCompositor_011_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_011_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_IsFullscreen(); + check_ptr_parameter("IVRCompositor_011_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_011_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_011_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_011_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_011_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_011_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_CanRenderScene(); + check_ptr_parameter("IVRCompositor_011_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_011_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_011_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_011_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_011_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_011_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_011_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_011_CompositorDumpImages", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_012(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_012_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_012_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_012_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_012_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_012_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_012_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_012_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_012_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_012_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_012_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_012_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_012_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_012_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_012_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_012_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_012_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_012_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_012_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_012_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_012_Submit", 1); + check_ptr_parameter("IVRCompositor_012_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_012_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_012_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_012_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_012_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_012_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_012_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_012_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_012_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_012_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_012_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_012_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_012_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_012_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_012_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_012_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_012_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_012_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_012_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_012_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_012_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_012_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_012_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_012_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_012_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_012_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_012_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_012_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_012_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_012_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_CompositorQuit(); + check_ptr_parameter("IVRCompositor_012_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_012_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_IsFullscreen(); + check_ptr_parameter("IVRCompositor_012_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_012_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_012_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_012_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_012_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_012_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_CanRenderScene(); + check_ptr_parameter("IVRCompositor_012_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_012_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_012_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_012_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_012_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_012_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_012_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_012_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_012_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_012_ShouldAppRenderWithLowResources", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_013(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_013_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_013_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_013_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_013_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_013_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_013_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_013_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_013_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_013_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_013_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_013_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_013_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_013_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_013_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_013_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_013_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_013_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_013_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_013_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_013_Submit", 1); + check_ptr_parameter("IVRCompositor_013_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_013_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_013_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_013_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_013_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_013_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_013_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_013_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_013_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_013_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_013_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_013_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_013_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_013_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_013_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_013_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_013_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_013_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_013_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_013_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_013_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_013_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_013_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_013_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_013_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_013_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_013_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_013_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_013_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_013_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_CompositorQuit(); + check_ptr_parameter("IVRCompositor_013_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_013_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_IsFullscreen(); + check_ptr_parameter("IVRCompositor_013_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_013_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_013_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_013_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_013_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_013_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_CanRenderScene(); + check_ptr_parameter("IVRCompositor_013_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_013_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_013_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_013_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_013_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_013_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_013_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_013_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_013_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_013_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_013_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_013_ForceInterleavedReprojectionOn", 1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_014(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_014_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_014_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_014_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_014_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_014_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_014_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_014_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_014_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_014_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_014_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_014_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_014_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_014_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_014_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_014_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_014_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_014_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_014_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_014_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_014_Submit", 1); + check_ptr_parameter("IVRCompositor_014_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_014_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_014_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_014_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_014_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_014_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_014_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_014_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_014_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_014_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_014_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_014_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_014_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_014_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_014_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_014_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_014_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_014_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_014_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_014_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_014_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_014_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_014_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_014_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_014_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_014_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_014_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_014_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_014_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_014_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_CompositorQuit(); + check_ptr_parameter("IVRCompositor_014_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_014_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_IsFullscreen(); + check_ptr_parameter("IVRCompositor_014_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_014_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_014_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_014_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_014_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_014_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_CanRenderScene(); + check_ptr_parameter("IVRCompositor_014_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_014_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_014_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_014_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_014_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_014_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_014_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_014_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_014_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_014_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_014_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_014_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_014_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_014_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_014_SuspendRendering", 1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_015(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_015_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_015_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_015_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_015_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_015_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_015_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_015_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_015_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_015_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_015_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_015_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_015_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_015_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_Submit", 1); + check_ptr_parameter("IVRCompositor_015_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_015_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_015_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_015_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_015_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_015_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_015_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_015_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_015_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_015_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_015_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_015_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_015_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_015_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_015_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_015_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_015_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_015_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_015_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_015_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_015_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_015_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_015_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_015_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_015_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_015_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_015_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_015_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_015_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_CompositorQuit(); + check_ptr_parameter("IVRCompositor_015_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_015_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_IsFullscreen(); + check_ptr_parameter("IVRCompositor_015_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_015_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_015_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_015_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_015_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_015_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_CanRenderScene(); + check_ptr_parameter("IVRCompositor_015_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_015_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_015_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_015_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_015_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_015_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_015_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_015_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_015_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_015_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_015_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_015_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_015_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_RequestScreenshot)(EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_RequestScreenshot(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_015_RequestScreenshot", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_RequestScreenshot", 1); + check_ptr_parameter("IVRCompositor_015_RequestScreenshot", (void *)2); + check_ptr_parameter("IVRCompositor_015_RequestScreenshot", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); + EVRScreenshotType (__stdcall *capi_IVRCompositor_015_GetCurrentScreenshotType)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetCurrentScreenshotType(); + check_ptr_parameter("IVRCompositor_015_GetCurrentScreenshotType", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_015_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_015_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_015_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_015_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_015_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_015_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_015_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_015_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_015_UnlockGLSharedTextureForAccess", (void *)1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_016(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_016_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_016_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_016_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_016_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_016_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_016_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_016_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_016_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_016_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_016_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_016_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_016_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_016_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_016_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_016_Submit", 1); + check_ptr_parameter("IVRCompositor_016_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_016_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_016_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_016_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_016_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_016_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_016_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_016_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_016_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_016_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_016_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_016_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_016_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_016_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_016_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_016_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_016_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_016_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_016_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_016_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_016_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_016_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_016_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_016_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_016_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_016_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_016_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_016_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_016_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_CompositorQuit(); + check_ptr_parameter("IVRCompositor_016_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_016_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_IsFullscreen(); + check_ptr_parameter("IVRCompositor_016_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_016_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_016_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_016_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_016_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_016_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_CanRenderScene(); + check_ptr_parameter("IVRCompositor_016_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_016_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_016_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_016_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_016_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_016_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_016_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_016_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_016_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_016_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_016_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_016_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_016_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_016_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_016_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_016_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_016_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_016_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_016_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_016_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_016_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_016_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_016_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_016_UnlockGLSharedTextureForAccess", (void *)1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_017(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_017_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_017_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_017_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_017_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_017_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_017_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_017_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_017_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_017_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_017_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_017_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_017_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_017_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_017_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_017_Submit", 1); + check_ptr_parameter("IVRCompositor_017_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_017_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_017_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_017_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_017_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_017_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_017_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_017_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_017_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_017_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_017_GetFrameTimings", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_017_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_017_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_017_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_017_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_017_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_017_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_017_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_017_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_017_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_017_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_017_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_017_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_017_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_017_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_017_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_017_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_017_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_017_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_017_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_017_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_017_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_CompositorQuit(); + check_ptr_parameter("IVRCompositor_017_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_017_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_IsFullscreen(); + check_ptr_parameter("IVRCompositor_017_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_017_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_017_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_017_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_017_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_017_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_CanRenderScene(); + check_ptr_parameter("IVRCompositor_017_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_017_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_017_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_017_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_017_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_017_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_017_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_017_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_017_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_017_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_017_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_017_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_017_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_017_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_017_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_017_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_017_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_017_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_017_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_017_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_017_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_017_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_017_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_017_UnlockGLSharedTextureForAccess", (void *)1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_018(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_018_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_018_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_018_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_018_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_018_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_018_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_018_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_018_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_018_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_018_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_018_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_018_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_018_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_018_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_018_Submit", 1); + check_ptr_parameter("IVRCompositor_018_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_018_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_018_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_018_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_018_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_018_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_018_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_018_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_018_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_018_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_018_GetFrameTimings", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_018_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_018_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_018_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_018_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_018_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_018_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_018_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_018_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_018_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_018_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_018_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_018_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_018_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_018_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_018_GetCurrentFadeColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_018_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_018_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_018_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_018_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_018_GetCurrentGridAlpha)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_018_GetCurrentGridAlpha", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_018_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_018_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_018_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_018_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_018_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_CompositorQuit(); + check_ptr_parameter("IVRCompositor_018_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_018_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_IsFullscreen(); + check_ptr_parameter("IVRCompositor_018_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_018_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_018_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_018_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_018_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_018_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_CanRenderScene(); + check_ptr_parameter("IVRCompositor_018_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_018_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_018_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_018_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_018_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_018_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_018_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_018_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_018_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_018_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_018_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_018_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_018_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_018_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_018_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_018_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_018_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_018_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_018_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_018_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_018_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_018_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_018_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_018_UnlockGLSharedTextureForAccess", (void *)1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_019(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_019_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_019_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_019_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_019_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_019_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_019_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_019_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_019_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_019_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_019_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_019_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_019_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_019_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_019_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_019_Submit", 1); + check_ptr_parameter("IVRCompositor_019_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_019_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_019_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_019_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_019_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_019_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_019_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_019_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_019_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_019_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_019_GetFrameTimings", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_019_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_019_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_019_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_019_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_019_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_019_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_019_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_019_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_019_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_019_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_019_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_019_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_019_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_019_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_019_GetCurrentFadeColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_019_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_019_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_019_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_019_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_019_GetCurrentGridAlpha)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_019_GetCurrentGridAlpha", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_019_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_019_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_019_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_019_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_019_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_CompositorQuit(); + check_ptr_parameter("IVRCompositor_019_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_019_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_IsFullscreen(); + check_ptr_parameter("IVRCompositor_019_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_019_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_019_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_019_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_019_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_019_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_CanRenderScene(); + check_ptr_parameter("IVRCompositor_019_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_019_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_019_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_019_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_019_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_019_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_019_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_019_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_019_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_019_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_019_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_019_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_019_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_019_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_019_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_019_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_019_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_019_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_019_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_019_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_019_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_019_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_UnlockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_019_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetVulkanInstanceExtensionsRequired((void *)1, 2); + check_ptr_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", (void *)1); + check_uint32_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_019_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_019_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", (void *)1); + check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", (void *)2); + check_uint32_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", 3); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_020(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_020_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_020_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_020_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_020_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_020_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_020_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_020_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_020_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_020_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_020_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_020_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_020_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_020_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_020_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_020_Submit", 1); + check_ptr_parameter("IVRCompositor_020_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_020_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_020_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_020_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_020_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_020_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_020_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_020_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_020_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_020_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_020_GetFrameTimings", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_020_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_020_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_020_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_020_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_020_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_020_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_020_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_020_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_020_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_020_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_020_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_020_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_020_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_020_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_020_GetCurrentFadeColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_020_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_020_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_020_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_020_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_020_GetCurrentGridAlpha)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_020_GetCurrentGridAlpha", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_020_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_020_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_020_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_020_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_020_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_CompositorQuit(); + check_ptr_parameter("IVRCompositor_020_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_020_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_IsFullscreen(); + check_ptr_parameter("IVRCompositor_020_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_020_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_020_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_020_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_020_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_020_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_CanRenderScene(); + check_ptr_parameter("IVRCompositor_020_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_020_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_020_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_020_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_020_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_020_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_020_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_020_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_020_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_020_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_020_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_020_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_020_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_020_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ReleaseMirrorTextureD3D11((void *)1); + check_ptr_parameter("IVRCompositor_020_ReleaseMirrorTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_ReleaseMirrorTextureD3D11", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_020_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_020_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_020_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_020_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_020_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_020_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_020_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_020_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_UnlockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_020_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetVulkanInstanceExtensionsRequired((void *)1, 2); + check_ptr_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", (void *)1); + check_uint32_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_020_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_020_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", (void *)1); + check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", (void *)2); + check_uint32_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", 3); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_021(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_021_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_021_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_021_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_021_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_021_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_021_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_021_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_021_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_021_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_021_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_021_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_021_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_021_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_021_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_021_Submit", 1); + check_ptr_parameter("IVRCompositor_021_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_021_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_021_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_021_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_021_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_021_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_021_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_021_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_021_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_021_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_021_GetFrameTimings", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_021_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_021_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_021_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_021_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_021_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_021_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_021_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_021_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_021_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_021_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_021_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_021_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_021_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_021_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_021_GetCurrentFadeColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_021_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_021_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_021_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_021_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_021_GetCurrentGridAlpha)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_021_GetCurrentGridAlpha", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_021_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_021_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_021_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_021_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_021_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_CompositorQuit(); + check_ptr_parameter("IVRCompositor_021_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_021_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_IsFullscreen(); + check_ptr_parameter("IVRCompositor_021_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_021_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_021_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_021_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_021_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_021_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_CanRenderScene(); + check_ptr_parameter("IVRCompositor_021_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_ShowMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_021_ShowMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_HideMirrorWindow)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_021_HideMirrorWindow", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_021_IsMirrorWindowVisible)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_021_IsMirrorWindowVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_CompositorDumpImages)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_021_CompositorDumpImages", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_021_ShouldAppRenderWithLowResources)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_021_ShouldAppRenderWithLowResources", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_021_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_021_ForceInterleavedReprojectionOn", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_ForceReconnectProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_021_ForceReconnectProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_SuspendRendering)(bool bSuspend) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_021_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_021_SuspendRendering", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_021_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ReleaseMirrorTextureD3D11((void *)1); + check_ptr_parameter("IVRCompositor_021_ReleaseMirrorTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_ReleaseMirrorTextureD3D11", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_021_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_021_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_021_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_021_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_021_ReleaseSharedGLTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_021_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_LockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_021_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_UnlockGLSharedTextureForAccess", (void *)1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_021_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetVulkanInstanceExtensionsRequired((void *)1, 2); + check_ptr_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", (void *)1); + check_uint32_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_021_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", (void *)1); + check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", (void *)2); + check_uint32_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", 3); + + init_thunk(t, this_ptr_value, IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_021_SetExplicitTimingMode)(bool bExplicitTimingMode) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_SetExplicitTimingMode(1); + check_ptr_parameter("IVRCompositor_021_SetExplicitTimingMode", this_ptr_value); + check_bool_parameter("IVRCompositor_021_SetExplicitTimingMode", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_021_SubmitExplicitTimingData)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_021_SubmitExplicitTimingData(); + check_ptr_parameter("IVRCompositor_021_SubmitExplicitTimingData", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_022(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_022_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_SetTrackingSpace", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_022_GetTrackingSpace)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_022_GetTrackingSpace", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_022_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_022_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_022_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_022_WaitGetPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_022_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_022_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_022_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_022_GetLastPoses", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", (void *)3); + + init_thunk(t, this_ptr_value, IVRCompositor_022_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_022_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_Submit", 1); + check_ptr_parameter("IVRCompositor_022_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_022_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_022_Submit", 4); + + init_thunk(t, this_ptr_value, IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_ClearLastSubmittedFrame)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_022_ClearLastSubmittedFrame", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_PostPresentHandoff)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_022_PostPresentHandoff", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_022_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_022_GetFrameTiming", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_022_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_022_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_022_GetFrameTimings", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_022_GetFrameTimeRemaining)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_022_GetFrameTimeRemaining", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_022_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_022_GetCumulativeStats", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_022_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_022_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_022_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_022_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_022_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_022_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_022_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_022_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_022_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_022_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_022_GetCurrentFadeColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_022_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_022_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_022_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_022_FadeGrid", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_022_GetCurrentGridAlpha)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_022_GetCurrentGridAlpha", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_022_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_022_SetSkyboxOverride", 2); + + init_thunk(t, this_ptr_value, IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_ClearSkyboxOverride)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_022_ClearSkyboxOverride", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_CompositorBringToFront)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_022_CompositorBringToFront", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_CompositorGoToBack)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_022_CompositorGoToBack", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_CompositorQuit)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_CompositorQuit(); + check_ptr_parameter("IVRCompositor_022_CompositorQuit", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_IsFullscreen)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_IsFullscreen(); + check_ptr_parameter("IVRCompositor_022_IsFullscreen", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_022_GetCurrentSceneFocusProcess)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_022_GetCurrentSceneFocusProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_022_GetLastFrameRenderer)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_022_GetLastFrameRenderer", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_CanRenderScene)() = (void *)t; + + clear_parameters(); + capi_IVRCompositor_022_CanRenderScene(); + check_ptr_parameter("IVRCompositor_022_CanRenderScene", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_ShowMirrorWindow)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_025_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_025_GetOverlayFlag", (void *)3); + capi_IVRCompositor_022_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_022_ShowMirrorWindow", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_HideMirrorWindow)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayFlags", (void *)2); + capi_IVRCompositor_022_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_022_HideMirrorWindow", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_IsMirrorWindowVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayColor", 1); - check_float_parameter("IVROverlay_025_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_025_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_025_SetOverlayColor", 4.0f); + capi_IVRCompositor_022_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_022_IsMirrorWindowVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_CompositorDumpImages)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)4); + capi_IVRCompositor_022_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_022_CompositorDumpImages", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_ShouldAppRenderWithLowResources)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_025_SetOverlayAlpha", 2.0f); + capi_IVRCompositor_022_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_022_ShouldAppRenderWithLowResources", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayAlpha", (void *)2); + capi_IVRCompositor_022_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_022_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_022_ForceInterleavedReprojectionOn", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_ForceReconnectProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_025_SetOverlayTexelAspect", 2.0f); + capi_IVRCompositor_022_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_022_ForceReconnectProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_SuspendRendering)(bool bSuspend) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTexelAspect", (void *)2); + capi_IVRCompositor_022_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_022_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_022_SuspendRendering", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_025_SetOverlaySortOrder", 2); + capi_IVRCompositor_022_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_025_GetOverlaySortOrder", (void *)2); + capi_IVRCompositor_022_ReleaseMirrorTextureD3D11((void *)1); + check_ptr_parameter("IVRCompositor_022_ReleaseMirrorTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_ReleaseMirrorTextureD3D11", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_025_SetOverlayWidthInMeters", 2.0f); + capi_IVRCompositor_022_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayWidthInMeters", (void *)2); + capi_IVRCompositor_022_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_022_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_022_ReleaseSharedGLTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_025_SetOverlayCurvature", 2.0f); + capi_IVRCompositor_022_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_022_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_LockGLSharedTextureForAccess", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayCurvature", (void *)2); + capi_IVRCompositor_022_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_022_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_UnlockGLSharedTextureForAccess", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_022_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTextureColorSpace", 2); + capi_IVRCompositor_022_GetVulkanInstanceExtensionsRequired((void *)1, 2); + check_ptr_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", (void *)1); + check_uint32_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_022_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureColorSpace", (void *)2); + capi_IVRCompositor_022_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", (void *)1); + check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", (void *)2); + check_uint32_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", 3); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_022_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayTextureBounds", (void *)2); + capi_IVRCompositor_022_SetExplicitTimingMode(1); + check_ptr_parameter("IVRCompositor_022_SetExplicitTimingMode", this_ptr_value); + check_uint32_parameter("IVRCompositor_022_SetExplicitTimingMode", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_022_SubmitExplicitTimingData)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureBounds", (void *)2); + capi_IVRCompositor_022_SubmitExplicitTimingData(); + check_ptr_parameter("IVRCompositor_022_SubmitExplicitTimingData", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_IsMotionSmoothingEnabled)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformType", (void *)2); + capi_IVRCompositor_022_IsMotionSmoothingEnabled(); + check_ptr_parameter("IVRCompositor_022_IsMotionSmoothingEnabled", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_IsMotionSmoothingSupported)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformAbsolute", (void *)3); + capi_IVRCompositor_022_IsMotionSmoothingSupported(); + check_ptr_parameter("IVRCompositor_022_IsMotionSmoothingSupported", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_022_IsCurrentSceneFocusAppLoading)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", (void *)3); + capi_IVRCompositor_022_IsCurrentSceneFocusAppLoading(); + check_ptr_parameter("IVRCompositor_022_IsCurrentSceneFocusAppLoading", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRCompositor_024(void) +{ + struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRCompositor_024_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_024_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_SetTrackingSpace", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_024_GetTrackingSpace)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRCompositor_024_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_024_GetTrackingSpace", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVRCompositor_024_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_024_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_024_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_024_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_024_WaitGetPoses", 4); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVRCompositor_024_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_024_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_024_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_024_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_024_GetLastPoses", 4); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVRCompositor_024_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_024_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_Submit", 1); + check_ptr_parameter("IVRCompositor_024_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_024_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_024_Submit", 4); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ClearLastSubmittedFrame)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformCursor", (void *)2); + capi_IVRCompositor_024_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_024_ClearLastSubmittedFrame", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_PostPresentHandoff)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformCursor", (void *)2); + capi_IVRCompositor_024_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_024_PostPresentHandoff", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformProjection", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformProjection", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", (void *)4); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformProjection", 5); + capi_IVRCompositor_024_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_024_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_024_GetFrameTiming", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_024_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; clear_parameters(); - capi_IVROverlay_025_ShowOverlay(1); - check_ptr_parameter("IVROverlay_025_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ShowOverlay", 1); + capi_IVRCompositor_024_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_024_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_024_GetFrameTimings", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_024_GetFrameTimeRemaining)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_HideOverlay(1); - check_ptr_parameter("IVROverlay_025_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_HideOverlay", 1); + capi_IVRCompositor_024_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_024_GetFrameTimeRemaining", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; clear_parameters(); - capi_IVROverlay_025_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_025_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_025_IsOverlayVisible", 1); + capi_IVRCompositor_024_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_024_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_024_GetCumulativeStats", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_024_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + + clear_parameters(); + capi_IVRCompositor_024_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_024_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_024_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_024_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_024_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_024_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_024_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_024_FadeToColor", 1); + + init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_024_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRCompositor_024_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_024_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_024_GetCurrentFadeColor", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_024_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; clear_parameters(); - capi_IVROverlay_025_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_025_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_025_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_025_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_025_PollNextOverlayEvent", 3); + capi_IVRCompositor_024_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_024_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_024_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_024_FadeGrid", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_024_GetCurrentGridAlpha)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayInputMethod", (void *)2); + capi_IVRCompositor_024_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_024_GetCurrentGridAlpha", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayInputMethod", 2); + capi_IVRCompositor_024_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_024_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_024_SetSkyboxOverride", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ClearSkyboxOverride)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayMouseScale", (void *)2); + capi_IVRCompositor_024_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_024_ClearSkyboxOverride", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_CompositorBringToFront)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayMouseScale", (void *)2); + capi_IVRCompositor_024_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_024_CompositorBringToFront", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_CompositorGoToBack)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", (void *)3); + capi_IVRCompositor_024_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_024_CompositorGoToBack", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_CompositorQuit)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_025_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_IsHoverTargetOverlay", 1); + capi_IVRCompositor_024_CompositorQuit(); + check_ptr_parameter("IVRCompositor_024_CompositorQuit", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_IsFullscreen)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_025_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_025_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_025_SetOverlayIntersectionMask", 4); + capi_IVRCompositor_024_IsFullscreen(); + check_ptr_parameter("IVRCompositor_024_IsFullscreen", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_025_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_024_GetCurrentSceneFocusProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 4.0f); + capi_IVRCompositor_024_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_024_GetCurrentSceneFocusProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_024_GetLastFrameRenderer)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_025_SetOverlayCursor", 2); + capi_IVRCompositor_024_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_024_GetLastFrameRenderer", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_CanRenderScene)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", (void *)2); + capi_IVRCompositor_024_CanRenderScene(); + check_ptr_parameter("IVRCompositor_024_CanRenderScene", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ShowMirrorWindow)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_025_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ClearOverlayCursorPositionOverride", 1); + capi_IVRCompositor_024_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_024_ShowMirrorWindow", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_HideMirrorWindow)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayTexture", (void *)2); + capi_IVRCompositor_024_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_024_HideMirrorWindow", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_IsMirrorWindowVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_025_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ClearOverlayTexture", 1); + capi_IVRCompositor_024_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_024_IsMirrorWindowVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_CompositorDumpImages)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_025_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 5); + capi_IVRCompositor_024_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_024_CompositorDumpImages", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_ShouldAppRenderWithLowResources)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayFromFile", (void *)2); + capi_IVRCompositor_024_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_024_ShouldAppRenderWithLowResources", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)9); + capi_IVRCompositor_024_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_024_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_024_ForceInterleavedReprojectionOn", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ForceReconnectProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", (void *)2); + capi_IVRCompositor_024_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_024_ForceReconnectProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_SuspendRendering)(bool bSuspend) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", (void *)3); + capi_IVRCompositor_024_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_024_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_024_SuspendRendering", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; clear_parameters(); - capi_IVROverlay_025_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)4); + capi_IVRCompositor_024_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsDashboardVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; clear_parameters(); - capi_IVROverlay_025_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_025_IsDashboardVisible", this_ptr_value); + capi_IVRCompositor_024_ReleaseMirrorTextureD3D11((void *)1); + check_ptr_parameter("IVRCompositor_024_ReleaseMirrorTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_ReleaseMirrorTextureD3D11", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_025_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_IsActiveDashboardOverlay", 1); + capi_IVRCompositor_024_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", 2); + capi_IVRCompositor_024_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_024_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_024_ReleaseSharedGLTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", (void *)2); + capi_IVRCompositor_024_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_024_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_LockGLSharedTextureForAccess", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_025_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_025_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_025_ShowDashboard", (void *)1); + capi_IVRCompositor_024_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_024_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_UnlockGLSharedTextureForAccess", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_025_GetPrimaryDashboardDevice)() = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_024_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_025_GetPrimaryDashboardDevice", this_ptr_value); + capi_IVRCompositor_024_GetVulkanInstanceExtensionsRequired((void *)1, 2); + check_ptr_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", (void *)1); + check_uint32_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", 2); - init_thunk(t, this_ptr_value, IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_024_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_025_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_025_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_025_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_025_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_025_ShowKeyboard", 7); + capi_IVRCompositor_024_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", (void *)1); + check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", (void *)2); + check_uint32_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", 3); - init_thunk(t, this_ptr_value, IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; clear_parameters(); - capi_IVROverlay_025_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_025_ShowKeyboardForOverlay", 8); + capi_IVRCompositor_024_SetExplicitTimingMode(1); + check_ptr_parameter("IVRCompositor_024_SetExplicitTimingMode", this_ptr_value); + check_uint32_parameter("IVRCompositor_024_SetExplicitTimingMode", 1); - init_thunk(t, this_ptr_value, IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_SubmitExplicitTimingData)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_025_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_025_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_025_GetKeyboardText", 2); + capi_IVRCompositor_024_SubmitExplicitTimingData(); + check_ptr_parameter("IVRCompositor_024_SubmitExplicitTimingData", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_HideKeyboard)() = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_IsMotionSmoothingEnabled)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_HideKeyboard(); - check_ptr_parameter("IVROverlay_025_HideKeyboard", this_ptr_value); + capi_IVRCompositor_024_IsMotionSmoothingEnabled(); + check_ptr_parameter("IVRCompositor_024_IsMotionSmoothingEnabled", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_IsMotionSmoothingSupported)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", (void *)2); + capi_IVRCompositor_024_IsMotionSmoothingSupported(); + check_ptr_parameter("IVRCompositor_024_IsMotionSmoothingSupported", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_024_IsCurrentSceneFocusAppLoading)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVRCompositor_024_IsCurrentSceneFocusAppLoading(); + check_ptr_parameter("IVRCompositor_024_IsCurrentSceneFocusAppLoading", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_025_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_024_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; clear_parameters(); - capi_IVROverlay_025_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)6); + capi_IVRCompositor_024_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", this_ptr_value); + check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)1); + check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)2); + check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)3); + check_uint32_parameter("IVRCompositor_024_SetStageOverride_Async", 4); - init_thunk(t, this_ptr_value, IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_CloseMessageOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_024_ClearStageOverride)() = (void *)t; clear_parameters(); - capi_IVROverlay_025_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_025_CloseMessageOverlay", this_ptr_value); + capi_IVRCompositor_024_ClearStageOverride(); + check_ptr_parameter("IVRCompositor_024_ClearStageOverride", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } @@ -5364,1253 +7876,430 @@ void test_capi_thunks_IVRCompositor_026(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_024(void) +void test_capi_thunks_IVRCompositor_027(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_024_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; clear_parameters(); - capi_IVROverlay_024_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_024_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_FindOverlay", (void *)2); + capi_IVRCompositor_027_SetTrackingSpace(1); + check_ptr_parameter("IVRCompositor_027_SetTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_SetTrackingSpace", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_027_GetTrackingSpace)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)3); + capi_IVRCompositor_027_GetTrackingSpace(); + check_ptr_parameter("IVRCompositor_027_GetTrackingSpace", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_024_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_024_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_DestroyOverlay", 1); + capi_IVRCompositor_027_WaitGetPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_027_WaitGetPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_WaitGetPoses", (void *)1); + check_uint32_parameter("IVRCompositor_027_WaitGetPoses", 2); + check_ptr_parameter("IVRCompositor_027_WaitGetPoses", (void *)3); + check_uint32_parameter("IVRCompositor_027_WaitGetPoses", 4); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_024_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_024_GetOverlayKey", (void *)4); + capi_IVRCompositor_027_GetLastPoses((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_027_GetLastPoses", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetLastPoses", (void *)1); + check_uint32_parameter("IVRCompositor_027_GetLastPoses", 2); + check_ptr_parameter("IVRCompositor_027_GetLastPoses", (void *)3); + check_uint32_parameter("IVRCompositor_027_GetLastPoses", 4); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_024_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_024_GetOverlayName", (void *)4); + capi_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", 1); + check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", (void *)2); + check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_Submit, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayName", (void *)2); + capi_IVRCompositor_027_Submit(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_027_Submit", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_Submit", 1); + check_ptr_parameter("IVRCompositor_027_Submit", (void *)2); + check_ptr_parameter("IVRCompositor_027_Submit", (void *)3); + check_uint32_parameter("IVRCompositor_027_Submit", 4); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ClearLastSubmittedFrame)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_024_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)5); + capi_IVRCompositor_027_ClearLastSubmittedFrame(); + check_ptr_parameter("IVRCompositor_027_ClearLastSubmittedFrame", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_024_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_PostPresentHandoff)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_024_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_024_GetOverlayErrorNameFromEnum", 1); + capi_IVRCompositor_027_PostPresentHandoff(); + check_ptr_parameter("IVRCompositor_027_PostPresentHandoff", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayRenderingPid", 2); + capi_IVRCompositor_027_GetFrameTiming((void *)1, 2); + check_ptr_parameter("IVRCompositor_027_GetFrameTiming", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetFrameTiming", (void *)1); + check_uint32_parameter("IVRCompositor_027_GetFrameTiming", 2); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_027_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_024_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayRenderingPid", 1); + capi_IVRCompositor_027_GetFrameTimings((void *)1, 2); + check_ptr_parameter("IVRCompositor_027_GetFrameTimings", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetFrameTimings", (void *)1); + check_uint32_parameter("IVRCompositor_027_GetFrameTimings", 2); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_027_GetFrameTimeRemaining)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_024_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_024_SetOverlayFlag", 1); + capi_IVRCompositor_027_GetFrameTimeRemaining(); + check_ptr_parameter("IVRCompositor_027_GetFrameTimeRemaining", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_024_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_024_GetOverlayFlag", (void *)3); + capi_IVRCompositor_027_GetCumulativeStats((void *)1, 2); + check_ptr_parameter("IVRCompositor_027_GetCumulativeStats", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetCumulativeStats", (void *)1); + check_uint32_parameter("IVRCompositor_027_GetCumulativeStats", 2); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); + void (__stdcall *capi_IVRCompositor_027_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayFlags", (void *)2); + capi_IVRCompositor_027_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); + check_ptr_parameter("IVRCompositor_027_FadeToColor", this_ptr_value); + check_float_parameter("IVRCompositor_027_FadeToColor", 1.0f); + check_float_parameter("IVRCompositor_027_FadeToColor", 2.0f); + check_float_parameter("IVRCompositor_027_FadeToColor", 3.0f); + check_float_parameter("IVRCompositor_027_FadeToColor", 4.0f); + check_float_parameter("IVRCompositor_027_FadeToColor", 5.0f); + check_bool_parameter("IVRCompositor_027_FadeToColor", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); + HmdColor_t *(__stdcall *capi_IVRCompositor_027_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayColor", 1); - check_float_parameter("IVROverlay_024_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_024_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_024_SetOverlayColor", 4.0f); + capi_IVRCompositor_027_GetCurrentFadeColor(data_ptr_value, 1); + check_ptr_parameter("IVRCompositor_027_GetCurrentFadeColor", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetCurrentFadeColor", data_ptr_value); + check_bool_parameter("IVRCompositor_027_GetCurrentFadeColor", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); + void (__stdcall *capi_IVRCompositor_027_FadeGrid)(float fSeconds, bool bFadeGridIn) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)4); + capi_IVRCompositor_027_FadeGrid(1.0f, 1); + check_ptr_parameter("IVRCompositor_027_FadeGrid", this_ptr_value); + check_float_parameter("IVRCompositor_027_FadeGrid", 1.0f); + check_bool_parameter("IVRCompositor_027_FadeGrid", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); + float (__stdcall *capi_IVRCompositor_027_GetCurrentGridAlpha)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_024_SetOverlayAlpha", 2.0f); + capi_IVRCompositor_027_GetCurrentGridAlpha(); + check_ptr_parameter("IVRCompositor_027_GetCurrentGridAlpha", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayAlpha", (void *)2); + capi_IVRCompositor_027_SetSkyboxOverride((void *)1, 2); + check_ptr_parameter("IVRCompositor_027_SetSkyboxOverride", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_SetSkyboxOverride", (void *)1); + check_uint32_parameter("IVRCompositor_027_SetSkyboxOverride", 2); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ClearSkyboxOverride)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_024_SetOverlayTexelAspect", 2.0f); + capi_IVRCompositor_027_ClearSkyboxOverride(); + check_ptr_parameter("IVRCompositor_027_ClearSkyboxOverride", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_CompositorBringToFront)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTexelAspect", (void *)2); + capi_IVRCompositor_027_CompositorBringToFront(); + check_ptr_parameter("IVRCompositor_027_CompositorBringToFront", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_CompositorGoToBack)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_024_SetOverlaySortOrder", 2); + capi_IVRCompositor_027_CompositorGoToBack(); + check_ptr_parameter("IVRCompositor_027_CompositorGoToBack", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_CompositorQuit)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_024_GetOverlaySortOrder", (void *)2); + capi_IVRCompositor_027_CompositorQuit(); + check_ptr_parameter("IVRCompositor_027_CompositorQuit", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_IsFullscreen)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_024_SetOverlayWidthInMeters", 2.0f); + capi_IVRCompositor_027_IsFullscreen(); + check_ptr_parameter("IVRCompositor_027_IsFullscreen", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_027_GetCurrentSceneFocusProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayWidthInMeters", (void *)2); + capi_IVRCompositor_027_GetCurrentSceneFocusProcess(); + check_ptr_parameter("IVRCompositor_027_GetCurrentSceneFocusProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_027_GetLastFrameRenderer)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_024_SetOverlayCurvature", 2.0f); + capi_IVRCompositor_027_GetLastFrameRenderer(); + check_ptr_parameter("IVRCompositor_027_GetLastFrameRenderer", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_CanRenderScene)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayCurvature", (void *)2); + capi_IVRCompositor_027_CanRenderScene(); + check_ptr_parameter("IVRCompositor_027_CanRenderScene", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ShowMirrorWindow)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTextureColorSpace", 2); + capi_IVRCompositor_027_ShowMirrorWindow(); + check_ptr_parameter("IVRCompositor_027_ShowMirrorWindow", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_HideMirrorWindow)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureColorSpace", (void *)2); + capi_IVRCompositor_027_HideMirrorWindow(); + check_ptr_parameter("IVRCompositor_027_HideMirrorWindow", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_IsMirrorWindowVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayTextureBounds", (void *)2); + capi_IVRCompositor_027_IsMirrorWindowVisible(); + check_ptr_parameter("IVRCompositor_027_IsMirrorWindowVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_CompositorDumpImages)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureBounds", (void *)2); + capi_IVRCompositor_027_CompositorDumpImages(); + check_ptr_parameter("IVRCompositor_027_CompositorDumpImages", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_ShouldAppRenderWithLowResources)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformType", (void *)2); + capi_IVRCompositor_027_ShouldAppRenderWithLowResources(); + check_ptr_parameter("IVRCompositor_027_ShouldAppRenderWithLowResources", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformAbsolute", (void *)3); + capi_IVRCompositor_027_ForceInterleavedReprojectionOn(1); + check_ptr_parameter("IVRCompositor_027_ForceInterleavedReprojectionOn", this_ptr_value); + check_bool_parameter("IVRCompositor_027_ForceInterleavedReprojectionOn", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ForceReconnectProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", (void *)3); + capi_IVRCompositor_027_ForceReconnectProcess(); + check_ptr_parameter("IVRCompositor_027_ForceReconnectProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_SuspendRendering)(bool bSuspend) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRCompositor_027_SuspendRendering(1); + check_ptr_parameter("IVRCompositor_027_SuspendRendering", this_ptr_value); + check_bool_parameter("IVRCompositor_027_SuspendRendering", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRCompositor_027_GetMirrorTextureD3D11(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_GetMirrorTextureD3D11", 1); + check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", (void *)2); + check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVRCompositor_027_ReleaseMirrorTextureD3D11((void *)1); + check_ptr_parameter("IVRCompositor_027_ReleaseMirrorTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_ReleaseMirrorTextureD3D11", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVRCompositor_027_GetMirrorTextureGL(1, (void *)2, (void *)3); + check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_GetMirrorTextureGL", 1); + check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", (void *)2); + check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVRCompositor_027_ReleaseSharedGLTexture(1, (void *)2); + check_ptr_parameter("IVRCompositor_027_ReleaseSharedGLTexture", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_ReleaseSharedGLTexture", 1); + check_ptr_parameter("IVRCompositor_027_ReleaseSharedGLTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVRCompositor_027_LockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_027_LockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_LockGLSharedTextureForAccess", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformCursor", (void *)2); + capi_IVRCompositor_027_UnlockGLSharedTextureForAccess((void *)1); + check_ptr_parameter("IVRCompositor_027_UnlockGLSharedTextureForAccess", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_UnlockGLSharedTextureForAccess", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_027_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformCursor", (void *)2); + capi_IVRCompositor_027_GetVulkanInstanceExtensionsRequired((void *)1, 2); + check_ptr_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", (void *)1); + check_uint32_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", 2); - init_thunk(t, this_ptr_value, IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRCompositor_027_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_024_ShowOverlay(1); - check_ptr_parameter("IVROverlay_024_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ShowOverlay", 1); + capi_IVRCompositor_027_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", (void *)1); + check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", (void *)2); + check_uint32_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", 3); - init_thunk(t, this_ptr_value, IVROverlay_024_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; clear_parameters(); - capi_IVROverlay_024_HideOverlay(1); - check_ptr_parameter("IVROverlay_024_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_HideOverlay", 1); + capi_IVRCompositor_027_SetExplicitTimingMode(1); + check_ptr_parameter("IVRCompositor_027_SetExplicitTimingMode", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_SetExplicitTimingMode", 1); - init_thunk(t, this_ptr_value, IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_SubmitExplicitTimingData)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_024_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_024_IsOverlayVisible", 1); + capi_IVRCompositor_027_SubmitExplicitTimingData(); + check_ptr_parameter("IVRCompositor_027_SubmitExplicitTimingData", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_IsMotionSmoothingEnabled)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRCompositor_027_IsMotionSmoothingEnabled(); + check_ptr_parameter("IVRCompositor_027_IsMotionSmoothingEnabled", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_IsMotionSmoothingSupported)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_024_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_024_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_024_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_024_PollNextOverlayEvent", 3); + capi_IVRCompositor_027_IsMotionSmoothingSupported(); + check_ptr_parameter("IVRCompositor_027_IsMotionSmoothingSupported", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_IsCurrentSceneFocusAppLoading)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayInputMethod", (void *)2); + capi_IVRCompositor_027_IsCurrentSceneFocusAppLoading(); + check_ptr_parameter("IVRCompositor_027_IsCurrentSceneFocusAppLoading", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayInputMethod", 2); + capi_IVRCompositor_027_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)1); + check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)2); + check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)3); + check_uint32_parameter("IVRCompositor_027_SetStageOverride_Async", 4); - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); + void (__stdcall *capi_IVRCompositor_027_ClearStageOverride)() = (void *)t; clear_parameters(); - capi_IVROverlay_024_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayMouseScale", (void *)2); + capi_IVRCompositor_027_ClearStageOverride(); + check_ptr_parameter("IVRCompositor_027_ClearStageOverride", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRCompositor_027_GetCompositorBenchmarkResults)(Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) = (void *)t; clear_parameters(); - capi_IVROverlay_024_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayMouseScale", (void *)2); + capi_IVRCompositor_027_GetCompositorBenchmarkResults((void *)1, 2); + check_ptr_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", (void *)1); + check_uint32_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", 2); - init_thunk(t, this_ptr_value, IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPosePredictionIDs)(uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) = (void *)t; clear_parameters(); - capi_IVROverlay_024_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", (void *)3); + capi_IVRCompositor_027_GetLastPosePredictionIDs((void *)1, (void *)2); + check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", this_ptr_value); + check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", (void *)1); + check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); + EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetPosesForFrame)(uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_024_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_024_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_024_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_024_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_024_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_024_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_024_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_024_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_024_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_024_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_024_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_024_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_024_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_024_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_024_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_024_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_024_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_024_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_024_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_024_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_024_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_024_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_024_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_024_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_HideKeyboard(); - check_ptr_parameter("IVROverlay_024_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_024_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_024_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_021(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_021_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_021_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_021_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_021_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_021_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_021_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_021_ComputeDistortion", 1); - check_float_parameter("IVRSystem_021_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_021_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_021_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_021_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_021_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_021_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_021_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_021_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_021_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_021_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_021_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_021_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_021_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_021_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_021_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_021_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_021_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_021_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_021_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_021_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_021_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_021_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_021_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_021_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_021_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_021_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", (void *)6); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_021_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_021_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_021_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_021_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_021_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_021_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_021_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_021_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_021_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerState", 1); - check_ptr_parameter("IVRSystem_021_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_021_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_021_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsInputAvailable)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsInputAvailable(); - check_ptr_parameter("IVRSystem_021_IsInputAvailable", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsSteamVRDrawingControllers)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_021_IsSteamVRDrawingControllers", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_ShouldApplicationPause)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_021_ShouldApplicationPause", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_ShouldApplicationReduceRenderingWork)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_021_ShouldApplicationReduceRenderingWork", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_021_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_021_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_021_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_021_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetAppContainerFilePaths((void *)1, 2); - check_ptr_parameter("IVRSystem_021_GetAppContainerFilePaths", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetAppContainerFilePaths", (void *)1); - check_uint32_parameter("IVRSystem_021_GetAppContainerFilePaths", 2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetRuntimeVersion)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetRuntimeVersion(); - check_ptr_parameter("IVRSystem_021_GetRuntimeVersion", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperone_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetCalibrationState, 0, FALSE, FALSE); - ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_003_GetCalibrationState)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetCalibrationState(); - check_ptr_parameter("IVRChaperone_003_GetCalibrationState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_003_GetPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_003_GetPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_003_ReloadInfo)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_ReloadInfo(); - check_ptr_parameter("IVRChaperone_003_ReloadInfo", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_003_SetSceneColor)(HmdColor_t color) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_SetSceneColor(DEFAULT_COLOR); - check_ptr_parameter("IVRChaperone_003_SetSceneColor", this_ptr_value); - check_HmdColor_parameter("IVRChaperone_003_SetSceneColor", DEFAULT_COLOR); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); - void (__stdcall *capi_IVRChaperone_003_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetBoundsColor((void *)1, 2, 3.0f, (void *)4); - check_ptr_parameter("IVRChaperone_003_GetBoundsColor", this_ptr_value); - check_ptr_parameter("IVRChaperone_003_GetBoundsColor", (void *)1); - check_uint32_parameter("IVRChaperone_003_GetBoundsColor", 2); - check_float_parameter("IVRChaperone_003_GetBoundsColor", 3.0f); - check_ptr_parameter("IVRChaperone_003_GetBoundsColor", (void *)4); - - init_thunk(t, this_ptr_value, IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_003_AreBoundsVisible)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_AreBoundsVisible(); - check_ptr_parameter("IVRChaperone_003_AreBoundsVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_003_ForceBoundsVisible)(bool bForce) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_ForceBoundsVisible(1); - check_ptr_parameter("IVRChaperone_003_ForceBoundsVisible", this_ptr_value); - check_bool_parameter("IVRChaperone_003_ForceBoundsVisible", 1); + capi_IVRCompositor_027_GetPosesForFrame(1, (void *)2, 3); + check_ptr_parameter("IVRCompositor_027_GetPosesForFrame", this_ptr_value); + check_uint32_parameter("IVRCompositor_027_GetPosesForFrame", 1); + check_ptr_parameter("IVRCompositor_027_GetPosesForFrame", (void *)2); + check_uint32_parameter("IVRCompositor_027_GetPosesForFrame", 3); VirtualFree(t, 0, MEM_RELEASE); } @@ -6848,1238 +8537,1203 @@ void test_capi_thunks_IVRControlPanel_006(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRMailbox_001(void) +void test_capi_thunks_IVRDriverManager_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc1, 2, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc1)(const char * a, vrmb_typea * b) = (void *)t; + init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRDriverManager_001_GetDriverCount)() = (void *)t; clear_parameters(); - capi_IVRMailbox_001_undoc1((void *)1, (void *)2); - check_ptr_parameter("IVRMailbox_001_undoc1", this_ptr_value); - check_ptr_parameter("IVRMailbox_001_undoc1", (void *)1); - check_ptr_parameter("IVRMailbox_001_undoc1", (void *)2); + capi_IVRDriverManager_001_GetDriverCount(); + check_ptr_parameter("IVRDriverManager_001_GetDriverCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc2, 1, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc2)(vrmb_typea a) = (void *)t; + init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverName, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRDriverManager_001_GetDriverName)(DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVRMailbox_001_undoc2(1); - check_ptr_parameter("IVRMailbox_001_undoc2", this_ptr_value); - check_uint64_parameter("IVRMailbox_001_undoc2", 1); + capi_IVRDriverManager_001_GetDriverName(1, (void *)2, 3); + check_ptr_parameter("IVRDriverManager_001_GetDriverName", this_ptr_value); + check_uint32_parameter("IVRDriverManager_001_GetDriverName", 1); + check_ptr_parameter("IVRDriverManager_001_GetDriverName", (void *)2); + check_uint32_parameter("IVRDriverManager_001_GetDriverName", 3); - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc3, 3, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc3)(vrmb_typea a, const char * b, const char * c) = (void *)t; + init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverHandle, 1, FALSE, FALSE); + DriverHandle_t (__stdcall *capi_IVRDriverManager_001_GetDriverHandle)(const char * pchDriverName) = (void *)t; clear_parameters(); - capi_IVRMailbox_001_undoc3(1, (void *)2, (void *)3); - check_ptr_parameter("IVRMailbox_001_undoc3", this_ptr_value); - check_uint64_parameter("IVRMailbox_001_undoc3", 1); - check_ptr_parameter("IVRMailbox_001_undoc3", (void *)2); - check_ptr_parameter("IVRMailbox_001_undoc3", (void *)3); + capi_IVRDriverManager_001_GetDriverHandle((void *)1); + check_ptr_parameter("IVRDriverManager_001_GetDriverHandle", this_ptr_value); + check_ptr_parameter("IVRDriverManager_001_GetDriverHandle", (void *)1); - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc4, 4, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc4)(vrmb_typea a, char * b, uint32_t c, uint32_t * d) = (void *)t; + init_thunk(t, this_ptr_value, IVRDriverManager_001_IsEnabled, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRDriverManager_001_IsEnabled)(DriverId_t nDriver) = (void *)t; clear_parameters(); - capi_IVRMailbox_001_undoc4(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRMailbox_001_undoc4", this_ptr_value); - check_uint64_parameter("IVRMailbox_001_undoc4", 1); - check_ptr_parameter("IVRMailbox_001_undoc4", (void *)2); - check_uint32_parameter("IVRMailbox_001_undoc4", 3); - check_ptr_parameter("IVRMailbox_001_undoc4", (void *)4); + capi_IVRDriverManager_001_IsEnabled(1); + check_ptr_parameter("IVRDriverManager_001_IsEnabled", this_ptr_value); + check_uint32_parameter("IVRDriverManager_001_IsEnabled", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_024(void) +void test_capi_thunks_IVRExtendedDisplay_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetWindowBounds, 4, FALSE, FALSE); + void (__stdcall *capi_IVRExtendedDisplay_001_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_024_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_024_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_SetTrackingSpace", 1); + capi_IVRExtendedDisplay_001_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", this_ptr_value); + check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)1); + check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)2); + check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)3); + check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_024_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetEyeOutputViewport, 5, FALSE, FALSE); + void (__stdcall *capi_IVRExtendedDisplay_001_GetEyeOutputViewport)(EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_024_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_024_GetTrackingSpace", this_ptr_value); + capi_IVRExtendedDisplay_001_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", this_ptr_value); + check_uint32_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", 1); + check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)2); + check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)3); + check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)4); + check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetDXGIOutputInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRExtendedDisplay_001_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_024_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_024_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_024_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_024_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_024_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_024_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_Submit", 1); - check_ptr_parameter("IVRCompositor_024_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_024_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_024_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_024_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_024_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_024_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_024_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_024_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_024_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_024_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_024_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_024_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_024_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_024_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_024_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_024_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_024_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_024_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_024_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_024_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_024_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_024_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_024_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_024_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorQuit(); - check_ptr_parameter("IVRCompositor_024_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsFullscreen(); - check_ptr_parameter("IVRCompositor_024_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_024_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_024_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CanRenderScene(); - check_ptr_parameter("IVRCompositor_024_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_024_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_024_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_024_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_024_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_024_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_024_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_024_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_024_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_024_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_024_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_024_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_024_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_024_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_024_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_024_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_024_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_024_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_024_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_024_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_024_IsCurrentSceneFocusAppLoading", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)1); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)2); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)3); - check_uint32_parameter("IVRCompositor_024_SetStageOverride_Async", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ClearStageOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ClearStageOverride(); - check_ptr_parameter("IVRCompositor_024_ClearStageOverride", this_ptr_value); + capi_IVRExtendedDisplay_001_GetDXGIOutputInfo((void *)1, (void *)2); + check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", (void *)1); + check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", (void *)2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_022(void) +void test_capi_thunks_IVRHeadsetView_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_022_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewSize)(uint32_t nWidth, uint32_t nHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_022_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_022_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_FindOverlay", (void *)2); + capi_IVRHeadsetView_001_SetHeadsetViewSize(1, 2); + check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewSize", this_ptr_value); + check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewSize", 1); + check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewSize", 2); - init_thunk(t, this_ptr_value, IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_022_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)3); + capi_IVRHeadsetView_001_GetHeadsetViewSize((void *)1, (void *)2); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", this_ptr_value); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", (void *)1); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewMode, 1, FALSE, FALSE); + void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewMode)(HeadsetViewMode_t eHeadsetViewMode) = (void *)t; clear_parameters(); - capi_IVROverlay_022_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_022_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_DestroyOverlay", 1); + capi_IVRHeadsetView_001_SetHeadsetViewMode(1); + check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewMode", this_ptr_value); + check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewMode", 1); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewMode, 0, FALSE, FALSE); + HeadsetViewMode_t (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewMode)() = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayKey", (void *)4); + capi_IVRHeadsetView_001_GetHeadsetViewMode(); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewMode", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewCropped, 1, FALSE, FALSE); + void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewCropped)(bool bCropped) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayName", (void *)4); + capi_IVRHeadsetView_001_SetHeadsetViewCropped(1); + check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewCropped", this_ptr_value); + check_bool_parameter("IVRHeadsetView_001_SetHeadsetViewCropped", 1); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewCropped, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewCropped)() = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayName", (void *)2); + capi_IVRHeadsetView_001_GetHeadsetViewCropped(); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewCropped", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewAspectRatio, 0, FALSE, FALSE); + float (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewAspectRatio)() = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)5); + capi_IVRHeadsetView_001_GetHeadsetViewAspectRatio(); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewAspectRatio", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_022_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewBlendRange, 2, TRUE, FALSE); + void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewBlendRange)(float flStartPct, float flEndPct) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_022_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_022_GetOverlayErrorNameFromEnum", 1); + capi_IVRHeadsetView_001_SetHeadsetViewBlendRange(1.0f, 2.0f); + check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", this_ptr_value); + check_float_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", 1.0f); + check_float_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewBlendRange, 2, FALSE, FALSE); + void (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewBlendRange)(float * pStartPct, float * pEndPct) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayRenderingPid", 2); + capi_IVRHeadsetView_001_GetHeadsetViewBlendRange((void *)1, (void *)2); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", this_ptr_value); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", (void *)1); + check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", (void *)2); + VirtualFree(t, 0, MEM_RELEASE); +} - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; +void test_capi_thunks_IVRIOBuffer_001(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRIOBuffer_001_Open, 5, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Open)(const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_001_Open((void *)1, 2, 3, 4, (void *)5); + check_ptr_parameter("IVRIOBuffer_001_Open", this_ptr_value); + check_ptr_parameter("IVRIOBuffer_001_Open", (void *)1); + check_uint32_parameter("IVRIOBuffer_001_Open", 2); + check_uint32_parameter("IVRIOBuffer_001_Open", 3); + check_uint32_parameter("IVRIOBuffer_001_Open", 4); + check_ptr_parameter("IVRIOBuffer_001_Open", (void *)5); + + init_thunk(t, this_ptr_value, IVRIOBuffer_001_Close, 1, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Close)(IOBufferHandle_t ulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_001_Close(1); + check_ptr_parameter("IVRIOBuffer_001_Close", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_001_Close", 1); + + init_thunk(t, this_ptr_value, IVRIOBuffer_001_Read, 4, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_001_Read(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRIOBuffer_001_Read", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_001_Read", 1); + check_ptr_parameter("IVRIOBuffer_001_Read", (void *)2); + check_uint32_parameter("IVRIOBuffer_001_Read", 3); + check_ptr_parameter("IVRIOBuffer_001_Read", (void *)4); + + init_thunk(t, this_ptr_value, IVRIOBuffer_001_Write, 3, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_001_Write(1, (void *)2, 3); + check_ptr_parameter("IVRIOBuffer_001_Write", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_001_Write", 1); + check_ptr_parameter("IVRIOBuffer_001_Write", (void *)2); + check_uint32_parameter("IVRIOBuffer_001_Write", 3); + + init_thunk(t, this_ptr_value, IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); + PropertyContainerHandle_t (__stdcall *capi_IVRIOBuffer_001_PropertyContainer)(IOBufferHandle_t ulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_001_PropertyContainer(1); + check_ptr_parameter("IVRIOBuffer_001_PropertyContainer", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_001_PropertyContainer", 1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRIOBuffer_002(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRIOBuffer_002_Open, 5, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Open)(const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_002_Open((void *)1, 2, 3, 4, (void *)5); + check_ptr_parameter("IVRIOBuffer_002_Open", this_ptr_value); + check_ptr_parameter("IVRIOBuffer_002_Open", (void *)1); + check_uint32_parameter("IVRIOBuffer_002_Open", 2); + check_uint32_parameter("IVRIOBuffer_002_Open", 3); + check_uint32_parameter("IVRIOBuffer_002_Open", 4); + check_ptr_parameter("IVRIOBuffer_002_Open", (void *)5); + + init_thunk(t, this_ptr_value, IVRIOBuffer_002_Close, 1, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Close)(IOBufferHandle_t ulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_002_Close(1); + check_ptr_parameter("IVRIOBuffer_002_Close", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_002_Close", 1); + + init_thunk(t, this_ptr_value, IVRIOBuffer_002_Read, 4, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_002_Read(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRIOBuffer_002_Read", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_002_Read", 1); + check_ptr_parameter("IVRIOBuffer_002_Read", (void *)2); + check_uint32_parameter("IVRIOBuffer_002_Read", 3); + check_ptr_parameter("IVRIOBuffer_002_Read", (void *)4); + + init_thunk(t, this_ptr_value, IVRIOBuffer_002_Write, 3, FALSE, FALSE); + EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_002_Write(1, (void *)2, 3); + check_ptr_parameter("IVRIOBuffer_002_Write", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_002_Write", 1); + check_ptr_parameter("IVRIOBuffer_002_Write", (void *)2); + check_uint32_parameter("IVRIOBuffer_002_Write", 3); + + init_thunk(t, this_ptr_value, IVRIOBuffer_002_PropertyContainer, 1, FALSE, FALSE); + PropertyContainerHandle_t (__stdcall *capi_IVRIOBuffer_002_PropertyContainer)(IOBufferHandle_t ulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_002_PropertyContainer(1); + check_ptr_parameter("IVRIOBuffer_002_PropertyContainer", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_002_PropertyContainer", 1); + + init_thunk(t, this_ptr_value, IVRIOBuffer_002_HasReaders, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRIOBuffer_002_HasReaders)(IOBufferHandle_t ulBuffer) = (void *)t; + + clear_parameters(); + capi_IVRIOBuffer_002_HasReaders(1); + check_ptr_parameter("IVRIOBuffer_002_HasReaders", this_ptr_value); + check_uint64_parameter("IVRIOBuffer_002_HasReaders", 1); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRInput_003(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; + + clear_parameters(); + capi_IVRInput_003_SetActionManifestPath((void *)1); + check_ptr_parameter("IVRInput_003_SetActionManifestPath", this_ptr_value); + check_ptr_parameter("IVRInput_003_SetActionManifestPath", (void *)1); + + init_thunk(t, this_ptr_value, IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayRenderingPid", 1); + capi_IVRInput_003_GetActionSetHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_003_GetActionSetHandle", this_ptr_value); + check_ptr_parameter("IVRInput_003_GetActionSetHandle", (void *)1); + check_ptr_parameter("IVRInput_003_GetActionSetHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetActionHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_022_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_022_SetOverlayFlag", 1); + capi_IVRInput_003_GetActionHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_003_GetActionHandle", this_ptr_value); + check_ptr_parameter("IVRInput_003_GetActionHandle", (void *)1); + check_ptr_parameter("IVRInput_003_GetActionHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_022_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_022_GetOverlayFlag", (void *)3); + capi_IVRInput_003_GetInputSourceHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_003_GetInputSourceHandle", this_ptr_value); + check_ptr_parameter("IVRInput_003_GetInputSourceHandle", (void *)1); + check_ptr_parameter("IVRInput_003_GetInputSourceHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_UpdateActionState, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayFlags", (void *)2); + capi_IVRInput_003_UpdateActionState((void *)1, 2, 3); + check_ptr_parameter("IVRInput_003_UpdateActionState", this_ptr_value); + check_ptr_parameter("IVRInput_003_UpdateActionState", (void *)1); + check_uint32_parameter("IVRInput_003_UpdateActionState", 2); + check_uint32_parameter("IVRInput_003_UpdateActionState", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayColor", 1); - check_float_parameter("IVROverlay_022_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_022_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_022_SetOverlayColor", 4.0f); + capi_IVRInput_003_GetDigitalActionData(1, (void *)2, 3); + check_ptr_parameter("IVRInput_003_GetDigitalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetDigitalActionData", 1); + check_ptr_parameter("IVRInput_003_GetDigitalActionData", (void *)2); + check_uint32_parameter("IVRInput_003_GetDigitalActionData", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)4); + capi_IVRInput_003_GetAnalogActionData(1, (void *)2, 3); + check_ptr_parameter("IVRInput_003_GetAnalogActionData", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetAnalogActionData", 1); + check_ptr_parameter("IVRInput_003_GetAnalogActionData", (void *)2); + check_uint32_parameter("IVRInput_003_GetAnalogActionData", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_022_SetOverlayAlpha", 2.0f); + capi_IVRInput_003_GetPoseActionData(1, 2, 3.0f, (void *)4, 5); + check_ptr_parameter("IVRInput_003_GetPoseActionData", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetPoseActionData", 1); + check_uint32_parameter("IVRInput_003_GetPoseActionData", 2); + check_float_parameter("IVRInput_003_GetPoseActionData", 3.0f); + check_ptr_parameter("IVRInput_003_GetPoseActionData", (void *)4); + check_uint32_parameter("IVRInput_003_GetPoseActionData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetSkeletalActionData)(VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayAlpha", (void *)2); + capi_IVRInput_003_GetSkeletalActionData(1, 2, 3.0f, (void *)4, 5, (void *)6, 7); + check_ptr_parameter("IVRInput_003_GetSkeletalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetSkeletalActionData", 1); + check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 2); + check_float_parameter("IVRInput_003_GetSkeletalActionData", 3.0f); + check_ptr_parameter("IVRInput_003_GetSkeletalActionData", (void *)4); + check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 5); + check_ptr_parameter("IVRInput_003_GetSkeletalActionData", (void *)6); + check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 7); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetSkeletalActionDataCompressed)(VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_022_SetOverlayTexelAspect", 2.0f); + capi_IVRInput_003_GetSkeletalActionDataCompressed(1, 2, 3.0f, (void *)4, 5, (void *)6); + check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 1); + check_uint32_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 2); + check_float_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 3.0f); + check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", (void *)4); + check_uint32_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 5); + check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", (void *)6); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_UncompressSkeletalActionData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTexelAspect", (void *)2); + capi_IVRInput_003_UncompressSkeletalActionData((void *)1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", this_ptr_value); + check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)1); + check_uint32_parameter("IVRInput_003_UncompressSkeletalActionData", 2); + check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)3); + check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)4); + check_uint32_parameter("IVRInput_003_UncompressSkeletalActionData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); + EVRInputError (__stdcall *capi_IVRInput_003_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_022_SetOverlaySortOrder", 2); + capi_IVRInput_003_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f); + check_ptr_parameter("IVRInput_003_TriggerHapticVibrationAction", this_ptr_value); + check_uint64_parameter("IVRInput_003_TriggerHapticVibrationAction", 1); + check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 2.0f); + check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 3.0f); + check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 4.0f); + check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 5.0f); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_022_GetOverlaySortOrder", (void *)2); + capi_IVRInput_003_GetActionOrigins(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_003_GetActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetActionOrigins", 1); + check_uint64_parameter("IVRInput_003_GetActionOrigins", 2); + check_ptr_parameter("IVRInput_003_GetActionOrigins", (void *)3); + check_uint32_parameter("IVRInput_003_GetActionOrigins", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_022_SetOverlayWidthInMeters", 2.0f); + capi_IVRInput_003_GetOriginLocalizedName(1, (void *)2, 3); + check_ptr_parameter("IVRInput_003_GetOriginLocalizedName", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetOriginLocalizedName", 1); + check_ptr_parameter("IVRInput_003_GetOriginLocalizedName", (void *)2); + check_uint32_parameter("IVRInput_003_GetOriginLocalizedName", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayWidthInMeters", (void *)2); + capi_IVRInput_003_GetOriginTrackedDeviceInfo(1, (void *)2, 3); + check_ptr_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", this_ptr_value); + check_uint64_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", 1); + check_ptr_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", (void *)2); + check_uint32_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_022_SetOverlayCurvature", 2.0f); + capi_IVRInput_003_ShowActionOrigins(1, 2); + check_ptr_parameter("IVRInput_003_ShowActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_003_ShowActionOrigins", 1); + check_uint64_parameter("IVRInput_003_ShowActionOrigins", 2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_003_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayCurvature", (void *)2); + capi_IVRInput_003_ShowBindingsForActionSet((void *)1, 2, 3, 4); + check_ptr_parameter("IVRInput_003_ShowBindingsForActionSet", this_ptr_value); + check_ptr_parameter("IVRInput_003_ShowBindingsForActionSet", (void *)1); + check_uint32_parameter("IVRInput_003_ShowBindingsForActionSet", 2); + check_uint32_parameter("IVRInput_003_ShowBindingsForActionSet", 3); + check_uint64_parameter("IVRInput_003_ShowBindingsForActionSet", 4); + VirtualFree(t, 0, MEM_RELEASE); +} - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; +void test_capi_thunks_IVRInput_004(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; + + clear_parameters(); + capi_IVRInput_004_SetActionManifestPath((void *)1); + check_ptr_parameter("IVRInput_004_SetActionManifestPath", this_ptr_value); + check_ptr_parameter("IVRInput_004_SetActionManifestPath", (void *)1); + + init_thunk(t, this_ptr_value, IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; + + clear_parameters(); + capi_IVRInput_004_GetActionSetHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_004_GetActionSetHandle", this_ptr_value); + check_ptr_parameter("IVRInput_004_GetActionSetHandle", (void *)1); + check_ptr_parameter("IVRInput_004_GetActionSetHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVRInput_004_GetActionHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; + + clear_parameters(); + capi_IVRInput_004_GetActionHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_004_GetActionHandle", this_ptr_value); + check_ptr_parameter("IVRInput_004_GetActionHandle", (void *)1); + check_ptr_parameter("IVRInput_004_GetActionHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTextureColorSpace", 2); + capi_IVRInput_004_GetInputSourceHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_004_GetInputSourceHandle", this_ptr_value); + check_ptr_parameter("IVRInput_004_GetInputSourceHandle", (void *)1); + check_ptr_parameter("IVRInput_004_GetInputSourceHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_UpdateActionState, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureColorSpace", (void *)2); + capi_IVRInput_004_UpdateActionState((void *)1, 2, 3); + check_ptr_parameter("IVRInput_004_UpdateActionState", this_ptr_value); + check_ptr_parameter("IVRInput_004_UpdateActionState", (void *)1); + check_uint32_parameter("IVRInput_004_UpdateActionState", 2); + check_uint32_parameter("IVRInput_004_UpdateActionState", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayTextureBounds", (void *)2); + capi_IVRInput_004_GetDigitalActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_004_GetDigitalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetDigitalActionData", 1); + check_ptr_parameter("IVRInput_004_GetDigitalActionData", (void *)2); + check_uint32_parameter("IVRInput_004_GetDigitalActionData", 3); + check_uint64_parameter("IVRInput_004_GetDigitalActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureBounds", (void *)2); + capi_IVRInput_004_GetAnalogActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_004_GetAnalogActionData", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetAnalogActionData", 1); + check_ptr_parameter("IVRInput_004_GetAnalogActionData", (void *)2); + check_uint32_parameter("IVRInput_004_GetAnalogActionData", 3); + check_uint64_parameter("IVRInput_004_GetAnalogActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)5); + capi_IVRInput_004_GetPoseActionData(1, 2, 3.0f, (void *)4, 5, 6); + check_ptr_parameter("IVRInput_004_GetPoseActionData", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetPoseActionData", 1); + check_uint32_parameter("IVRInput_004_GetPoseActionData", 2); + check_float_parameter("IVRInput_004_GetPoseActionData", 3.0f); + check_ptr_parameter("IVRInput_004_GetPoseActionData", (void *)4); + check_uint32_parameter("IVRInput_004_GetPoseActionData", 5); + check_uint64_parameter("IVRInput_004_GetPoseActionData", 6); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", (void *)3); + capi_IVRInput_004_GetSkeletalActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_004_GetSkeletalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetSkeletalActionData", 1); + check_ptr_parameter("IVRInput_004_GetSkeletalActionData", (void *)2); + check_uint32_parameter("IVRInput_004_GetSkeletalActionData", 3); + check_uint64_parameter("IVRInput_004_GetSkeletalActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformType", (void *)2); + capi_IVRInput_004_GetSkeletalBoneData(1, 2, 3, (void *)4, 5, 6); + check_ptr_parameter("IVRInput_004_GetSkeletalBoneData", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetSkeletalBoneData", 1); + check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_004_GetSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 5); + check_uint64_parameter("IVRInput_004_GetSkeletalBoneData", 6); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformAbsolute", (void *)3); + capi_IVRInput_004_GetSkeletalBoneDataCompressed(1, 2, 3, (void *)4, 5, (void *)6, 7); + check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 1); + check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 2); + check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 3); + check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", (void *)4); + check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 5); + check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", (void *)6); + check_uint64_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 7); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_DecompressSkeletalBoneData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", (void *)3); + capi_IVRInput_004_DecompressSkeletalBoneData((void *)1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", this_ptr_value); + check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)1); + check_uint32_parameter("IVRInput_004_DecompressSkeletalBoneData", 2); + check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)3); + check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_004_DecompressSkeletalBoneData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); + EVRInputError (__stdcall *capi_IVRInput_004_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRInput_004_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); + check_ptr_parameter("IVRInput_004_TriggerHapticVibrationAction", this_ptr_value); + check_uint64_parameter("IVRInput_004_TriggerHapticVibrationAction", 1); + check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 2.0f); + check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 3.0f); + check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 4.0f); + check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 5.0f); + check_uint64_parameter("IVRInput_004_TriggerHapticVibrationAction", 6); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRInput_004_GetActionOrigins(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_004_GetActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetActionOrigins", 1); + check_uint64_parameter("IVRInput_004_GetActionOrigins", 2); + check_ptr_parameter("IVRInput_004_GetActionOrigins", (void *)3); + check_uint32_parameter("IVRInput_004_GetActionOrigins", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVRInput_004_GetOriginLocalizedName(1, (void *)2, 3); + check_ptr_parameter("IVRInput_004_GetOriginLocalizedName", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetOriginLocalizedName", 1); + check_ptr_parameter("IVRInput_004_GetOriginLocalizedName", (void *)2); + check_uint32_parameter("IVRInput_004_GetOriginLocalizedName", 3); + + init_thunk(t, this_ptr_value, IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + + clear_parameters(); + capi_IVRInput_004_GetOriginTrackedDeviceInfo(1, (void *)2, 3); + check_ptr_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", this_ptr_value); + check_uint64_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", 1); + check_ptr_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", (void *)2); + check_uint32_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", 3); + + init_thunk(t, this_ptr_value, IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + + clear_parameters(); + capi_IVRInput_004_ShowActionOrigins(1, 2); + check_ptr_parameter("IVRInput_004_ShowActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_004_ShowActionOrigins", 1); + check_uint64_parameter("IVRInput_004_ShowActionOrigins", 2); + + init_thunk(t, this_ptr_value, IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_004_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + + clear_parameters(); + capi_IVRInput_004_ShowBindingsForActionSet((void *)1, 2, 3, 4); + check_ptr_parameter("IVRInput_004_ShowBindingsForActionSet", this_ptr_value); + check_ptr_parameter("IVRInput_004_ShowBindingsForActionSet", (void *)1); + check_uint32_parameter("IVRInput_004_ShowBindingsForActionSet", 2); + check_uint32_parameter("IVRInput_004_ShowBindingsForActionSet", 3); + check_uint64_parameter("IVRInput_004_ShowBindingsForActionSet", 4); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRInput_005(void) +{ + struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVRInput_005_SetActionManifestPath((void *)1); + check_ptr_parameter("IVRInput_005_SetActionManifestPath", this_ptr_value); + check_ptr_parameter("IVRInput_005_SetActionManifestPath", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVRInput_005_GetActionSetHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_005_GetActionSetHandle", this_ptr_value); + check_ptr_parameter("IVRInput_005_GetActionSetHandle", (void *)1); + check_ptr_parameter("IVRInput_005_GetActionSetHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetActionHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVRInput_005_GetActionHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_005_GetActionHandle", this_ptr_value); + check_ptr_parameter("IVRInput_005_GetActionHandle", (void *)1); + check_ptr_parameter("IVRInput_005_GetActionHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformCursor", (void *)2); + capi_IVRInput_005_GetInputSourceHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_005_GetInputSourceHandle", this_ptr_value); + check_ptr_parameter("IVRInput_005_GetInputSourceHandle", (void *)1); + check_ptr_parameter("IVRInput_005_GetInputSourceHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_UpdateActionState, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformCursor", (void *)2); + capi_IVRInput_005_UpdateActionState((void *)1, 2, 3); + check_ptr_parameter("IVRInput_005_UpdateActionState", this_ptr_value); + check_ptr_parameter("IVRInput_005_UpdateActionState", (void *)1); + check_uint32_parameter("IVRInput_005_UpdateActionState", 2); + check_uint32_parameter("IVRInput_005_UpdateActionState", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ShowOverlay(1); - check_ptr_parameter("IVROverlay_022_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ShowOverlay", 1); + capi_IVRInput_005_GetDigitalActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_005_GetDigitalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetDigitalActionData", 1); + check_ptr_parameter("IVRInput_005_GetDigitalActionData", (void *)2); + check_uint32_parameter("IVRInput_005_GetDigitalActionData", 3); + check_uint64_parameter("IVRInput_005_GetDigitalActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_HideOverlay(1); - check_ptr_parameter("IVROverlay_022_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_HideOverlay", 1); + capi_IVRInput_005_GetAnalogActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_005_GetAnalogActionData", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetAnalogActionData", 1); + check_ptr_parameter("IVRInput_005_GetAnalogActionData", (void *)2); + check_uint32_parameter("IVRInput_005_GetAnalogActionData", 3); + check_uint64_parameter("IVRInput_005_GetAnalogActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_022_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_022_IsOverlayVisible", 1); + capi_IVRInput_005_GetPoseActionData(1, 2, 3.0f, (void *)4, 5, 6); + check_ptr_parameter("IVRInput_005_GetPoseActionData", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetPoseActionData", 1); + check_uint32_parameter("IVRInput_005_GetPoseActionData", 2); + check_float_parameter("IVRInput_005_GetPoseActionData", 3.0f); + check_ptr_parameter("IVRInput_005_GetPoseActionData", (void *)4); + check_uint32_parameter("IVRInput_005_GetPoseActionData", 5); + check_uint64_parameter("IVRInput_005_GetPoseActionData", 6); - init_thunk(t, this_ptr_value, IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRInput_005_GetSkeletalActionData(1, (void *)2, 3); + check_ptr_parameter("IVRInput_005_GetSkeletalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetSkeletalActionData", 1); + check_ptr_parameter("IVRInput_005_GetSkeletalActionData", (void *)2); + check_uint32_parameter("IVRInput_005_GetSkeletalActionData", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetBoneCount, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_022_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_022_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_022_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_022_PollNextOverlayEvent", 3); + capi_IVRInput_005_GetBoneCount(1, (void *)2); + check_ptr_parameter("IVRInput_005_GetBoneCount", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetBoneCount", 1); + check_ptr_parameter("IVRInput_005_GetBoneCount", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayInputMethod", (void *)2); + capi_IVRInput_005_GetBoneHierarchy(1, (void *)2, 3); + check_ptr_parameter("IVRInput_005_GetBoneHierarchy", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetBoneHierarchy", 1); + check_ptr_parameter("IVRInput_005_GetBoneHierarchy", (void *)2); + check_uint32_parameter("IVRInput_005_GetBoneHierarchy", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetBoneName, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayInputMethod", 2); + capi_IVRInput_005_GetBoneName(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_005_GetBoneName", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetBoneName", 1); + check_uint32_parameter("IVRInput_005_GetBoneName", 2); + check_ptr_parameter("IVRInput_005_GetBoneName", (void *)3); + check_uint32_parameter("IVRInput_005_GetBoneName", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayMouseScale", (void *)2); + capi_IVRInput_005_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_005_GetSkeletalReferenceTransforms", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 1); + check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 2); + check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 3); + check_ptr_parameter("IVRInput_005_GetSkeletalReferenceTransforms", (void *)4); + check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayMouseScale", (void *)2); + capi_IVRInput_005_GetSkeletalTrackingLevel(1, (void *)2); + check_ptr_parameter("IVRInput_005_GetSkeletalTrackingLevel", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetSkeletalTrackingLevel", 1); + check_ptr_parameter("IVRInput_005_GetSkeletalTrackingLevel", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", (void *)3); + capi_IVRInput_005_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_005_GetSkeletalBoneData", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetSkeletalBoneData", 1); + check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_005_GetSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalSummaryData)(VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; clear_parameters(); - capi_IVROverlay_022_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_022_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_IsHoverTargetOverlay", 1); + capi_IVRInput_005_GetSkeletalSummaryData(1, (void *)2); + check_ptr_parameter("IVRInput_005_GetSkeletalSummaryData", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetSkeletalSummaryData", 1); + check_ptr_parameter("IVRInput_005_GetSkeletalSummaryData", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 4.0f); + capi_IVRInput_005_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 1); + check_uint32_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 2); + check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", (void *)3); + check_uint32_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 4); + check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", (void *)4); + capi_IVRInput_005_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", this_ptr_value); + check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", (void *)1); + check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); + EVRInputError (__stdcall *capi_IVRInput_005_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_022_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_022_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_022_SetOverlayIntersectionMask", 4); + capi_IVRInput_005_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); + check_ptr_parameter("IVRInput_005_TriggerHapticVibrationAction", this_ptr_value); + check_uint64_parameter("IVRInput_005_TriggerHapticVibrationAction", 1); + check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 2.0f); + check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 3.0f); + check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 4.0f); + check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 5.0f); + check_uint64_parameter("IVRInput_005_TriggerHapticVibrationAction", 6); + + init_thunk(t, this_ptr_value, IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_005_GetActionOrigins(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_005_GetActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetActionOrigins", 1); + check_uint64_parameter("IVRInput_005_GetActionOrigins", 2); + check_ptr_parameter("IVRInput_005_GetActionOrigins", (void *)3); + check_uint32_parameter("IVRInput_005_GetActionOrigins", 4); + + init_thunk(t, this_ptr_value, IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; + + clear_parameters(); + capi_IVRInput_005_GetOriginLocalizedName(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_005_GetOriginLocalizedName", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetOriginLocalizedName", 1); + check_ptr_parameter("IVRInput_005_GetOriginLocalizedName", (void *)2); + check_uint32_parameter("IVRInput_005_GetOriginLocalizedName", 3); + check_uint32_parameter("IVRInput_005_GetOriginLocalizedName", 4); + + init_thunk(t, this_ptr_value, IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + + clear_parameters(); + capi_IVRInput_005_GetOriginTrackedDeviceInfo(1, (void *)2, 3); + check_ptr_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", this_ptr_value); + check_uint64_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", 1); + check_ptr_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", (void *)2); + check_uint32_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", 3); + + init_thunk(t, this_ptr_value, IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + + clear_parameters(); + capi_IVRInput_005_ShowActionOrigins(1, 2); + check_ptr_parameter("IVRInput_005_ShowActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_005_ShowActionOrigins", 1); + check_uint64_parameter("IVRInput_005_ShowActionOrigins", 2); + + init_thunk(t, this_ptr_value, IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_005_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + + clear_parameters(); + capi_IVRInput_005_ShowBindingsForActionSet((void *)1, 2, 3, 4); + check_ptr_parameter("IVRInput_005_ShowBindingsForActionSet", this_ptr_value); + check_ptr_parameter("IVRInput_005_ShowBindingsForActionSet", (void *)1); + check_uint32_parameter("IVRInput_005_ShowBindingsForActionSet", 2); + check_uint32_parameter("IVRInput_005_ShowBindingsForActionSet", 3); + check_uint64_parameter("IVRInput_005_ShowBindingsForActionSet", 4); + + init_thunk(t, this_ptr_value, IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRInput_005_IsUsingLegacyInput)() = (void *)t; + + clear_parameters(); + capi_IVRInput_005_IsUsingLegacyInput(); + check_ptr_parameter("IVRInput_005_IsUsingLegacyInput", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRInput_006(void) +{ + struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_022_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; clear_parameters(); - capi_IVROverlay_022_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 4.0f); + capi_IVRInput_006_SetActionManifestPath((void *)1); + check_ptr_parameter("IVRInput_006_SetActionManifestPath", this_ptr_value); + check_ptr_parameter("IVRInput_006_SetActionManifestPath", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_022_SetOverlayCursor", 2); + capi_IVRInput_006_GetActionSetHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_006_GetActionSetHandle", this_ptr_value); + check_ptr_parameter("IVRInput_006_GetActionSetHandle", (void *)1); + check_ptr_parameter("IVRInput_006_GetActionSetHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetActionHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", (void *)2); + capi_IVRInput_006_GetActionHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_006_GetActionHandle", this_ptr_value); + check_ptr_parameter("IVRInput_006_GetActionHandle", (void *)1); + check_ptr_parameter("IVRInput_006_GetActionHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_022_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ClearOverlayCursorPositionOverride", 1); + capi_IVRInput_006_GetInputSourceHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_006_GetInputSourceHandle", this_ptr_value); + check_ptr_parameter("IVRInput_006_GetInputSourceHandle", (void *)1); + check_ptr_parameter("IVRInput_006_GetInputSourceHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_UpdateActionState, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayTexture", (void *)2); + capi_IVRInput_006_UpdateActionState((void *)1, 2, 3); + check_ptr_parameter("IVRInput_006_UpdateActionState", this_ptr_value); + check_ptr_parameter("IVRInput_006_UpdateActionState", (void *)1); + check_uint32_parameter("IVRInput_006_UpdateActionState", 2); + check_uint32_parameter("IVRInput_006_UpdateActionState", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_022_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ClearOverlayTexture", 1); + capi_IVRInput_006_GetDigitalActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_006_GetDigitalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetDigitalActionData", 1); + check_ptr_parameter("IVRInput_006_GetDigitalActionData", (void *)2); + check_uint32_parameter("IVRInput_006_GetDigitalActionData", 3); + check_uint64_parameter("IVRInput_006_GetDigitalActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_022_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 5); + capi_IVRInput_006_GetAnalogActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_006_GetAnalogActionData", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetAnalogActionData", 1); + check_ptr_parameter("IVRInput_006_GetAnalogActionData", (void *)2); + check_uint32_parameter("IVRInput_006_GetAnalogActionData", 3); + check_uint64_parameter("IVRInput_006_GetAnalogActionData", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayFromFile", (void *)2); + capi_IVRInput_006_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); + check_ptr_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 1); + check_uint32_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 2); + check_float_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 3.0f); + check_ptr_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", (void *)4); + check_uint32_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 5); + check_uint64_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 6); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)9); + capi_IVRInput_006_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); + check_ptr_parameter("IVRInput_006_GetPoseActionDataForNextFrame", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 1); + check_uint32_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 2); + check_ptr_parameter("IVRInput_006_GetPoseActionDataForNextFrame", (void *)3); + check_uint32_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 4); + check_uint64_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", (void *)2); + capi_IVRInput_006_GetSkeletalActionData(1, (void *)2, 3); + check_ptr_parameter("IVRInput_006_GetSkeletalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetSkeletalActionData", 1); + check_ptr_parameter("IVRInput_006_GetSkeletalActionData", (void *)2); + check_uint32_parameter("IVRInput_006_GetSkeletalActionData", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetBoneCount, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", (void *)3); + capi_IVRInput_006_GetBoneCount(1, (void *)2); + check_ptr_parameter("IVRInput_006_GetBoneCount", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetBoneCount", 1); + check_ptr_parameter("IVRInput_006_GetBoneCount", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)4); + capi_IVRInput_006_GetBoneHierarchy(1, (void *)2, 3); + check_ptr_parameter("IVRInput_006_GetBoneHierarchy", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetBoneHierarchy", 1); + check_ptr_parameter("IVRInput_006_GetBoneHierarchy", (void *)2); + check_uint32_parameter("IVRInput_006_GetBoneHierarchy", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsDashboardVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetBoneName, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_022_IsDashboardVisible", this_ptr_value); + capi_IVRInput_006_GetBoneName(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_006_GetBoneName", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetBoneName", 1); + check_uint32_parameter("IVRInput_006_GetBoneName", 2); + check_ptr_parameter("IVRInput_006_GetBoneName", (void *)3); + check_uint32_parameter("IVRInput_006_GetBoneName", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_022_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_IsActiveDashboardOverlay", 1); + capi_IVRInput_006_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_006_GetSkeletalReferenceTransforms", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 1); + check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 2); + check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 3); + check_ptr_parameter("IVRInput_006_GetSkeletalReferenceTransforms", (void *)4); + check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", 2); + capi_IVRInput_006_GetSkeletalTrackingLevel(1, (void *)2); + check_ptr_parameter("IVRInput_006_GetSkeletalTrackingLevel", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetSkeletalTrackingLevel", 1); + check_ptr_parameter("IVRInput_006_GetSkeletalTrackingLevel", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", (void *)2); + capi_IVRInput_006_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_006_GetSkeletalBoneData", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetSkeletalBoneData", 1); + check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_006_GetSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_022_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_022_ShowDashboard", (void *)1); + capi_IVRInput_006_GetSkeletalSummaryData(1, 2, (void *)3); + check_ptr_parameter("IVRInput_006_GetSkeletalSummaryData", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetSkeletalSummaryData", 1); + check_uint32_parameter("IVRInput_006_GetSkeletalSummaryData", 2); + check_ptr_parameter("IVRInput_006_GetSkeletalSummaryData", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_022_GetPrimaryDashboardDevice)() = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_022_GetPrimaryDashboardDevice", this_ptr_value); + capi_IVRInput_006_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 1); + check_uint32_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 2); + check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", (void *)3); + check_uint32_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 4); + check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_022_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_022_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_022_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_022_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_022_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_022_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_022_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_022_ShowKeyboard", 7); + capi_IVRInput_006_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", this_ptr_value); + check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", (void *)1); + check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 5); - init_thunk(t, this_ptr_value, IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); + EVRInputError (__stdcall *capi_IVRInput_006_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_022_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_022_ShowKeyboardForOverlay", 8); + capi_IVRInput_006_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); + check_ptr_parameter("IVRInput_006_TriggerHapticVibrationAction", this_ptr_value); + check_uint64_parameter("IVRInput_006_TriggerHapticVibrationAction", 1); + check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 2.0f); + check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 3.0f); + check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 4.0f); + check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 5.0f); + check_uint64_parameter("IVRInput_006_TriggerHapticVibrationAction", 6); - init_thunk(t, this_ptr_value, IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; clear_parameters(); - capi_IVROverlay_022_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_022_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_022_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_022_GetKeyboardText", 2); + capi_IVRInput_006_GetActionOrigins(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_006_GetActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetActionOrigins", 1); + check_uint64_parameter("IVRInput_006_GetActionOrigins", 2); + check_ptr_parameter("IVRInput_006_GetActionOrigins", (void *)3); + check_uint32_parameter("IVRInput_006_GetActionOrigins", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_HideKeyboard)() = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; clear_parameters(); - capi_IVROverlay_022_HideKeyboard(); - check_ptr_parameter("IVROverlay_022_HideKeyboard", this_ptr_value); + capi_IVRInput_006_GetOriginLocalizedName(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_006_GetOriginLocalizedName", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetOriginLocalizedName", 1); + check_ptr_parameter("IVRInput_006_GetOriginLocalizedName", (void *)2); + check_uint32_parameter("IVRInput_006_GetOriginLocalizedName", 3); + check_uint32_parameter("IVRInput_006_GetOriginLocalizedName", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", (void *)2); + capi_IVRInput_006_GetOriginTrackedDeviceInfo(1, (void *)2, 3); + check_ptr_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", this_ptr_value); + check_uint64_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", 1); + check_ptr_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", (void *)2); + check_uint32_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", 3); - init_thunk(t, this_ptr_value, IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_022_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVRInput_006_ShowActionOrigins(1, 2); + check_ptr_parameter("IVRInput_006_ShowActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_006_ShowActionOrigins", 1); + check_uint64_parameter("IVRInput_006_ShowActionOrigins", 2); - init_thunk(t, this_ptr_value, IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_022_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_006_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; clear_parameters(); - capi_IVROverlay_022_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)6); + capi_IVRInput_006_ShowBindingsForActionSet((void *)1, 2, 3, 4); + check_ptr_parameter("IVRInput_006_ShowBindingsForActionSet", this_ptr_value); + check_ptr_parameter("IVRInput_006_ShowBindingsForActionSet", (void *)1); + check_uint32_parameter("IVRInput_006_ShowBindingsForActionSet", 2); + check_uint32_parameter("IVRInput_006_ShowBindingsForActionSet", 3); + check_uint64_parameter("IVRInput_006_ShowBindingsForActionSet", 4); - init_thunk(t, this_ptr_value, IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_CloseMessageOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRInput_006_IsUsingLegacyInput)() = (void *)t; clear_parameters(); - capi_IVROverlay_022_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_022_CloseMessageOverlay", this_ptr_value); + capi_IVRInput_006_IsUsingLegacyInput(); + check_ptr_parameter("IVRInput_006_IsUsingLegacyInput", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } @@ -8383,6898 +10037,7794 @@ void test_capi_thunks_IVRInput_007(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSettings_002(void) +void test_capi_thunks_IVRInput_010(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSettings_002_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSettings_002_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_SetActionManifestPath, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; clear_parameters(); - capi_IVRSettings_002_GetSettingsErrorNameFromEnum(1); - check_ptr_parameter("IVRSettings_002_GetSettingsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSettings_002_GetSettingsErrorNameFromEnum", 1); + capi_IVRInput_010_SetActionManifestPath((void *)1); + check_ptr_parameter("IVRInput_010_SetActionManifestPath", this_ptr_value); + check_ptr_parameter("IVRInput_010_SetActionManifestPath", (void *)1); - init_thunk(t, this_ptr_value, IVRSettings_002_Sync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_002_Sync)(bool bForce, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetActionSetHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRSettings_002_Sync(1, (void *)2); - check_ptr_parameter("IVRSettings_002_Sync", this_ptr_value); - check_bool_parameter("IVRSettings_002_Sync", 1); - check_ptr_parameter("IVRSettings_002_Sync", (void *)2); + capi_IVRInput_010_GetActionSetHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_010_GetActionSetHandle", this_ptr_value); + check_ptr_parameter("IVRInput_010_GetActionSetHandle", (void *)1); + check_ptr_parameter("IVRInput_010_GetActionSetHandle", (void *)2); - init_thunk(t, this_ptr_value, IVRSettings_002_SetBool, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetActionHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRSettings_002_SetBool((void *)1, (void *)2, 1, (void *)4); - check_ptr_parameter("IVRSettings_002_SetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetBool", (void *)1); - check_ptr_parameter("IVRSettings_002_SetBool", (void *)2); - check_bool_parameter("IVRSettings_002_SetBool", 1); - check_ptr_parameter("IVRSettings_002_SetBool", (void *)4); + capi_IVRInput_010_GetActionHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_010_GetActionHandle", this_ptr_value); + check_ptr_parameter("IVRInput_010_GetActionHandle", (void *)1); + check_ptr_parameter("IVRInput_010_GetActionHandle", (void *)2); - init_thunk(t, this_ptr_value, IVRSettings_002_SetInt32, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetInputSourceHandle, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRSettings_002_SetInt32((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSettings_002_SetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetInt32", (void *)1); - check_ptr_parameter("IVRSettings_002_SetInt32", (void *)2); - check_uint32_parameter("IVRSettings_002_SetInt32", 3); - check_ptr_parameter("IVRSettings_002_SetInt32", (void *)4); + capi_IVRInput_010_GetInputSourceHandle((void *)1, (void *)2); + check_ptr_parameter("IVRInput_010_GetInputSourceHandle", this_ptr_value); + check_ptr_parameter("IVRInput_010_GetInputSourceHandle", (void *)1); + check_ptr_parameter("IVRInput_010_GetInputSourceHandle", (void *)2); - init_thunk(t, this_ptr_value, IVRSettings_002_SetFloat, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_UpdateActionState, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; clear_parameters(); - capi_IVRSettings_002_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); - check_ptr_parameter("IVRSettings_002_SetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetFloat", (void *)1); - check_ptr_parameter("IVRSettings_002_SetFloat", (void *)2); - check_float_parameter("IVRSettings_002_SetFloat", 3.0f); - check_ptr_parameter("IVRSettings_002_SetFloat", (void *)4); + capi_IVRInput_010_UpdateActionState((void *)1, 2, 3); + check_ptr_parameter("IVRInput_010_UpdateActionState", this_ptr_value); + check_ptr_parameter("IVRInput_010_UpdateActionState", (void *)1); + check_uint32_parameter("IVRInput_010_UpdateActionState", 2); + check_uint32_parameter("IVRInput_010_UpdateActionState", 3); - init_thunk(t, this_ptr_value, IVRSettings_002_SetString, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetDigitalActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVRSettings_002_SetString((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSettings_002_SetString", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetString", (void *)1); - check_ptr_parameter("IVRSettings_002_SetString", (void *)2); - check_ptr_parameter("IVRSettings_002_SetString", (void *)3); - check_ptr_parameter("IVRSettings_002_SetString", (void *)4); + capi_IVRInput_010_GetDigitalActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_010_GetDigitalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetDigitalActionData", 1); + check_ptr_parameter("IVRInput_010_GetDigitalActionData", (void *)2); + check_uint32_parameter("IVRInput_010_GetDigitalActionData", 3); + check_uint64_parameter("IVRInput_010_GetDigitalActionData", 4); - init_thunk(t, this_ptr_value, IVRSettings_002_GetBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_002_GetBool)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetAnalogActionData, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVRSettings_002_GetBool((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_GetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetBool", (void *)1); - check_ptr_parameter("IVRSettings_002_GetBool", (void *)2); - check_ptr_parameter("IVRSettings_002_GetBool", (void *)3); + capi_IVRInput_010_GetAnalogActionData(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_010_GetAnalogActionData", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetAnalogActionData", 1); + check_ptr_parameter("IVRInput_010_GetAnalogActionData", (void *)2); + check_uint32_parameter("IVRInput_010_GetAnalogActionData", 3); + check_uint64_parameter("IVRInput_010_GetAnalogActionData", 4); - init_thunk(t, this_ptr_value, IVRSettings_002_GetInt32, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSettings_002_GetInt32)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVRSettings_002_GetInt32((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_GetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetInt32", (void *)1); - check_ptr_parameter("IVRSettings_002_GetInt32", (void *)2); - check_ptr_parameter("IVRSettings_002_GetInt32", (void *)3); + capi_IVRInput_010_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); + check_ptr_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 1); + check_uint32_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 2); + check_float_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 3.0f); + check_ptr_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", (void *)4); + check_uint32_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 5); + check_uint64_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 6); - init_thunk(t, this_ptr_value, IVRSettings_002_GetFloat, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSettings_002_GetFloat)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; clear_parameters(); - capi_IVRSettings_002_GetFloat((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_GetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetFloat", (void *)1); - check_ptr_parameter("IVRSettings_002_GetFloat", (void *)2); - check_ptr_parameter("IVRSettings_002_GetFloat", (void *)3); + capi_IVRInput_010_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); + check_ptr_parameter("IVRInput_010_GetPoseActionDataForNextFrame", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 1); + check_uint32_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 2); + check_ptr_parameter("IVRInput_010_GetPoseActionDataForNextFrame", (void *)3); + check_uint32_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 4); + check_uint64_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 5); - init_thunk(t, this_ptr_value, IVRSettings_002_GetString, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalActionData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; clear_parameters(); - capi_IVRSettings_002_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSettings_002_GetString", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetString", (void *)1); - check_ptr_parameter("IVRSettings_002_GetString", (void *)2); - check_ptr_parameter("IVRSettings_002_GetString", (void *)3); - check_uint32_parameter("IVRSettings_002_GetString", 4); - check_ptr_parameter("IVRSettings_002_GetString", (void *)5); + capi_IVRInput_010_GetSkeletalActionData(1, (void *)2, 3); + check_ptr_parameter("IVRInput_010_GetSkeletalActionData", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetSkeletalActionData", 1); + check_ptr_parameter("IVRInput_010_GetSkeletalActionData", (void *)2); + check_uint32_parameter("IVRInput_010_GetSkeletalActionData", 3); - init_thunk(t, this_ptr_value, IVRSettings_002_RemoveSection, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_GetDominantHand, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetDominantHand)(ETrackedControllerRole * peDominantHand) = (void *)t; clear_parameters(); - capi_IVRSettings_002_RemoveSection((void *)1, (void *)2); - check_ptr_parameter("IVRSettings_002_RemoveSection", this_ptr_value); - check_ptr_parameter("IVRSettings_002_RemoveSection", (void *)1); - check_ptr_parameter("IVRSettings_002_RemoveSection", (void *)2); + capi_IVRInput_010_GetDominantHand((void *)1); + check_ptr_parameter("IVRInput_010_GetDominantHand", this_ptr_value); + check_ptr_parameter("IVRInput_010_GetDominantHand", (void *)1); - init_thunk(t, this_ptr_value, IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRInput_010_SetDominantHand, 1, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_SetDominantHand)(ETrackedControllerRole eDominantHand) = (void *)t; clear_parameters(); - capi_IVRSettings_002_RemoveKeyInSection((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", this_ptr_value); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)1); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)2); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)3); + capi_IVRInput_010_SetDominantHand(1); + check_ptr_parameter("IVRInput_010_SetDominantHand", this_ptr_value); + check_uint32_parameter("IVRInput_010_SetDominantHand", 1); + + init_thunk(t, this_ptr_value, IVRInput_010_GetBoneCount, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetBoneCount(1, (void *)2); + check_ptr_parameter("IVRInput_010_GetBoneCount", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetBoneCount", 1); + check_ptr_parameter("IVRInput_010_GetBoneCount", (void *)2); + + init_thunk(t, this_ptr_value, IVRInput_010_GetBoneHierarchy, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetBoneHierarchy(1, (void *)2, 3); + check_ptr_parameter("IVRInput_010_GetBoneHierarchy", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetBoneHierarchy", 1); + check_ptr_parameter("IVRInput_010_GetBoneHierarchy", (void *)2); + check_uint32_parameter("IVRInput_010_GetBoneHierarchy", 3); + + init_thunk(t, this_ptr_value, IVRInput_010_GetBoneName, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetBoneName(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_010_GetBoneName", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetBoneName", 1); + check_uint32_parameter("IVRInput_010_GetBoneName", 2); + check_ptr_parameter("IVRInput_010_GetBoneName", (void *)3); + check_uint32_parameter("IVRInput_010_GetBoneName", 4); + + init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_010_GetSkeletalReferenceTransforms", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 1); + check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 2); + check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 3); + check_ptr_parameter("IVRInput_010_GetSkeletalReferenceTransforms", (void *)4); + check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 5); + + init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetSkeletalTrackingLevel(1, (void *)2); + check_ptr_parameter("IVRInput_010_GetSkeletalTrackingLevel", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetSkeletalTrackingLevel", 1); + check_ptr_parameter("IVRInput_010_GetSkeletalTrackingLevel", (void *)2); + + init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_010_GetSkeletalBoneData", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetSkeletalBoneData", 1); + check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_010_GetSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 5); + + init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalSummaryData, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetSkeletalSummaryData(1, 2, (void *)3); + check_ptr_parameter("IVRInput_010_GetSkeletalSummaryData", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetSkeletalSummaryData", 1); + check_uint32_parameter("IVRInput_010_GetSkeletalSummaryData", 2); + check_ptr_parameter("IVRInput_010_GetSkeletalSummaryData", (void *)3); + + init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 1); + check_uint32_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 2); + check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", (void *)3); + check_uint32_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 4); + check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", (void *)5); + + init_thunk(t, this_ptr_value, IVRInput_010_DecompressSkeletalBoneData, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); + check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", this_ptr_value); + check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", (void *)1); + check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 2); + check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 3); + check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", (void *)4); + check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 5); + + init_thunk(t, this_ptr_value, IVRInput_010_TriggerHapticVibrationAction, 6, TRUE, TRUE); + EVRInputError (__stdcall *capi_IVRInput_010_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); + check_ptr_parameter("IVRInput_010_TriggerHapticVibrationAction", this_ptr_value); + check_uint64_parameter("IVRInput_010_TriggerHapticVibrationAction", 1); + check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 2.0f); + check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 3.0f); + check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 4.0f); + check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 5.0f); + check_uint64_parameter("IVRInput_010_TriggerHapticVibrationAction", 6); + + init_thunk(t, this_ptr_value, IVRInput_010_GetActionOrigins, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetActionOrigins(1, 2, (void *)3, 4); + check_ptr_parameter("IVRInput_010_GetActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetActionOrigins", 1); + check_uint64_parameter("IVRInput_010_GetActionOrigins", 2); + check_ptr_parameter("IVRInput_010_GetActionOrigins", (void *)3); + check_uint32_parameter("IVRInput_010_GetActionOrigins", 4); + + init_thunk(t, this_ptr_value, IVRInput_010_GetOriginLocalizedName, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetOriginLocalizedName(1, (void *)2, 3, 4); + check_ptr_parameter("IVRInput_010_GetOriginLocalizedName", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetOriginLocalizedName", 1); + check_ptr_parameter("IVRInput_010_GetOriginLocalizedName", (void *)2); + check_uint32_parameter("IVRInput_010_GetOriginLocalizedName", 3); + check_uint32_parameter("IVRInput_010_GetOriginLocalizedName", 4); + + init_thunk(t, this_ptr_value, IVRInput_010_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetOriginTrackedDeviceInfo(1, (void *)2, 3); + check_ptr_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", 1); + check_ptr_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", (void *)2); + check_uint32_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", 3); + + init_thunk(t, this_ptr_value, IVRInput_010_GetActionBindingInfo, 5, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetActionBindingInfo)(VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetActionBindingInfo(1, (void *)2, 3, 4, (void *)5); + check_ptr_parameter("IVRInput_010_GetActionBindingInfo", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetActionBindingInfo", 1); + check_ptr_parameter("IVRInput_010_GetActionBindingInfo", (void *)2); + check_uint32_parameter("IVRInput_010_GetActionBindingInfo", 3); + check_uint32_parameter("IVRInput_010_GetActionBindingInfo", 4); + check_ptr_parameter("IVRInput_010_GetActionBindingInfo", (void *)5); + + init_thunk(t, this_ptr_value, IVRInput_010_ShowActionOrigins, 2, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_ShowActionOrigins(1, 2); + check_ptr_parameter("IVRInput_010_ShowActionOrigins", this_ptr_value); + check_uint64_parameter("IVRInput_010_ShowActionOrigins", 1); + check_uint64_parameter("IVRInput_010_ShowActionOrigins", 2); + + init_thunk(t, this_ptr_value, IVRInput_010_ShowBindingsForActionSet, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_ShowBindingsForActionSet((void *)1, 2, 3, 4); + check_ptr_parameter("IVRInput_010_ShowBindingsForActionSet", this_ptr_value); + check_ptr_parameter("IVRInput_010_ShowBindingsForActionSet", (void *)1); + check_uint32_parameter("IVRInput_010_ShowBindingsForActionSet", 2); + check_uint32_parameter("IVRInput_010_ShowBindingsForActionSet", 3); + check_uint64_parameter("IVRInput_010_ShowBindingsForActionSet", 4); + + init_thunk(t, this_ptr_value, IVRInput_010_GetComponentStateForBinding, 6, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetComponentStateForBinding)(const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetComponentStateForBinding((void *)1, (void *)2, (void *)3, 4, 5, (void *)6); + check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", this_ptr_value); + check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)1); + check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)2); + check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)3); + check_uint32_parameter("IVRInput_010_GetComponentStateForBinding", 4); + check_uint32_parameter("IVRInput_010_GetComponentStateForBinding", 5); + check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)6); + + init_thunk(t, this_ptr_value, IVRInput_010_IsUsingLegacyInput, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRInput_010_IsUsingLegacyInput)() = (void *)t; + + clear_parameters(); + capi_IVRInput_010_IsUsingLegacyInput(); + check_ptr_parameter("IVRInput_010_IsUsingLegacyInput", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRInput_010_OpenBindingUI, 4, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_OpenBindingUI)(const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_OpenBindingUI((void *)1, 2, 3, 1); + check_ptr_parameter("IVRInput_010_OpenBindingUI", this_ptr_value); + check_ptr_parameter("IVRInput_010_OpenBindingUI", (void *)1); + check_uint64_parameter("IVRInput_010_OpenBindingUI", 2); + check_uint64_parameter("IVRInput_010_OpenBindingUI", 3); + check_bool_parameter("IVRInput_010_OpenBindingUI", 1); + + init_thunk(t, this_ptr_value, IVRInput_010_GetBindingVariant, 3, FALSE, FALSE); + EVRInputError (__stdcall *capi_IVRInput_010_GetBindingVariant)(VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) = (void *)t; + + clear_parameters(); + capi_IVRInput_010_GetBindingVariant(1, (void *)2, 3); + check_ptr_parameter("IVRInput_010_GetBindingVariant", this_ptr_value); + check_uint64_parameter("IVRInput_010_GetBindingVariant", 1); + check_ptr_parameter("IVRInput_010_GetBindingVariant", (void *)2); + check_uint32_parameter("IVRInput_010_GetBindingVariant", 3); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_022(void) +void test_capi_thunks_IVRMailbox_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRMailbox_001_undoc1, 2, FALSE, FALSE); + vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc1)(const char * a, vrmb_typea * b) = (void *)t; clear_parameters(); - capi_IVRCompositor_022_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_022_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_SetTrackingSpace", 1); + capi_IVRMailbox_001_undoc1((void *)1, (void *)2); + check_ptr_parameter("IVRMailbox_001_undoc1", this_ptr_value); + check_ptr_parameter("IVRMailbox_001_undoc1", (void *)1); + check_ptr_parameter("IVRMailbox_001_undoc1", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_022_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRMailbox_001_undoc2, 1, FALSE, FALSE); + vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc2)(vrmb_typea a) = (void *)t; clear_parameters(); - capi_IVRCompositor_022_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_022_GetTrackingSpace", this_ptr_value); + capi_IVRMailbox_001_undoc2(1); + check_ptr_parameter("IVRMailbox_001_undoc2", this_ptr_value); + check_uint64_parameter("IVRMailbox_001_undoc2", 1); - init_thunk(t, this_ptr_value, IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRMailbox_001_undoc3, 3, FALSE, FALSE); + vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc3)(vrmb_typea a, const char * b, const char * c) = (void *)t; clear_parameters(); - capi_IVRCompositor_022_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_022_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_022_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_022_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_022_WaitGetPoses", 4); + capi_IVRMailbox_001_undoc3(1, (void *)2, (void *)3); + check_ptr_parameter("IVRMailbox_001_undoc3", this_ptr_value); + check_uint64_parameter("IVRMailbox_001_undoc3", 1); + check_ptr_parameter("IVRMailbox_001_undoc3", (void *)2); + check_ptr_parameter("IVRMailbox_001_undoc3", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRMailbox_001_undoc4, 4, FALSE, FALSE); + vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc4)(vrmb_typea a, char * b, uint32_t c, uint32_t * d) = (void *)t; clear_parameters(); - capi_IVRCompositor_022_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_022_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_022_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_022_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_022_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_Submit", 1); - check_ptr_parameter("IVRCompositor_022_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_022_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_022_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_022_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_022_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_022_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_022_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_022_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_022_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_022_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_022_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_022_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_022_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_022_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_022_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_022_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_022_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_022_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_022_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_022_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_022_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_022_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_022_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_022_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorQuit(); - check_ptr_parameter("IVRCompositor_022_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsFullscreen(); - check_ptr_parameter("IVRCompositor_022_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_022_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_022_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CanRenderScene(); - check_ptr_parameter("IVRCompositor_022_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_022_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_022_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_022_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_022_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_022_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_022_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_022_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_022_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_022_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_022_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_022_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_022_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_022_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_022_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_022_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_022_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_022_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_022_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_022_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_022_IsCurrentSceneFocusAppLoading", this_ptr_value); + capi_IVRMailbox_001_undoc4(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRMailbox_001_undoc4", this_ptr_value); + check_uint64_parameter("IVRMailbox_001_undoc4", 1); + check_ptr_parameter("IVRMailbox_001_undoc4", (void *)2); + check_uint32_parameter("IVRMailbox_001_undoc4", 3); + check_ptr_parameter("IVRMailbox_001_undoc4", (void *)4); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_021(void) +void test_capi_thunks_IVRNotifications_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_021_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRNotifications_001_GetErrorString, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRNotifications_001_GetErrorString)(NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_021_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_021_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_FindOverlay", (void *)2); + capi_IVRNotifications_001_GetErrorString(1, (void *)2, 3); + check_ptr_parameter("IVRNotifications_001_GetErrorString", this_ptr_value); + check_uint32_parameter("IVRNotifications_001_GetErrorString", 1); + check_ptr_parameter("IVRNotifications_001_GetErrorString", (void *)2); + check_uint32_parameter("IVRNotifications_001_GetErrorString", 3); - init_thunk(t, this_ptr_value, IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRNotifications_001_CreateNotification, 7, FALSE, FALSE); + NotificationError_t (__stdcall *capi_IVRNotifications_001_CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) = (void *)t; clear_parameters(); - capi_IVROverlay_021_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)3); + capi_IVRNotifications_001_CreateNotification(1, 2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7); + check_ptr_parameter("IVRNotifications_001_CreateNotification", this_ptr_value); + check_uint64_parameter("IVRNotifications_001_CreateNotification", 1); + check_uint64_parameter("IVRNotifications_001_CreateNotification", 2); + check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)3); + check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)4); + check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)5); + check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)6); + check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)7); - init_thunk(t, this_ptr_value, IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRNotifications_001_DismissNotification, 1, FALSE, FALSE); + NotificationError_t (__stdcall *capi_IVRNotifications_001_DismissNotification)(VRNotificationId notificationId) = (void *)t; clear_parameters(); - capi_IVROverlay_021_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_021_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_021_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_021_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_021_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_021_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_021_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_021_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_021_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayColor", 1); - check_float_parameter("IVROverlay_021_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_021_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_021_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_021_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_021_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_021_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_021_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_021_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_021_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowOverlay(1); - check_ptr_parameter("IVROverlay_021_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_HideOverlay(1); - check_ptr_parameter("IVROverlay_021_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_021_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_021_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_021_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_021_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_021_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_021_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_021_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_021_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_021_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_021_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_021_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_021_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_021_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_021_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_021_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_021_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_021_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_021_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_021_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_021_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_021_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_021_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_021_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_021_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_021_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_021_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_021_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_021_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_HideKeyboard(); - check_ptr_parameter("IVROverlay_021_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_021_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_021_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_021_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_021_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_021_CloseMessageOverlay", this_ptr_value); + capi_IVRNotifications_001_DismissNotification(1); + check_ptr_parameter("IVRNotifications_001_DismissNotification", this_ptr_value); + check_uint32_parameter("IVRNotifications_001_DismissNotification", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_020(void) +void test_capi_thunks_IVRNotifications_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_020_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRNotifications_002_CreateNotification, 7, FALSE, FALSE); + EVRNotificationError (__stdcall *capi_IVRNotifications_002_CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) = (void *)t; clear_parameters(); - capi_IVRSystem_020_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", (void *)2); + capi_IVRNotifications_002_CreateNotification(1, 2, 3, (void *)4, 5, (void *)6, (void *)7); + check_ptr_parameter("IVRNotifications_002_CreateNotification", this_ptr_value); + check_uint64_parameter("IVRNotifications_002_CreateNotification", 1); + check_uint64_parameter("IVRNotifications_002_CreateNotification", 2); + check_uint32_parameter("IVRNotifications_002_CreateNotification", 3); + check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)4); + check_uint32_parameter("IVRNotifications_002_CreateNotification", 5); + check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)6); + check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)7); - init_thunk(t, this_ptr_value, IVRSystem_020_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_020_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; + init_thunk(t, this_ptr_value, IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); + EVRNotificationError (__stdcall *capi_IVRNotifications_002_RemoveNotification)(VRNotificationId notificationId) = (void *)t; clear_parameters(); - capi_IVRSystem_020_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_020_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_020_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_020_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_020_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_020_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_020_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_020_ComputeDistortion", 1); - check_float_parameter("IVRSystem_020_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_020_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_020_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_020_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_020_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_020_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_020_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_020_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_020_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_020_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_020_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_020_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_020_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_020_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_020_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_020_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_020_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_020_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_020_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_020_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_020_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_020_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_020_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_020_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_020_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_020_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_020_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", (void *)6); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_020_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_020_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_020_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_020_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_020_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_020_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_020_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_020_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_020_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_020_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerState", 1); - check_ptr_parameter("IVRSystem_020_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_020_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_020_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_020_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsInputAvailable)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsInputAvailable(); - check_ptr_parameter("IVRSystem_020_IsInputAvailable", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsSteamVRDrawingControllers)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_020_IsSteamVRDrawingControllers", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_ShouldApplicationPause)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_020_ShouldApplicationPause", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_ShouldApplicationReduceRenderingWork)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_020_ShouldApplicationReduceRenderingWork", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_020_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_020_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_020_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_020_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_020_AcknowledgeQuit_UserPrompt", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetAppContainerFilePaths, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetAppContainerFilePaths((void *)1, 2); - check_ptr_parameter("IVRSystem_020_GetAppContainerFilePaths", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetAppContainerFilePaths", (void *)1); - check_uint32_parameter("IVRSystem_020_GetAppContainerFilePaths", 2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetRuntimeVersion, 0, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetRuntimeVersion)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetRuntimeVersion(); - check_ptr_parameter("IVRSystem_020_GetRuntimeVersion", this_ptr_value); + capi_IVRNotifications_002_RemoveNotification(1); + check_ptr_parameter("IVRNotifications_002_RemoveNotification", this_ptr_value); + check_uint32_parameter("IVRNotifications_002_RemoveNotification", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRApplications_006(void) +void test_capi_thunks_IVROverlayView_003(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRApplications_006_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlayView_003_AcquireOverlayView, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlayView_003_AcquireOverlayView)(VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) = (void *)t; clear_parameters(); - capi_IVRApplications_006_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_006_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_006_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_006_AddApplicationManifest", 1); + capi_IVROverlayView_003_AcquireOverlayView(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", this_ptr_value); + check_uint64_parameter("IVROverlayView_003_AcquireOverlayView", 1); + check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", (void *)2); + check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", (void *)3); + check_uint32_parameter("IVROverlayView_003_AcquireOverlayView", 4); - init_thunk(t, this_ptr_value, IVRApplications_006_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlayView_003_ReleaseOverlayView, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlayView_003_ReleaseOverlayView)(VROverlayView_t * pOverlayView) = (void *)t; clear_parameters(); - capi_IVRApplications_006_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_006_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_006_RemoveApplicationManifest", (void *)1); + capi_IVROverlayView_003_ReleaseOverlayView((void *)1); + check_ptr_parameter("IVROverlayView_003_ReleaseOverlayView", this_ptr_value); + check_ptr_parameter("IVROverlayView_003_ReleaseOverlayView", (void *)1); - init_thunk(t, this_ptr_value, IVRApplications_006_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlayView_003_PostOverlayEvent, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlayView_003_PostOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) = (void *)t; clear_parameters(); - capi_IVRApplications_006_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_006_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_006_IsApplicationInstalled", (void *)1); + capi_IVROverlayView_003_PostOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlayView_003_PostOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlayView_003_PostOverlayEvent", 1); + check_ptr_parameter("IVROverlayView_003_PostOverlayEvent", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlayView_003_IsViewingPermitted, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlayView_003_IsViewingPermitted)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRApplications_006_GetApplicationCount(); - check_ptr_parameter("IVRApplications_006_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_006_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchTemplateApplication, 4, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)1); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)2); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)3); - check_uint32_parameter("IVRApplications_006_LaunchTemplateApplication", 4); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchApplicationFromMimeType, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchApplicationFromMimeType)(const char * pchMimeType, const char * pchArgs) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchApplicationFromMimeType((void *)1, (void *)2); - check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_006_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_006_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_006_CancelApplicationLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_006_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_006_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_006_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_006_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_006_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_006_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_006_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_006_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_006_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_006_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_SetDefaultApplicationForMimeType)(const char * pchAppKey, const char * pchMimeType) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_SetDefaultApplicationForMimeType((void *)1, (void *)2); - check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetDefaultApplicationForMimeType)(const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetDefaultApplicationForMimeType((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", (void *)2); - check_uint32_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetApplicationSupportedMimeTypes)(const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationSupportedMimeTypes((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", (void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationsThatSupportMimeType)(const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationsThatSupportMimeType((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationLaunchArguments, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationLaunchArguments)(uint32_t unHandle, char * pchArgs, uint32_t unArgs) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationLaunchArguments(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationLaunchArguments", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationLaunchArguments", 1); - check_ptr_parameter("IVRApplications_006_GetApplicationLaunchArguments", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationLaunchArguments", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_006_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_006_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_006_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetTransitionState(); - check_ptr_parameter("IVRApplications_006_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_006_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_006_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_006_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_006_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_006_IsQuitUserPromptRequested", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetCurrentSceneProcessId, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetCurrentSceneProcessId)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetCurrentSceneProcessId(); - check_ptr_parameter("IVRApplications_006_GetCurrentSceneProcessId", this_ptr_value); + capi_IVROverlayView_003_IsViewingPermitted(1); + check_ptr_parameter("IVROverlayView_003_IsViewingPermitted", this_ptr_value); + check_uint64_parameter("IVROverlayView_003_IsViewingPermitted", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_020(void) +void test_capi_thunks_IVROverlay_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_020_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_FindOverlay, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_020_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_FindOverlay", (void *)2); + capi_IVROverlay_001_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_001_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_001_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_001_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)3); + capi_IVROverlay_001_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_001_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_020_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_DestroyOverlay", 1); + capi_IVROverlay_001_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_001_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_001_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayKey", (void *)4); + capi_IVROverlay_001_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_001_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_001_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayName", (void *)4); + capi_IVROverlay_001_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_001_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_001_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayName", (void *)2); + capi_IVROverlay_001_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_001_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_001_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)5); + capi_IVROverlay_001_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_001_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_001_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_001_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_020_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_020_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_020_GetOverlayErrorNameFromEnum", 1); + capi_IVROverlay_001_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_001_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_001_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_001_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayRenderingPid", 2); + capi_IVROverlay_001_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_001_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_001_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayRenderingPid", 1); + capi_IVROverlay_001_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_020_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_020_SetOverlayFlag", 1); + capi_IVROverlay_001_SetOverlayGamma(1, 2.0f); + check_ptr_parameter("IVROverlay_001_SetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayGamma", 1); + check_float_parameter("IVROverlay_001_SetOverlayGamma", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_020_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_020_GetOverlayFlag", (void *)3); + capi_IVROverlay_001_GetOverlayGamma(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayGamma", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayGamma", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayColor", 1); - check_float_parameter("IVROverlay_020_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_020_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_020_SetOverlayColor", 4.0f); + capi_IVROverlay_001_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_001_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_001_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)4); + capi_IVROverlay_001_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_020_SetOverlayAlpha", 2.0f); + capi_IVROverlay_001_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_001_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_001_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayAlpha", (void *)2); + capi_IVROverlay_001_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_020_SetOverlayTexelAspect", 2.0f); + capi_IVROverlay_001_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTexelAspect", (void *)2); + capi_IVROverlay_001_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_001_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_001_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_001_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_020_SetOverlaySortOrder", 2); + capi_IVROverlay_001_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_020_GetOverlaySortOrder", (void *)2); + capi_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_020_SetOverlayWidthInMeters", 2.0f); + capi_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayVisibility)(VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayWidthInMeters", (void *)2); + capi_IVROverlay_001_GetOverlayVisibility(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayVisibility", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayVisibility", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayVisibility", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayVisibility)(VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVROverlay_001_SetOverlayVisibility(1, 2); + check_ptr_parameter("IVROverlay_001_SetOverlayVisibility", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayVisibility", 1); + check_uint32_parameter("IVROverlay_001_SetOverlayVisibility", 2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVROverlay_001_ShowOverlay(1); + check_ptr_parameter("IVROverlay_001_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_001_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_HideOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTextureColorSpace", 2); + capi_IVROverlay_001_HideOverlay(1); + check_ptr_parameter("IVROverlay_001_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_001_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_001_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureColorSpace", (void *)2); + capi_IVROverlay_001_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_001_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_001_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_001_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayTextureBounds", (void *)2); + capi_IVROverlay_001_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_001_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_001_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_001_PollNextOverlayEvent", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureBounds", (void *)2); + capi_IVROverlay_001_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)5); + capi_IVROverlay_001_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_001_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_001_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", (void *)3); + capi_IVROverlay_001_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_001_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformType", (void *)2); + capi_IVROverlay_001_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_001_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_001_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_001_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_001_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_001_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_001_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", 2); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void * pTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_001_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_001_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_001_SetOverlayTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_001_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_001_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_001_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVROverlay_001_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_001_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_001_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_001_IsSystemOverlayVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVROverlay_001_IsSystemOverlayVisible(); + check_ptr_parameter("IVROverlay_001_IsSystemOverlayVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_001_IsActiveSystemOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_001_IsActiveSystemOverlay(1); + check_ptr_parameter("IVROverlay_001_IsActiveSystemOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_001_IsActiveSystemOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_SetSystemOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_001_SetSystemOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_001_GetSystemOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_020_ShowOverlay(1); - check_ptr_parameter("IVROverlay_020_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_HideOverlay(1); - check_ptr_parameter("IVROverlay_020_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_020_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_020_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_020_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_020_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_020_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_020_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_020_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_020_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_020_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_020_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_020_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_020_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_020_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_020_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_020_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_020_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_020_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_020_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_020_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_020_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_020_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_020_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_020_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_020_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_020_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_020_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_020_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_020_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_020_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_020_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_020_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_020_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_020_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_020_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_020_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_HideKeyboard(); - check_ptr_parameter("IVROverlay_020_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_020_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_020_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_020_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_020_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_020_CloseMessageOverlay", this_ptr_value); + capi_IVROverlay_001_GetSystemOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", (void *)2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_019(void) +void test_capi_thunks_IVROverlay_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_019_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_FindOverlay, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_019_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_FindOverlay", (void *)2); + capi_IVROverlay_002_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_002_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_002_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_002_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)3); + capi_IVROverlay_002_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_002_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_019_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_DestroyOverlay", 1); + capi_IVROverlay_002_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_002_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_002_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_019_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetHighQualityOverlay", 1); + capi_IVROverlay_002_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_002_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_019_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_002_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_019_GetHighQualityOverlay", this_ptr_value); + capi_IVROverlay_002_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_002_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_002_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayKey", (void *)4); + capi_IVROverlay_002_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_002_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_002_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayName", (void *)4); + capi_IVROverlay_002_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_002_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_002_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_002_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayName", (void *)2); + capi_IVROverlay_002_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_002_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_002_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_002_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)5); + capi_IVROverlay_002_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_002_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayColor", 1); + check_float_parameter("IVROverlay_002_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_002_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_002_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_019_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_019_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_019_GetOverlayErrorNameFromEnum", 1); + capi_IVROverlay_002_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_002_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayRenderingPid", 2); + capi_IVROverlay_002_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_002_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_002_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayRenderingPid", 1); + capi_IVROverlay_002_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_019_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_019_SetOverlayFlag", 1); + capi_IVROverlay_002_SetOverlayGamma(1, 2.0f); + check_ptr_parameter("IVROverlay_002_SetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayGamma", 1); + check_float_parameter("IVROverlay_002_SetOverlayGamma", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_019_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_019_GetOverlayFlag", (void *)3); + capi_IVROverlay_002_GetOverlayGamma(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayGamma", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayGamma", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayColor", 1); - check_float_parameter("IVROverlay_019_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_019_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_019_SetOverlayColor", 4.0f); + capi_IVROverlay_002_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_002_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_002_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)4); + capi_IVROverlay_002_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_019_SetOverlayAlpha", 2.0f); + capi_IVROverlay_002_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_002_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_002_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayAlpha", (void *)2); + capi_IVROverlay_002_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_019_SetOverlayTexelAspect", 2.0f); + capi_IVROverlay_002_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTexelAspect", (void *)2); + capi_IVROverlay_002_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_002_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_002_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_002_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_019_SetOverlaySortOrder", 2); + capi_IVROverlay_002_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_019_GetOverlaySortOrder", (void *)2); + capi_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_019_SetOverlayWidthInMeters", 2.0f); + capi_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayWidthInMeters", (void *)2); + capi_IVROverlay_002_ShowOverlay(1); + check_ptr_parameter("IVROverlay_002_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_002_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_HideOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVROverlay_002_HideOverlay(1); + check_ptr_parameter("IVROverlay_002_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_002_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_002_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVROverlay_002_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_002_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_002_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_002_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTextureColorSpace", 2); + capi_IVROverlay_002_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_002_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_002_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_002_PollNextOverlayEvent", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureColorSpace", (void *)2); + capi_IVROverlay_002_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayTextureBounds", (void *)2); + capi_IVROverlay_002_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_002_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_002_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureBounds", (void *)2); + capi_IVROverlay_002_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_002_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)5); + capi_IVROverlay_002_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_002_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_002_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_002_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", (void *)3); + capi_IVROverlay_002_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_002_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_002_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformType", (void *)2); + capi_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", 2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_002_SetOverlayTexture(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_002_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayTexture", 1); + check_uint32_parameter("IVROverlay_002_SetOverlayTexture", 2); + check_ptr_parameter("IVROverlay_002_SetOverlayTexture", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_002_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_002_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_002_ClearOverlayTexture", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_002_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_002_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_002_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_002_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_002_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_002_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVROverlay_002_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_002_IsDashboardVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVROverlay_002_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_002_IsDashboardVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_002_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_002_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_002_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_002_IsActiveDashboardOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_002_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_002_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_019_ShowOverlay(1); - check_ptr_parameter("IVROverlay_019_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_HideOverlay(1); - check_ptr_parameter("IVROverlay_019_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_019_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_019_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_019_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_019_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_019_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_019_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_019_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_019_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_019_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_019_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_019_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_019_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_019_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_019_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_019_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_019_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_019_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_019_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_019_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_019_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_019_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_019_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_019_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_019_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_019_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_019_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_019_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_019_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_019_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_019_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_019_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_019_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_019_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_019_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_019_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_HideKeyboard(); - check_ptr_parameter("IVROverlay_019_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_019_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_019_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_019_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_019_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_019_CloseMessageOverlay", this_ptr_value); + capi_IVROverlay_002_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", (void *)2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRTrackedCamera_005(void) +void test_capi_thunks_IVROverlay_003(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_005_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_FindOverlay, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraErrorNameFromEnum", 1); + capi_IVROverlay_003_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_003_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_003_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_003_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_005_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_005_HasCamera", (void *)2); + capi_IVROverlay_003_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_003_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)5); + capi_IVROverlay_003_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_003_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_003_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraIntrinsics(1, 2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 2); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 3); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", (void *)5); + capi_IVROverlay_003_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_003_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_003_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraProjection(1, 2, 3, 4.0f, 5.0f, (void *)6); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 2); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 3); - check_float_parameter("IVRTrackedCamera_005_GetCameraProjection", 4.0f); - check_float_parameter("IVRTrackedCamera_005_GetCameraProjection", 5.0f); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraProjection", (void *)6); + capi_IVROverlay_003_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_003_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_003_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", (void *)2); + capi_IVROverlay_003_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_003_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_003_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_003_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_003_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_005_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_ReleaseVideoStreamingService", 1); + capi_IVROverlay_003_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_003_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_003_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_003_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 6); + capi_IVROverlay_003_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_003_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_003_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_003_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)5); + capi_IVROverlay_003_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_003_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_003_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 6); + capi_IVROverlay_003_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_003_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_003_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_003_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 5); + capi_IVROverlay_003_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_003_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_003_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_003_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", 2); + capi_IVROverlay_003_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_003_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayColor", 1); + check_float_parameter("IVROverlay_003_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_003_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_003_SetOverlayColor", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_003_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_003_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_003_SetOverlayAlpha", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayAlpha", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayGamma(1, 2.0f); + check_ptr_parameter("IVROverlay_003_SetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayGamma", 1); + check_float_parameter("IVROverlay_003_SetOverlayGamma", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayGamma(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayGamma", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayGamma", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_003_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_003_SetOverlayWidthInMeters", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayWidthInMeters", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_003_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_003_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_003_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_003_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_003_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_ShowOverlay(1); + check_ptr_parameter("IVROverlay_003_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_003_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_003_HideOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_HideOverlay(1); + check_ptr_parameter("IVROverlay_003_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_003_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_003_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_003_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_003_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_003_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_003_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_003_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_003_PollNextOverlayEvent", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_003_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_003_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_003_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_003_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_003_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_003_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_003_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_003_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayTexture(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_003_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayTexture", 1); + check_uint32_parameter("IVROverlay_003_SetOverlayTexture", 2); + check_ptr_parameter("IVROverlay_003_SetOverlayTexture", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_003_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_003_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_003_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_003_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_003_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_003_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_003_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_003_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_003_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_003_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_003_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_003_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_003_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_003_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_003_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_003_ShowDashboard", (void *)1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_019(void) +void test_capi_thunks_IVROverlay_004(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_FindOverlay, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", (void *)2); + capi_IVROverlay_004_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_004_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_004_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_004_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_019_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_019_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_019_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_019_GetProjectionMatrix", 3.0f); + capi_IVROverlay_004_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_004_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)5); + capi_IVROverlay_004_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_004_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_004_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_019_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_019_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_019_ComputeDistortion", 1); - check_float_parameter("IVRSystem_019_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_019_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_019_ComputeDistortion", (void *)4); + capi_IVROverlay_004_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_004_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_004_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_019_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetEyeToHeadTransform", 1); + capi_IVROverlay_004_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_004_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_004_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", (void *)2); + capi_IVROverlay_004_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_004_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_004_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_004_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_019_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_004_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_019_GetD3D9AdapterIndex", this_ptr_value); + capi_IVROverlay_004_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_004_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_004_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_004_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_019_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetDXGIOutputInfo", (void *)1); + capi_IVROverlay_004_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_004_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_004_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_004_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_019_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_019_GetOutputDevice", (void *)3); + capi_IVROverlay_004_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_004_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_004_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_019_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_019_IsDisplayOnDesktop", this_ptr_value); + capi_IVROverlay_004_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_004_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_004_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_004_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_019_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_019_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_019_SetDisplayVisibility", 1); + capi_IVROverlay_004_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_004_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_004_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_004_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVROverlay_004_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_004_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayColor", 1); + check_float_parameter("IVROverlay_004_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_004_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_004_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_019_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_019_ResetSeatedZeroPose", this_ptr_value); + capi_IVROverlay_004_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_004_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_004_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_004_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_004_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_004_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVROverlay_004_SetOverlayGamma(1, 2.0f); + check_ptr_parameter("IVROverlay_004_SetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayGamma", 1); + check_float_parameter("IVROverlay_004_SetOverlayGamma", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_019_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_019_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetTrackedDeviceActivityLevel", 1); + capi_IVROverlay_004_GetOverlayGamma(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayGamma", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayGamma", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_019_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_019_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)3); + capi_IVROverlay_004_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_004_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_004_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_019_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_019_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVROverlay_004_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_019_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_019_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_019_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetTrackedDeviceClass", 1); + capi_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_019_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_019_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_019_IsTrackedDeviceConnected", 1); + capi_IVROverlay_004_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_004_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_004_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVROverlay_004_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_019_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVROverlay_004_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_019_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVROverlay_004_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_004_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_004_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_004_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_019_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVROverlay_004_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", (void *)6); + capi_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", (void *)5); + capi_IVROverlay_004_ShowOverlay(1); + check_ptr_parameter("IVROverlay_004_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_004_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_HideOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetPropErrorNameFromEnum", 1); + capi_IVROverlay_004_HideOverlay(1); + check_ptr_parameter("IVROverlay_004_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_004_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_004_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_019_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_019_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_019_PollNextEvent", 2); + capi_IVROverlay_004_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_004_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_004_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_004_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVRSystem_019_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_019_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_019_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", (void *)4); + capi_IVROverlay_004_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_004_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_004_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_004_PollNextOverlayEvent", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetEventTypeNameFromEnum", 1); + capi_IVROverlay_004_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_019_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_019_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_019_GetHiddenAreaMesh", 2); + capi_IVROverlay_004_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_004_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_004_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_019_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerState", 1); - check_ptr_parameter("IVRSystem_019_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_019_GetControllerState", 3); + capi_IVROverlay_004_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_004_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", (void *)5); + capi_IVROverlay_004_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_004_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_004_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_004_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVRSystem_019_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_019_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 3); + capi_IVROverlay_004_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_004_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_004_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetButtonIdNameFromEnum", 1); + capi_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", 2); - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; clear_parameters(); - capi_IVRSystem_019_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerAxisTypeNameFromEnum", 1); + capi_IVROverlay_004_SetOverlayTexture(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_004_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayTexture", 1); + check_uint32_parameter("IVROverlay_004_SetOverlayTexture", 2); + check_ptr_parameter("IVROverlay_004_SetOverlayTexture", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsInputAvailable)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_IsInputAvailable(); - check_ptr_parameter("IVRSystem_019_IsInputAvailable", this_ptr_value); + capi_IVROverlay_004_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_004_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_004_ClearOverlayTexture", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsSteamVRDrawingControllers)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; clear_parameters(); - capi_IVRSystem_019_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_019_IsSteamVRDrawingControllers", this_ptr_value); + capi_IVROverlay_004_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_004_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_004_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_ShouldApplicationPause)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVRSystem_019_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_019_ShouldApplicationPause", this_ptr_value); + capi_IVROverlay_004_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_004_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_004_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_ShouldApplicationReduceRenderingWork)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_019_ShouldApplicationReduceRenderingWork", this_ptr_value); + capi_IVROverlay_004_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_004_IsDashboardVisible)() = (void *)t; clear_parameters(); - capi_IVRSystem_019_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_019_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_019_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_019_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_019_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_019_DriverDebugRequest", 4); + capi_IVROverlay_004_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_004_IsDashboardVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_019_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_004_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_019_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_019_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_019_PerformFirmwareUpdate", 1); + capi_IVROverlay_004_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_004_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_004_IsActiveDashboardOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVRSystem_019_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_019_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVROverlay_004_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_AcknowledgeQuit_UserPrompt)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_004_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVRSystem_019_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_019_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVROverlay_004_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_004_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_004_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_004_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_004_ShowDashboard", (void *)1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRInput_006(void) +void test_capi_thunks_IVROverlay_005(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_FindOverlay, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_006_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_006_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_006_SetActionManifestPath", (void *)1); + capi_IVROverlay_005_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_005_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_005_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_005_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_006_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_006_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_006_GetActionSetHandle", (void *)2); + capi_IVROverlay_005_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_005_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_006_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_006_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_006_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_006_GetActionHandle", (void *)2); + capi_IVROverlay_005_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_005_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_005_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_006_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_006_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_006_GetInputSourceHandle", (void *)2); + capi_IVROverlay_005_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_005_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRInput_006_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_005_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRInput_006_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_006_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_006_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_006_UpdateActionState", 2); - check_uint32_parameter("IVRInput_006_UpdateActionState", 3); + capi_IVROverlay_005_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_005_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_005_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_006_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_006_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_006_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_006_GetDigitalActionData", 4); + capi_IVROverlay_005_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_005_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_005_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_005_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_005_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_006_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_006_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_006_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_006_GetAnalogActionData", 4); + capi_IVROverlay_005_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_005_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_005_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_005_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 1); - check_uint32_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 2); - check_float_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 3.0f); - check_ptr_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", (void *)4); - check_uint32_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 5); - check_uint64_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 6); + capi_IVROverlay_005_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_005_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_005_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_005_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); - check_ptr_parameter("IVRInput_006_GetPoseActionDataForNextFrame", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 1); - check_uint32_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 2); - check_ptr_parameter("IVRInput_006_GetPoseActionDataForNextFrame", (void *)3); - check_uint32_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 4); - check_uint64_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 5); + capi_IVROverlay_005_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_005_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_005_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_006_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_006_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_006_GetSkeletalActionData", 3); + capi_IVROverlay_005_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_005_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_005_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_005_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRInput_006_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_006_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetBoneCount", 1); - check_ptr_parameter("IVRInput_006_GetBoneCount", (void *)2); + capi_IVROverlay_005_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_005_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_005_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_005_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_006_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_006_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_006_GetBoneHierarchy", 3); + capi_IVROverlay_005_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_005_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayColor", 1); + check_float_parameter("IVROverlay_005_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_005_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_005_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRInput_006_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_006_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetBoneName", 1); - check_uint32_parameter("IVRInput_006_GetBoneName", 2); - check_ptr_parameter("IVRInput_006_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_006_GetBoneName", 4); + capi_IVROverlay_005_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_005_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_006_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_006_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 5); + capi_IVROverlay_005_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_005_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_005_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_006_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_006_GetSkeletalTrackingLevel", (void *)2); + capi_IVROverlay_005_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 5); + capi_IVROverlay_005_SetOverlayGamma(1, 2.0f); + check_ptr_parameter("IVROverlay_005_SetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayGamma", 1); + check_float_parameter("IVROverlay_005_SetOverlayGamma", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetSkeletalSummaryData(1, 2, (void *)3); - check_ptr_parameter("IVRInput_006_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalSummaryData", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalSummaryData", 2); - check_ptr_parameter("IVRInput_006_GetSkeletalSummaryData", (void *)3); + capi_IVROverlay_005_GetOverlayGamma(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayGamma", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayGamma", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayGamma", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", (void *)5); + capi_IVROverlay_005_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_005_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_005_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_006_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 5); + capi_IVROverlay_005_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_006_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_006_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_006_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_006_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_006_TriggerHapticVibrationAction", 6); + capi_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_006_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_006_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_006_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_006_GetActionOrigins", 4); + capi_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_006_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_006_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_006_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_006_GetOriginLocalizedName", 4); + capi_IVROverlay_005_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_005_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_005_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRInput_006_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", 3); + capi_IVROverlay_005_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRInput_006_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_006_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_006_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_006_ShowActionOrigins", 2); + capi_IVROverlay_005_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRInput_006_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_006_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_006_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_006_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_006_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_006_ShowBindingsForActionSet", 4); + capi_IVROverlay_005_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_005_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_005_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_005_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_006_IsUsingLegacyInput)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRInput_006_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_006_IsUsingLegacyInput", this_ptr_value); + capi_IVROverlay_005_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_ShowOverlay(1); + check_ptr_parameter("IVROverlay_005_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_005_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_HideOverlay, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_HideOverlay(1); + check_ptr_parameter("IVROverlay_005_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_005_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_005_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_005_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_005_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_005_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_005_PollNextOverlayEvent", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_005_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_005_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_005_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_005_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_005_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_005_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_IsFocusOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_IsFocusOverlay(1); + check_ptr_parameter("IVROverlay_005_IsFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_005_IsFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetOverlayTexture(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_005_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayTexture", 1); + check_uint32_parameter("IVROverlay_005_SetOverlayTexture", 2); + check_ptr_parameter("IVROverlay_005_SetOverlayTexture", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_005_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_005_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_005_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_005_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_005_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_005_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_005_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_005_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_005_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_005_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_005_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_005_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_005_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); + VROverlayError (__stdcall *capi_IVROverlay_005_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1); + check_ptr_parameter("IVROverlay_005_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_005_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_005_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_005_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_005_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_005_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_005_ShowKeyboard", 1); + + init_thunk(t, this_ptr_value, IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_005_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_005_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_005_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_005_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_005_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_005_HideKeyboard(); + check_ptr_parameter("IVROverlay_005_HideKeyboard", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRInput_005(void) +void test_capi_thunks_IVROverlay_007(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_005_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_005_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_005_SetActionManifestPath", (void *)1); + capi_IVROverlay_007_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_007_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_007_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_007_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_005_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_005_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_005_GetActionSetHandle", (void *)2); + capi_IVROverlay_007_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_007_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_005_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_005_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_005_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_005_GetActionHandle", (void *)2); + capi_IVROverlay_007_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_007_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_005_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_005_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_005_GetInputSourceHandle", (void *)2); + capi_IVROverlay_007_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_007_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRInput_005_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_007_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRInput_005_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_005_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_005_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_005_UpdateActionState", 2); - check_uint32_parameter("IVRInput_005_UpdateActionState", 3); + capi_IVROverlay_007_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_007_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_007_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_005_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_005_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_005_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_005_GetDigitalActionData", 4); + capi_IVROverlay_007_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_007_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_007_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_007_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_007_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_005_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_005_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_005_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_005_GetAnalogActionData", 4); + capi_IVROverlay_007_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_007_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_007_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_007_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetPoseActionData(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_005_GetPoseActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetPoseActionData", 1); - check_uint32_parameter("IVRInput_005_GetPoseActionData", 2); - check_float_parameter("IVRInput_005_GetPoseActionData", 3.0f); - check_ptr_parameter("IVRInput_005_GetPoseActionData", (void *)4); - check_uint32_parameter("IVRInput_005_GetPoseActionData", 5); - check_uint64_parameter("IVRInput_005_GetPoseActionData", 6); + capi_IVROverlay_007_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_007_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_007_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_007_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_005_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_005_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_005_GetSkeletalActionData", 3); + capi_IVROverlay_007_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_007_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_007_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRInput_005_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_005_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetBoneCount", 1); - check_ptr_parameter("IVRInput_005_GetBoneCount", (void *)2); + capi_IVROverlay_007_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_007_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_007_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_007_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_005_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_005_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_005_GetBoneHierarchy", 3); + capi_IVROverlay_007_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_007_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_007_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_007_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_005_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_005_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetBoneName", 1); - check_uint32_parameter("IVRInput_005_GetBoneName", 2); - check_ptr_parameter("IVRInput_005_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_005_GetBoneName", 4); + capi_IVROverlay_007_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_007_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayColor", 1); + check_float_parameter("IVROverlay_007_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_007_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_007_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_005_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_005_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 5); + capi_IVROverlay_007_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_007_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_005_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_005_GetSkeletalTrackingLevel", (void *)2); + capi_IVROverlay_007_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_007_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_007_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 5); + capi_IVROverlay_007_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalSummaryData)(VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetSkeletalSummaryData(1, (void *)2); - check_ptr_parameter("IVRInput_005_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalSummaryData", 1); - check_ptr_parameter("IVRInput_005_GetSkeletalSummaryData", (void *)2); + capi_IVROverlay_007_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_007_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_007_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", (void *)5); + capi_IVROverlay_007_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_005_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 5); + capi_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_005_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_005_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_005_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_005_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_005_TriggerHapticVibrationAction", 6); + capi_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_005_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_005_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_005_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_005_GetActionOrigins", 4); + capi_IVROverlay_007_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_007_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_007_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_005_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_005_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_005_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_005_GetOriginLocalizedName", 4); + capi_IVROverlay_007_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRInput_005_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", 3); + capi_IVROverlay_007_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_007_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_007_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRInput_005_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_005_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_005_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_005_ShowActionOrigins", 2); + capi_IVROverlay_007_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRInput_005_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_005_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_005_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_005_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_005_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_005_ShowBindingsForActionSet", 4); + capi_IVROverlay_007_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_005_IsUsingLegacyInput)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRInput_005_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_005_IsUsingLegacyInput", this_ptr_value); + capi_IVROverlay_007_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_007_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_007_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_007_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_ShowOverlay(1); + check_ptr_parameter("IVROverlay_007_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_HideOverlay(1); + check_ptr_parameter("IVROverlay_007_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_007_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_007_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_007_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_007_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_007_PollNextOverlayEvent", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_007_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_007_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_007_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_007_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_007_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_007_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_007_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_007_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_007_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_007_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_007_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_007_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_007_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_007_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_007_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_007_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_007_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_007_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_007_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_007_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_007_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_007_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_007_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_007_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_007_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_007_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_007_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_007_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_007_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_007_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_007_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_007_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_007_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_007_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_007_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_007_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_007_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_007_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_007_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_007_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_007_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_007_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_007_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_007_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_007_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_007_HideKeyboard(); + check_ptr_parameter("IVROverlay_007_HideKeyboard", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRIOBuffer_001(void) +void test_capi_thunks_IVROverlay_008(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Open, 5, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Open)(const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_008_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRIOBuffer_001_Open((void *)1, 2, 3, 4, (void *)5); - check_ptr_parameter("IVRIOBuffer_001_Open", this_ptr_value); - check_ptr_parameter("IVRIOBuffer_001_Open", (void *)1); - check_uint32_parameter("IVRIOBuffer_001_Open", 2); - check_uint32_parameter("IVRIOBuffer_001_Open", 3); - check_uint32_parameter("IVRIOBuffer_001_Open", 4); - check_ptr_parameter("IVRIOBuffer_001_Open", (void *)5); + capi_IVROverlay_008_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_008_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_008_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_008_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Close, 1, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Close)(IOBufferHandle_t ulBuffer) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRIOBuffer_001_Close(1); - check_ptr_parameter("IVRIOBuffer_001_Close", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_Close", 1); + capi_IVROverlay_008_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_008_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Read, 4, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRIOBuffer_001_Read(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRIOBuffer_001_Read", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_Read", 1); - check_ptr_parameter("IVRIOBuffer_001_Read", (void *)2); - check_uint32_parameter("IVRIOBuffer_001_Read", 3); - check_ptr_parameter("IVRIOBuffer_001_Read", (void *)4); + capi_IVROverlay_008_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_008_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Write, 3, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRIOBuffer_001_Write(1, (void *)2, 3); - check_ptr_parameter("IVRIOBuffer_001_Write", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_Write", 1); - check_ptr_parameter("IVRIOBuffer_001_Write", (void *)2); - check_uint32_parameter("IVRIOBuffer_001_Write", 3); + capi_IVROverlay_008_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_008_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); - PropertyContainerHandle_t (__stdcall *capi_IVRIOBuffer_001_PropertyContainer)(IOBufferHandle_t ulBuffer) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_008_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRIOBuffer_001_PropertyContainer(1); - check_ptr_parameter("IVRIOBuffer_001_PropertyContainer", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_PropertyContainer", 1); + capi_IVROverlay_008_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_008_GetHighQualityOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_008_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_008_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_008_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_008_GetOverlayKey", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_008_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_008_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_008_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_008_GetOverlayName", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_008_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_008_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)5); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_008_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_008_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_008_GetOverlayErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_008_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_008_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_008_SetOverlayFlag", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_008_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_008_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_008_GetOverlayFlag", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_008_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayColor", 1); + check_float_parameter("IVROverlay_008_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_008_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_008_SetOverlayColor", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_008_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_008_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_008_SetOverlayAlpha", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayAlpha", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_008_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_008_SetOverlayWidthInMeters", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayWidthInMeters", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_008_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_008_SetOverlayTextureColorSpace", 2); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayTextureColorSpace", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_008_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_008_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_008_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_008_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_008_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_ShowOverlay(1); + check_ptr_parameter("IVROverlay_008_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_HideOverlay(1); + check_ptr_parameter("IVROverlay_008_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_008_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_008_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_PollNextOverlayEvent(1, (void *)2); + check_ptr_parameter("IVROverlay_008_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_008_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_008_PollNextOverlayEvent", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_008_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_008_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_008_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_008_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_008_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_008_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_008_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_008_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_008_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_008_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_008_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_008_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_008_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_008_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_008_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_008_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_008_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_008_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_008_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_008_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_008_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_008_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_008_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_008_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_008_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_008_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_008_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_008_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_008_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_008_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_008_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_008_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_008_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_008_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_008_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_008_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_008_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_008_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_008_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_008_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_008_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_008_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_008_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_008_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_HideKeyboard(); + check_ptr_parameter("IVROverlay_008_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_008_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_008_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_008_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", DEFAULT_RECT); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRChaperoneSetup_005(void) +void test_capi_thunks_IVROverlay_010(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_CommitWorkingCopy, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_CommitWorkingCopy(1); - check_ptr_parameter("IVRChaperoneSetup_005_CommitWorkingCopy", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_005_CommitWorkingCopy", 1); + capi_IVROverlay_010_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_010_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_010_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_010_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_RevertWorkingCopy, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_RevertWorkingCopy)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_RevertWorkingCopy(); - check_ptr_parameter("IVRChaperoneSetup_005_RevertWorkingCopy", this_ptr_value); + capi_IVROverlay_010_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_010_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", (void *)2); + capi_IVROverlay_010_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_010_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaRect", (void *)1); + capi_IVROverlay_010_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_010_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_010_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", (void *)2); + capi_IVROverlay_010_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_010_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_010_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", (void *)2); + capi_IVROverlay_010_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_010_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_010_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_010_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_010_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); + capi_IVROverlay_010_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_010_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_010_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_010_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); + capi_IVROverlay_010_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_010_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_010_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_010_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(1.0f, 2.0f); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", this_ptr_value); - check_float_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", 1.0f); - check_float_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", 2.0f); + capi_IVROverlay_010_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_010_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_010_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", 2); + capi_IVROverlay_010_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_010_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_010_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_010_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); + capi_IVROverlay_010_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_010_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_010_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_010_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); + capi_IVROverlay_010_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_010_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayColor", 1); + check_float_parameter("IVROverlay_010_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_010_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_010_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ReloadFromDisk, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_ReloadFromDisk(1); - check_ptr_parameter("IVRChaperoneSetup_005_ReloadFromDisk", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_005_ReloadFromDisk", 1); + capi_IVROverlay_010_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_010_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); + capi_IVROverlay_010_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_010_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_010_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", 2); + capi_IVROverlay_010_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", (void *)2); + capi_IVROverlay_010_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_010_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_010_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", 2); + capi_IVROverlay_010_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", (void *)2); + capi_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ExportLiveToBuffer, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_ExportLiveToBuffer)(char * pBuffer, uint32_t * pnBufferLength) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_ExportLiveToBuffer((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", (void *)2); + capi_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ImportFromBufferToWorking, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_ImportFromBufferToWorking)(const char * pBuffer, uint32_t nImportFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRChaperoneSetup_005_ImportFromBufferToWorking((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", 2); + capi_IVROverlay_010_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_010_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_010_SetOverlayTextureColorSpace", 2); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayTextureColorSpace", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_010_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_010_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_010_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_010_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_010_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", 4); + + init_thunk(t, this_ptr_value, IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_ShowOverlay(1); + check_ptr_parameter("IVROverlay_010_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_HideOverlay(1); + check_ptr_parameter("IVROverlay_010_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_010_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_010_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_010_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_010_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_010_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_010_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_010_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_010_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_010_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_010_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_010_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_010_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_010_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_010_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_010_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_010_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_010_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_010_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_010_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_010_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_010_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_010_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_010_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_010_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_010_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_010_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_010_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_010_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_010_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_010_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_010_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_010_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_010_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_010_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_010_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_010_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_010_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_010_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_010_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_010_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_010_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_010_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_010_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_010_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_010_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_010_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_010_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_010_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_010_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_010_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_010_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_010_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_HideKeyboard(); + check_ptr_parameter("IVROverlay_010_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_010_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_010_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_010_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", DEFAULT_RECT); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_018(void) +void test_capi_thunks_IVROverlay_011(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_018_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_018_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_FindOverlay", (void *)2); + capi_IVROverlay_011_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_011_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_011_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_011_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)3); + capi_IVROverlay_011_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_011_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_018_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_DestroyOverlay", 1); + capi_IVROverlay_011_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_011_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_018_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetHighQualityOverlay", 1); + capi_IVROverlay_011_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_011_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_018_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_011_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_018_GetHighQualityOverlay", this_ptr_value); + capi_IVROverlay_011_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_011_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayKey", (void *)4); + capi_IVROverlay_011_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_011_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_011_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_011_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayName", (void *)4); + capi_IVROverlay_011_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_011_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_011_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_011_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayName", (void *)2); + capi_IVROverlay_011_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_011_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_011_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_011_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)5); + capi_IVROverlay_011_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_011_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_011_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_018_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_018_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_018_GetOverlayErrorNameFromEnum", 1); + capi_IVROverlay_011_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_011_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayRenderingPid", 2); + capi_IVROverlay_011_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_011_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayRenderingPid", 1); + capi_IVROverlay_011_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_011_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_011_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_018_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_018_SetOverlayFlag", 1); + capi_IVROverlay_011_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_011_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_011_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_011_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_018_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_018_GetOverlayFlag", (void *)3); + capi_IVROverlay_011_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_011_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayColor", 1); + check_float_parameter("IVROverlay_011_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_011_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_011_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayColor", 1); - check_float_parameter("IVROverlay_018_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_018_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_018_SetOverlayColor", 4.0f); + capi_IVROverlay_011_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_011_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)4); + capi_IVROverlay_011_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_011_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_011_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_018_SetOverlayAlpha", 2.0f); + capi_IVROverlay_011_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayAlpha", (void *)2); + capi_IVROverlay_011_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_011_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_011_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_018_SetOverlayTexelAspect", 2.0f); + capi_IVROverlay_011_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTexelAspect", (void *)2); + capi_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_018_SetOverlaySortOrder", 2); + capi_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_018_GetOverlaySortOrder", (void *)2); + capi_IVROverlay_011_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_011_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_018_SetOverlayWidthInMeters", 2.0f); + capi_IVROverlay_011_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayWidthInMeters", (void *)2); + capi_IVROverlay_011_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_011_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_011_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVROverlay_011_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVROverlay_011_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTextureColorSpace", 2); + capi_IVROverlay_011_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_011_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_011_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureColorSpace", (void *)2); + capi_IVROverlay_011_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayTextureBounds", (void *)2); + capi_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureBounds", (void *)2); + capi_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)5); + capi_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", (void *)3); + capi_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformType", (void *)2); + capi_IVROverlay_011_ShowOverlay(1); + check_ptr_parameter("IVROverlay_011_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_011_HideOverlay(1); + check_ptr_parameter("IVROverlay_011_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_011_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_011_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_011_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_011_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_011_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_011_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_011_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_011_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_011_PollNextOverlayEvent", 3); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVROverlay_011_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVROverlay_011_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_011_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_011_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_011_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_011_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_011_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_011_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVROverlay_018_ShowOverlay(1); - check_ptr_parameter("IVROverlay_018_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ShowOverlay", 1); + capi_IVROverlay_011_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_011_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_018_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_018_HideOverlay(1); - check_ptr_parameter("IVROverlay_018_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_HideOverlay", 1); + capi_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_018_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_018_IsOverlayVisible", 1); + capi_IVROverlay_011_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_011_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_IsHoverTargetOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_011_GetGamepadFocusOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", (void *)4); + capi_IVROverlay_011_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_011_GetGamepadFocusOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; clear_parameters(); - capi_IVROverlay_018_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_018_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_018_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_018_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_018_PollNextOverlayEvent", 3); + capi_IVROverlay_011_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_011_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetGamepadFocusOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayInputMethod", (void *)2); + capi_IVROverlay_011_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_011_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_011_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_011_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_011_SetOverlayNeighbor", 3); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayInputMethod", 2); + capi_IVROverlay_011_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayMouseScale", (void *)2); + capi_IVROverlay_011_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_011_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_011_SetOverlayTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayMouseScale", (void *)2); + capi_IVROverlay_011_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_011_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_011_ClearOverlayTexture", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; clear_parameters(); - capi_IVROverlay_018_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", (void *)3); + capi_IVROverlay_011_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_011_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_011_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVROverlay_018_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_018_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_IsHoverTargetOverlay", 1); + capi_IVROverlay_011_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_011_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_011_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_018_GetGamepadFocusOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_018_GetGamepadFocusOverlay", this_ptr_value); + capi_IVROverlay_011_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)8); - init_thunk(t, this_ptr_value, IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_018_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetGamepadFocusOverlay", 1); + capi_IVROverlay_011_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_018_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_018_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_018_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_018_SetOverlayNeighbor", 3); + capi_IVROverlay_011_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_IsDashboardVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_018_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", 2); + capi_IVROverlay_011_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_011_IsDashboardVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_011_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 4.0f); + capi_IVROverlay_011_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_011_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_IsActiveDashboardOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", (void *)4); + capi_IVROverlay_011_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayTexture", (void *)2); + capi_IVROverlay_011_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_011_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; clear_parameters(); - capi_IVROverlay_018_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_018_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ClearOverlayTexture", 1); + capi_IVROverlay_011_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_011_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_011_ShowDashboard", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_011_GetPrimaryDashboardDevice)() = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_018_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 5); + capi_IVROverlay_011_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_011_GetPrimaryDashboardDevice", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVROverlay_018_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayFromFile", (void *)2); + capi_IVROverlay_011_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_011_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_011_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_011_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_011_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_011_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_011_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_011_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_011_ShowKeyboard", 7); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_011_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)9); + capi_IVROverlay_011_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_011_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_011_ShowKeyboardForOverlay", 8); - init_thunk(t, this_ptr_value, IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_011_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; clear_parameters(); - capi_IVROverlay_018_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", (void *)2); + capi_IVROverlay_011_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_011_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_011_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_011_GetKeyboardText", 2); - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_011_HideKeyboard)() = (void *)t; clear_parameters(); - capi_IVROverlay_018_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", (void *)3); + capi_IVROverlay_011_HideKeyboard(); + check_ptr_parameter("IVROverlay_011_HideKeyboard", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_011_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_018_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)4); + capi_IVROverlay_011_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsDashboardVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_011_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; clear_parameters(); - capi_IVROverlay_018_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_018_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_018_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_018_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_018_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_018_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_018_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_018_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_018_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_018_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_018_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_018_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_018_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_018_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_018_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_018_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_018_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_018_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_018_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_018_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_HideKeyboard(); - check_ptr_parameter("IVROverlay_018_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_018_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_018_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_018_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_018_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_018_CloseMessageOverlay", this_ptr_value); + capi_IVROverlay_011_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", DEFAULT_RECT); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRTrackedCamera_004(void) +void test_capi_thunks_IVROverlay_012(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_004_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraErrorNameFromEnum", 1); + capi_IVROverlay_012_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_012_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_012_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_012_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_004_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_004_HasCamera", (void *)2); + capi_IVROverlay_012_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_012_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)5); + capi_IVROverlay_012_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_012_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraIntrinsics(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", (void *)4); + capi_IVROverlay_012_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_012_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_012_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraProjection", 2); - check_float_parameter("IVRTrackedCamera_004_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_004_GetCameraProjection", 4.0f); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraProjection", (void *)5); + capi_IVROverlay_012_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_012_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", (void *)2); + capi_IVROverlay_012_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_012_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_012_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_012_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_004_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_ReleaseVideoStreamingService", 1); + capi_IVROverlay_012_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_012_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_012_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_012_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 6); + capi_IVROverlay_012_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_012_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_012_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_012_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)5); + capi_IVROverlay_012_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_012_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_012_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 6); + capi_IVROverlay_012_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_012_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 5); + capi_IVROverlay_012_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_012_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", 2); + capi_IVROverlay_012_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_012_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_012_SetOverlayFlag", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_012_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_012_GetOverlayFlag", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_012_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayColor", 1); + check_float_parameter("IVROverlay_012_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_012_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_012_SetOverlayColor", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_012_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_012_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_012_SetOverlayAlpha", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayAlpha", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_012_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_012_SetOverlayWidthInMeters", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayWidthInMeters", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_012_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayTextureColorSpace", 2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureColorSpace", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_012_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_012_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_012_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_012_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", 4); + + init_thunk(t, this_ptr_value, IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ShowOverlay(1); + check_ptr_parameter("IVROverlay_012_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_HideOverlay(1); + check_ptr_parameter("IVROverlay_012_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_012_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_012_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_012_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_012_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_012_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_012_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_012_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_012_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_012_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_012_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_012_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_012_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_012_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_012_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_012_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_012_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_012_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_012_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_012_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_012_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_012_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_012_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_012_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_012_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_012_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_012_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_012_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)8); + + init_thunk(t, this_ptr_value, IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_012_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_012_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_012_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_012_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_012_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_012_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_012_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_012_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_012_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_012_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_012_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_012_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_012_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_012_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_012_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_012_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_012_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_012_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_012_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_012_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_012_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_012_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_012_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_012_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_HideKeyboard(); + check_ptr_parameter("IVROverlay_012_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_012_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_012_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_012_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", DEFAULT_RECT); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRInput_004(void) +void test_capi_thunks_IVROverlay_013(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_004_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_004_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_004_SetActionManifestPath", (void *)1); + capi_IVROverlay_013_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_013_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_013_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_013_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_004_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_004_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_004_GetActionSetHandle", (void *)2); + capi_IVROverlay_013_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_013_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_004_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_004_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_004_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_004_GetActionHandle", (void *)2); + capi_IVROverlay_013_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_013_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_004_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_004_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_004_GetInputSourceHandle", (void *)2); + capi_IVROverlay_013_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_013_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRInput_004_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_013_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRInput_004_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_004_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_004_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_004_UpdateActionState", 2); - check_uint32_parameter("IVRInput_004_UpdateActionState", 3); + capi_IVROverlay_013_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_013_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_004_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_004_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_004_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_004_GetDigitalActionData", 4); + capi_IVROverlay_013_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_013_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_013_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_013_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_004_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_004_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_004_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_004_GetAnalogActionData", 4); + capi_IVROverlay_013_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_013_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_013_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_013_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetPoseActionData(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_004_GetPoseActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetPoseActionData", 1); - check_uint32_parameter("IVRInput_004_GetPoseActionData", 2); - check_float_parameter("IVRInput_004_GetPoseActionData", 3.0f); - check_ptr_parameter("IVRInput_004_GetPoseActionData", (void *)4); - check_uint32_parameter("IVRInput_004_GetPoseActionData", 5); - check_uint64_parameter("IVRInput_004_GetPoseActionData", 6); + capi_IVROverlay_013_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_013_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_013_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_013_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetSkeletalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_004_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_004_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_004_GetSkeletalActionData", 3); - check_uint64_parameter("IVRInput_004_GetSkeletalActionData", 4); + capi_IVROverlay_013_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_013_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_013_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetSkeletalBoneData(1, 2, 3, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 5); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneData", 6); + capi_IVROverlay_013_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_013_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetSkeletalBoneDataCompressed(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 2); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 3); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", (void *)4); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 5); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", (void *)6); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 7); + capi_IVROverlay_013_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_013_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_DecompressSkeletalBoneData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRInput_004_DecompressSkeletalBoneData((void *)1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_004_DecompressSkeletalBoneData", 2); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)3); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_004_DecompressSkeletalBoneData", 5); + capi_IVROverlay_013_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_013_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_013_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_004_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRInput_004_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_004_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_004_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_004_TriggerHapticVibrationAction", 6); + capi_IVROverlay_013_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_013_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_013_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_004_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_004_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_004_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_004_GetActionOrigins", 4); + capi_IVROverlay_013_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_013_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayColor", 1); + check_float_parameter("IVROverlay_013_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_013_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_013_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetOriginLocalizedName(1, (void *)2, 3); - check_ptr_parameter("IVRInput_004_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_004_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_004_GetOriginLocalizedName", 3); + capi_IVROverlay_013_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_013_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRInput_004_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", 3); + capi_IVROverlay_013_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_013_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_013_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRInput_004_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_004_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_004_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_004_ShowActionOrigins", 2); + capi_IVROverlay_013_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRInput_004_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_004_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_004_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_004_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_004_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_004_ShowBindingsForActionSet", 4); + capi_IVROverlay_013_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_013_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_013_SetOverlayTexelAspect", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTexelAspect", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_013_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_013_SetOverlaySortOrder", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_013_GetOverlaySortOrder", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_013_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_013_SetOverlayWidthInMeters", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayWidthInMeters", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_013_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayTextureColorSpace", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureColorSpace", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_013_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_013_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_013_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_013_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", 4); + + init_thunk(t, this_ptr_value, IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ShowOverlay(1); + check_ptr_parameter("IVROverlay_013_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_HideOverlay(1); + check_ptr_parameter("IVROverlay_013_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_013_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_013_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_013_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_013_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_013_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_013_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_013_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_013_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_013_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_013_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_013_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_013_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_013_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_013_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_013_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_013_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_013_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_013_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_013_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_013_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_013_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_013_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_013_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_013_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_013_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_013_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_013_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)8); + + init_thunk(t, this_ptr_value, IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_013_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_013_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_013_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_013_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_013_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_013_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_013_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_013_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_013_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_013_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_013_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_013_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_013_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_013_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_013_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_013_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_013_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_013_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_013_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_013_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_013_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_013_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_013_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_HideKeyboard(); + check_ptr_parameter("IVROverlay_013_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_013_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_013_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_013_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_013_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_013_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_013_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_013_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_013_SetOverlayIntersectionMask", 4); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRTrackedCamera_003(void) +void test_capi_thunks_IVROverlay_014(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_003_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraErrorNameFromEnum", 1); + capi_IVROverlay_014_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_014_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_014_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_014_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_003_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_003_HasCamera", (void *)2); + capi_IVROverlay_014_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_014_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)5); + capi_IVROverlay_014_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_014_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraIntrinsics(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", (void *)4); + capi_IVROverlay_014_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_014_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_014_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraProjection", 2); - check_float_parameter("IVRTrackedCamera_003_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_003_GetCameraProjection", 4.0f); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraProjection", (void *)5); + capi_IVROverlay_014_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_014_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", (void *)2); + capi_IVROverlay_014_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_014_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_014_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_014_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_003_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_ReleaseVideoStreamingService", 1); + capi_IVROverlay_014_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_014_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_014_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_014_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 6); + capi_IVROverlay_014_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_014_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_014_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_014_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)5); + capi_IVROverlay_014_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_014_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_014_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 6); + capi_IVROverlay_014_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_014_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 5); + capi_IVROverlay_014_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_014_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", 2); + capi_IVROverlay_014_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_014_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_014_SetOverlayFlag", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_014_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_014_GetOverlayFlag", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_014_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayColor", 1); + check_float_parameter("IVROverlay_014_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_014_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_014_SetOverlayColor", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_014_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_014_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_014_SetOverlayAlpha", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayAlpha", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_014_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_014_SetOverlayTexelAspect", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTexelAspect", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_014_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_014_SetOverlaySortOrder", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_014_GetOverlaySortOrder", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_014_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_014_SetOverlayWidthInMeters", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayWidthInMeters", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_014_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayTextureColorSpace", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureColorSpace", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_014_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_014_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_014_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_014_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", 4); + + init_thunk(t, this_ptr_value, IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ShowOverlay(1); + check_ptr_parameter("IVROverlay_014_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_HideOverlay(1); + check_ptr_parameter("IVROverlay_014_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_014_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_014_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_014_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_014_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_014_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_014_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_014_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_014_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_014_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_014_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_014_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_014_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_014_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_014_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_014_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_014_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_014_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_014_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_014_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_014_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_014_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_014_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_014_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_014_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_014_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_014_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_014_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_014_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_014_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_014_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_014_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_014_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_014_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_014_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_014_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_014_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_014_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_014_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_014_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_014_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_014_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_014_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_014_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_014_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_014_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_014_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_014_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_014_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_014_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_014_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_HideKeyboard(); + check_ptr_parameter("IVROverlay_014_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_014_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_014_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_014_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_014_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_014_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_014_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_014_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_014_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_014_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_014_GetOverlayFlags", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_014_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_014_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)6); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRRenderModels_005(void) +void test_capi_thunks_IVROverlay_016(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadRenderModel_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_LoadRenderModel_Async((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", (void *)1); - check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", (void *)2); + capi_IVROverlay_016_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_016_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_016_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_016_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_005_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_005_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_FreeRenderModel", (void *)1); + capi_IVROverlay_016_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_LoadTexture_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadTexture_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_LoadTexture_Async", 1); - check_ptr_parameter("IVRRenderModels_005_LoadTexture_Async", (void *)2); + capi_IVROverlay_016_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_016_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_005_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_005_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_FreeTexture", (void *)1); + capi_IVROverlay_016_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_016_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_016_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_LoadTextureD3D11_Async(1, (void *)2, (void *)3); - check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", (void *)3); + capi_IVROverlay_016_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_016_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_LoadIntoTextureD3D11_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", (void *)2); + capi_IVROverlay_016_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_016_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_016_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_016_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_005_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_FreeTextureD3D11((void *)1); - check_ptr_parameter("IVRRenderModels_005_FreeTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_FreeTextureD3D11", (void *)1); + capi_IVROverlay_016_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_016_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_016_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_016_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelName", 3); + capi_IVROverlay_016_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_016_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelCount", this_ptr_value); + capi_IVROverlay_016_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_016_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_016_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentCount)(const char * pchRenderModelName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_016_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentCount", (void *)1); + capi_IVROverlay_016_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_016_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_016_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_005_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_005_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_005_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_005_GetComponentName", 4); + capi_IVROverlay_016_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_016_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_005_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", (void *)2); + capi_IVROverlay_016_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_016_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_005_GetComponentRenderModelName", 4); + capi_IVROverlay_016_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_016_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_016_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_005_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)4); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)5); + capi_IVROverlay_016_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_016_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_016_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_005_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", (void *)2); + capi_IVROverlay_016_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_016_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayColor", 1); + check_float_parameter("IVROverlay_016_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_016_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_016_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelThumbnailURL)(const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelThumbnailURL((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)2); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", 3); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)4); + capi_IVROverlay_016_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_016_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelOriginalPath)(const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelOriginalPath((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)2); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", 3); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)4); + capi_IVROverlay_016_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_016_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_016_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRRenderModels_005_GetRenderModelErrorNameFromEnum)(EVRRenderModelError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelErrorNameFromEnum", 1); - VirtualFree(t, 0, MEM_RELEASE); -} + capi_IVROverlay_016_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayAlpha", (void *)2); -void test_capi_thunks_IVRInput_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRInput_003_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_003_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_003_SetActionManifestPath", (void *)1); + capi_IVROverlay_016_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_016_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_016_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_003_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_003_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_003_GetActionSetHandle", (void *)2); + capi_IVROverlay_016_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_003_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_003_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_003_GetActionHandle", (void *)2); + capi_IVROverlay_016_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_016_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_016_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_003_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_003_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_003_GetInputSourceHandle", (void *)2); + capi_IVROverlay_016_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_016_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_003_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_003_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_003_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_003_UpdateActionState", 2); - check_uint32_parameter("IVRInput_003_UpdateActionState", 3); + capi_IVROverlay_016_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_016_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_016_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetDigitalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_003_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_003_GetDigitalActionData", 3); + capi_IVROverlay_016_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetAnalogActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_003_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_003_GetAnalogActionData", 3); + capi_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetPoseActionData(1, 2, 3.0f, (void *)4, 5); - check_ptr_parameter("IVRInput_003_GetPoseActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetPoseActionData", 1); - check_uint32_parameter("IVRInput_003_GetPoseActionData", 2); - check_float_parameter("IVRInput_003_GetPoseActionData", 3.0f); - check_ptr_parameter("IVRInput_003_GetPoseActionData", (void *)4); - check_uint32_parameter("IVRInput_003_GetPoseActionData", 5); + capi_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetSkeletalActionData)(VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetSkeletalActionData(1, 2, 3.0f, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVRInput_003_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetSkeletalActionData", 1); - check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 2); - check_float_parameter("IVRInput_003_GetSkeletalActionData", 3.0f); - check_ptr_parameter("IVRInput_003_GetSkeletalActionData", (void *)4); - check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 5); - check_ptr_parameter("IVRInput_003_GetSkeletalActionData", (void *)6); - check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 7); + capi_IVROverlay_016_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_016_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetSkeletalActionDataCompressed)(VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetSkeletalActionDataCompressed(1, 2, 3.0f, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 1); - check_uint32_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 2); - check_float_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 3.0f); - check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", (void *)4); - check_uint32_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 5); - check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", (void *)6); + capi_IVROverlay_016_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_UncompressSkeletalActionData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRInput_003_UncompressSkeletalActionData((void *)1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", this_ptr_value); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)1); - check_uint32_parameter("IVRInput_003_UncompressSkeletalActionData", 2); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)3); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)4); - check_uint32_parameter("IVRInput_003_UncompressSkeletalActionData", 5); + capi_IVROverlay_016_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_016_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_003_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRInput_003_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f); - check_ptr_parameter("IVRInput_003_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_003_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 5.0f); + capi_IVROverlay_016_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_003_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_003_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_003_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_003_GetActionOrigins", 4); + capi_IVROverlay_016_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)2); + check_uint32_parameter("IVROverlay_016_GetOverlayRenderModel", 3); + check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)4); + check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)5); - init_thunk(t, this_ptr_value, IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetOriginLocalizedName(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_003_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_003_GetOriginLocalizedName", 3); + capi_IVROverlay_016_SetOverlayRenderModel(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", (void *)2); + check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRInput_003_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", 3); + capi_IVROverlay_016_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRInput_003_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_003_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_003_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_003_ShowActionOrigins", 2); + capi_IVROverlay_016_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRInput_003_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_003_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_003_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_003_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_003_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_003_ShowBindingsForActionSet", 4); - VirtualFree(t, 0, MEM_RELEASE); -} + capi_IVROverlay_016_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; -void test_capi_thunks_IVRSystem_017(void) -{ - struct thunk *t = alloc_thunks(1); + clear_parameters(); + capi_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", (void *)2); + capi_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_017_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_017_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_017_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_017_GetProjectionMatrix", 3.0f); + capi_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)5); + capi_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_017_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_017_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_017_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_017_ComputeDistortion", 1); - check_float_parameter("IVRSystem_017_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_017_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_017_ComputeDistortion", (void *)4); + capi_IVROverlay_016_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_017_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetEyeToHeadTransform", 1); + capi_IVROverlay_016_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", (void *)2); + capi_IVROverlay_016_ShowOverlay(1); + check_ptr_parameter("IVROverlay_016_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_017_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_017_GetD3D9AdapterIndex", this_ptr_value); + capi_IVROverlay_016_HideOverlay(1); + check_ptr_parameter("IVROverlay_016_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_017_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetDXGIOutputInfo", (void *)1); + capi_IVROverlay_016_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_016_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_016_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_017_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_017_GetOutputDevice", (void *)3); + capi_IVROverlay_016_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVRSystem_017_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_017_IsDisplayOnDesktop", this_ptr_value); + capi_IVROverlay_016_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_016_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_016_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_016_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_016_PollNextOverlayEvent", 3); - init_thunk(t, this_ptr_value, IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVRSystem_017_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_017_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_017_SetDisplayVisibility", 1); + capi_IVROverlay_016_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVROverlay_016_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_016_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_016_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVRSystem_017_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_017_ResetSeatedZeroPose", this_ptr_value); + capi_IVROverlay_016_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_016_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_016_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_016_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_016_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(1, 2); + check_ptr_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_uint64_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", 1); + check_uint32_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", 2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_017_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_017_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetTrackedDeviceActivityLevel", 1); + capi_IVROverlay_016_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_016_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_IsHoverTargetOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_016_GetGamepadFocusOverlay)() = (void *)t; clear_parameters(); - capi_IVRSystem_017_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_017_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)3); + capi_IVROverlay_016_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_016_GetGamepadFocusOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_017_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_017_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVROverlay_016_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_016_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetGamepadFocusOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_017_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVROverlay_016_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_016_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_016_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_016_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_016_SetOverlayNeighbor", 3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_017_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_017_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetTrackedDeviceClass", 1); + capi_IVROverlay_016_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", 2); - init_thunk(t, this_ptr_value, IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; clear_parameters(); - capi_IVRSystem_017_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_017_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_017_IsTrackedDeviceConnected", 1); + capi_IVROverlay_016_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_016_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayTexture", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVROverlay_016_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_016_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_016_ClearOverlayTexture", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_017_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVROverlay_016_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_016_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_017_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVROverlay_016_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_016_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_017_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVROverlay_016_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)9); - init_thunk(t, this_ptr_value, IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVROverlay_016_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_017_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", (void *)5); + capi_IVROverlay_016_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetPropErrorNameFromEnum", 1); + capi_IVROverlay_016_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_IsDashboardVisible)() = (void *)t; clear_parameters(); - capi_IVRSystem_017_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_017_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_017_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_017_PollNextEvent", 2); + capi_IVROverlay_016_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_016_IsDashboardVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_016_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_017_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_017_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_017_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", (void *)4); + capi_IVROverlay_016_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_016_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_IsActiveDashboardOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetEventTypeNameFromEnum", 1); + capi_IVROverlay_016_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_017_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_017_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_017_GetHiddenAreaMesh", 2); + capi_IVROverlay_016_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_016_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_017_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerState", 1); - check_ptr_parameter("IVRSystem_017_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_017_GetControllerState", 3); + capi_IVROverlay_016_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_016_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_016_ShowDashboard", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_016_GetPrimaryDashboardDevice)() = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", (void *)5); + capi_IVROverlay_016_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_016_GetPrimaryDashboardDevice", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVRSystem_017_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_017_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 3); + capi_IVROverlay_016_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_016_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_016_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_016_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_016_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_016_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_016_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_016_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_016_ShowKeyboard", 7); - init_thunk(t, this_ptr_value, IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetButtonIdNameFromEnum", 1); + capi_IVROverlay_016_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_016_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_016_ShowKeyboardForOverlay", 8); - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_016_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; clear_parameters(); - capi_IVRSystem_017_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerAxisTypeNameFromEnum", 1); + capi_IVROverlay_016_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_016_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_016_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_016_GetKeyboardText", 2); - init_thunk(t, this_ptr_value, IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_CaptureInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_016_HideKeyboard)() = (void *)t; clear_parameters(); - capi_IVRSystem_017_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_017_CaptureInputFocus", this_ptr_value); + capi_IVROverlay_016_HideKeyboard(); + check_ptr_parameter("IVROverlay_016_HideKeyboard", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_ReleaseInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_016_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_017_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_017_ReleaseInputFocus", this_ptr_value); + capi_IVROverlay_016_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_016_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; clear_parameters(); - capi_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_017_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + capi_IVROverlay_016_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", DEFAULT_RECT); - init_thunk(t, this_ptr_value, IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_017_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; clear_parameters(); - capi_IVRSystem_017_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_017_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_017_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_017_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_017_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_017_DriverDebugRequest", 4); + capi_IVROverlay_016_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_016_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_016_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_016_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_016_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_016_SetOverlayIntersectionMask", 4); - init_thunk(t, this_ptr_value, IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_017_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; clear_parameters(); - capi_IVRSystem_017_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_017_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_017_PerformFirmwareUpdate", 1); + capi_IVROverlay_016_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_016_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_016_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_016_GetOverlayFlags", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_016_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; clear_parameters(); - capi_IVRSystem_017_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_017_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVROverlay_016_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)6); - init_thunk(t, this_ptr_value, IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_AcknowledgeQuit_UserPrompt)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_016_CloseMessageOverlay)() = (void *)t; clear_parameters(); - capi_IVRSystem_017_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_017_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVROverlay_016_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_016_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } @@ -16075,5825 +18625,7696 @@ void test_capi_thunks_IVROverlay_017(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_021(void) +void test_capi_thunks_IVROverlay_018(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_021_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_SetTrackingSpace", 1); + capi_IVROverlay_018_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_018_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_018_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_018_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_021_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_021_GetTrackingSpace", this_ptr_value); + capi_IVROverlay_018_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_021_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_021_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_021_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_021_WaitGetPoses", 4); + capi_IVROverlay_018_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_018_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_021_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_021_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_021_GetLastPoses", 4); + capi_IVROverlay_018_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_018_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_018_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVROverlay_018_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_018_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_021_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_021_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_Submit", 1); - check_ptr_parameter("IVRCompositor_021_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_021_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_021_Submit", 4); + capi_IVROverlay_018_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_018_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_018_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_021_ClearLastSubmittedFrame", this_ptr_value); + capi_IVROverlay_018_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_018_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_018_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_021_PostPresentHandoff", this_ptr_value); + capi_IVROverlay_018_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_018_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetFrameTiming", 2); + capi_IVROverlay_018_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_018_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_018_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_018_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetFrameTimings", 2); + capi_IVROverlay_018_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_018_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_018_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_021_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_021_GetFrameTimeRemaining", this_ptr_value); + capi_IVROverlay_018_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_018_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetCumulativeStats", 2); + capi_IVROverlay_018_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_018_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_021_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_021_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_021_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_021_FadeToColor", 1); + capi_IVROverlay_018_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_018_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_018_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_021_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_021_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_021_GetCurrentFadeColor", 1); + capi_IVROverlay_018_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_018_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_018_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_021_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_021_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_021_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_021_FadeGrid", 1); + capi_IVROverlay_018_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_018_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayColor", 1); + check_float_parameter("IVROverlay_018_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_018_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_018_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_021_GetCurrentGridAlpha)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_021_GetCurrentGridAlpha", this_ptr_value); + capi_IVROverlay_018_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_021_SetSkyboxOverride", 2); + capi_IVROverlay_018_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_018_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_018_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_021_ClearSkyboxOverride", this_ptr_value); + capi_IVROverlay_018_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_021_CompositorBringToFront", this_ptr_value); + capi_IVROverlay_018_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_018_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_018_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_021_CompositorGoToBack", this_ptr_value); + capi_IVROverlay_018_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_CompositorQuit(); - check_ptr_parameter("IVRCompositor_021_CompositorQuit", this_ptr_value); + capi_IVROverlay_018_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_018_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_018_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_IsFullscreen(); - check_ptr_parameter("IVRCompositor_021_IsFullscreen", this_ptr_value); + capi_IVROverlay_018_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_018_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_021_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVROverlay_018_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_018_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_018_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_021_GetLastFrameRenderer", this_ptr_value); + capi_IVROverlay_018_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_CanRenderScene(); - check_ptr_parameter("IVRCompositor_021_CanRenderScene", this_ptr_value); + capi_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_021_ShowMirrorWindow", this_ptr_value); + capi_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_021_HideMirrorWindow", this_ptr_value); + capi_IVROverlay_018_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_018_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_021_IsMirrorWindowVisible", this_ptr_value); + capi_IVROverlay_018_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_021_CompositorDumpImages", this_ptr_value); + capi_IVROverlay_018_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_018_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_021_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVROverlay_018_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_021_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_021_ForceInterleavedReprojectionOn", 1); + capi_IVROverlay_018_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)2); + check_uint32_parameter("IVROverlay_018_GetOverlayRenderModel", 3); + check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ForceReconnectProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_021_ForceReconnectProcess", this_ptr_value); + capi_IVROverlay_018_SetOverlayRenderModel(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", (void *)2); + check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_SuspendRendering)(bool bSuspend) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_021_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_021_SuspendRendering", 1); + capi_IVROverlay_018_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", (void *)3); + capi_IVROverlay_018_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_021_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_ReleaseMirrorTextureD3D11", (void *)1); + capi_IVROverlay_018_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", (void *)3); + capi_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_021_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_021_ReleaseSharedGLTexture", (void *)2); + capi_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_021_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_LockGLSharedTextureForAccess", (void *)1); + capi_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_021_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", 2); + capi_IVROverlay_018_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", 3); + capi_IVROverlay_018_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_SetExplicitTimingMode)(bool bExplicitTimingMode) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_021_SetExplicitTimingMode", this_ptr_value); - check_bool_parameter("IVRCompositor_021_SetExplicitTimingMode", 1); + capi_IVROverlay_018_ShowOverlay(1); + check_ptr_parameter("IVROverlay_018_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_SubmitExplicitTimingData)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_018_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_021_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_021_SubmitExplicitTimingData", this_ptr_value); + capi_IVROverlay_018_HideOverlay(1); + check_ptr_parameter("IVROverlay_018_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_018_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_018_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_018_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_018_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_018_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_018_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_018_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_018_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_018_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_018_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_018_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_018_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_018_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_018_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_018_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_018_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_018_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_018_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_018_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_018_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_018_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); + check_ptr_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", (void *)3); + check_float_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_018_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_018_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_018_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_018_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_018_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_018_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_018_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_018_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_018_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_018_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_018_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_018_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_018_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_018_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_018_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_018_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_018_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_018_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_018_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_018_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_018_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_018_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_018_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_018_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_018_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_018_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_018_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_018_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_018_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_HideKeyboard(); + check_ptr_parameter("IVROverlay_018_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_018_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_018_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_018_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_018_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_018_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_018_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_018_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_018_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_018_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_018_GetOverlayFlags", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_018_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_018_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_018_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_018_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_016(void) +void test_capi_thunks_IVROverlay_019(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_016_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_016_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_FindOverlay", (void *)2); + capi_IVROverlay_019_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_019_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_019_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_019_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)3); + capi_IVROverlay_019_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_016_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_DestroyOverlay", 1); + capi_IVROverlay_019_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_019_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_016_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetHighQualityOverlay", 1); + capi_IVROverlay_019_SetHighQualityOverlay(1); + check_ptr_parameter("IVROverlay_019_SetHighQualityOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetHighQualityOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_016_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_019_GetHighQualityOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_016_GetHighQualityOverlay", this_ptr_value); + capi_IVROverlay_019_GetHighQualityOverlay(); + check_ptr_parameter("IVROverlay_019_GetHighQualityOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayKey", (void *)4); + capi_IVROverlay_019_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_019_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_019_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayName", (void *)4); + capi_IVROverlay_019_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_019_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_019_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayName", (void *)2); + capi_IVROverlay_019_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_019_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)5); + capi_IVROverlay_019_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_019_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_019_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_016_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_019_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_016_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_016_GetOverlayErrorNameFromEnum", 1); + capi_IVROverlay_019_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_019_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_019_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayRenderingPid", 2); + capi_IVROverlay_019_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_019_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayRenderingPid", 1); + capi_IVROverlay_019_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_019_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_016_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_016_SetOverlayFlag", 1); + capi_IVROverlay_019_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_019_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_019_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_016_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_016_GetOverlayFlag", (void *)3); + capi_IVROverlay_019_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_019_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_019_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayColor", 1); - check_float_parameter("IVROverlay_016_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_016_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_016_SetOverlayColor", 4.0f); + capi_IVROverlay_019_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_019_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayColor", 1); + check_float_parameter("IVROverlay_019_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_019_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_019_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)4); + capi_IVROverlay_019_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_016_SetOverlayAlpha", 2.0f); + capi_IVROverlay_019_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_019_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_019_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayAlpha", (void *)2); + capi_IVROverlay_019_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_016_SetOverlayTexelAspect", 2.0f); + capi_IVROverlay_019_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_019_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_019_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTexelAspect", (void *)2); + capi_IVROverlay_019_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_016_SetOverlaySortOrder", 2); + capi_IVROverlay_019_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_019_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_019_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_016_GetOverlaySortOrder", (void *)2); + capi_IVROverlay_019_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_019_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_016_SetOverlayWidthInMeters", 2.0f); + capi_IVROverlay_019_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_019_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_019_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayWidthInMeters", (void *)2); + capi_IVROverlay_019_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTextureColorSpace", 2); + capi_IVROverlay_019_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_019_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureColorSpace", (void *)2); + capi_IVROverlay_019_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayTextureBounds", (void *)2); + capi_IVROverlay_019_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_019_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureBounds", (void *)2); + capi_IVROverlay_019_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)5); + capi_IVROverlay_019_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)2); + check_uint32_parameter("IVROverlay_019_GetOverlayRenderModel", 3); + check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", (void *)3); + capi_IVROverlay_019_SetOverlayRenderModel(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", (void *)2); + check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformType", (void *)2); + capi_IVROverlay_019_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_019_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_019_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_019_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", (void *)3); + capi_IVROverlay_019_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ShowOverlay(1); - check_ptr_parameter("IVROverlay_016_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ShowOverlay", 1); + capi_IVROverlay_019_ShowOverlay(1); + check_ptr_parameter("IVROverlay_019_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_HideOverlay(1); - check_ptr_parameter("IVROverlay_016_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_HideOverlay", 1); + capi_IVROverlay_019_HideOverlay(1); + check_ptr_parameter("IVROverlay_019_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_019_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_016_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_016_IsOverlayVisible", 1); + capi_IVROverlay_019_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_019_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_019_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", (void *)4); + capi_IVROverlay_019_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_019_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVROverlay_016_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_016_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_016_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_016_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_016_PollNextOverlayEvent", 3); + capi_IVROverlay_019_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_019_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_019_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_019_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_019_PollNextOverlayEvent", 3); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayInputMethod", (void *)2); + capi_IVROverlay_019_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayInputMethod", 2); + capi_IVROverlay_019_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_019_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayMouseScale", (void *)2); + capi_IVROverlay_019_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayMouseScale", (void *)2); + capi_IVROverlay_019_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_019_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_019_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", (void *)3); + capi_IVROverlay_019_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_019_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_019_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", 2); + capi_IVROverlay_019_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_019_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_IsHoverTargetOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_019_GetGamepadFocusOverlay)() = (void *)t; clear_parameters(); - capi_IVROverlay_016_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_016_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_IsHoverTargetOverlay", 1); + capi_IVROverlay_019_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_019_GetGamepadFocusOverlay", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_016_GetGamepadFocusOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_016_GetGamepadFocusOverlay", this_ptr_value); + capi_IVROverlay_019_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_019_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetGamepadFocusOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_016_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetGamepadFocusOverlay", 1); + capi_IVROverlay_019_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_019_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_019_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_019_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_019_SetOverlayNeighbor", 3); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_016_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_016_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_016_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_016_SetOverlayNeighbor", 3); + capi_IVROverlay_019_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; clear_parameters(); - capi_IVROverlay_016_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", 2); + capi_IVROverlay_019_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); + check_ptr_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", (void *)3); + check_float_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 4.0f); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayTexture", (void *)2); + capi_IVROverlay_019_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_016_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ClearOverlayTexture", 1); + capi_IVROverlay_019_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_019_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_016_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 5); + capi_IVROverlay_019_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_019_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_019_ClearOverlayTexture", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayFromFile", (void *)2); + capi_IVROverlay_019_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_019_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)9); + capi_IVROverlay_019_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_019_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", (void *)2); + capi_IVROverlay_019_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)9); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", (void *)3); + capi_IVROverlay_019_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_016_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)4); + capi_IVROverlay_019_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsDashboardVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_016_IsDashboardVisible", this_ptr_value); + capi_IVROverlay_019_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_019_IsDashboardVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_016_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_016_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_IsActiveDashboardOverlay", 1); + capi_IVROverlay_019_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_019_IsDashboardVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_019_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", 2); + capi_IVROverlay_019_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_019_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_IsActiveDashboardOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", (void *)2); + capi_IVROverlay_019_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_016_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_016_ShowDashboard", (void *)1); + capi_IVROverlay_019_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_016_GetPrimaryDashboardDevice)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_019_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_016_GetPrimaryDashboardDevice", this_ptr_value); + capi_IVROverlay_019_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_019_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_019_ShowDashboard", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_019_GetPrimaryDashboardDevice)() = (void *)t; clear_parameters(); - capi_IVROverlay_016_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_016_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_016_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_016_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_016_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_016_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_016_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_016_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_016_ShowKeyboard", 7); + capi_IVROverlay_019_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_019_GetPrimaryDashboardDevice", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_016_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_016_ShowKeyboardForOverlay", 8); + capi_IVROverlay_019_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_019_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_019_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_019_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_019_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_019_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_019_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_019_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_019_ShowKeyboard", 7); - init_thunk(t, this_ptr_value, IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_016_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_016_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_016_GetKeyboardText", 2); + capi_IVROverlay_019_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_019_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_019_ShowKeyboardForOverlay", 8); - init_thunk(t, this_ptr_value, IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_HideKeyboard)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_019_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; clear_parameters(); - capi_IVROverlay_016_HideKeyboard(); - check_ptr_parameter("IVROverlay_016_HideKeyboard", this_ptr_value); + capi_IVROverlay_019_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_019_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_019_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_019_GetKeyboardText", 2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_019_HideKeyboard)() = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", (void *)2); + capi_IVROverlay_019_HideKeyboard(); + check_ptr_parameter("IVROverlay_019_HideKeyboard", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_019_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVROverlay_019_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_019_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; clear_parameters(); - capi_IVROverlay_016_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_016_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_016_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_016_SetOverlayIntersectionMask", 4); + capi_IVROverlay_019_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", DEFAULT_RECT); - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; clear_parameters(); - capi_IVROverlay_016_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayFlags", (void *)2); + capi_IVROverlay_019_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_019_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_019_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_019_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_019_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_019_SetOverlayIntersectionMask", 4); - init_thunk(t, this_ptr_value, IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_016_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; clear_parameters(); - capi_IVROverlay_016_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)6); + capi_IVROverlay_019_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_019_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_019_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_019_GetOverlayFlags", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_CloseMessageOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_019_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; clear_parameters(); - capi_IVROverlay_016_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_016_CloseMessageOverlay", this_ptr_value); + capi_IVROverlay_019_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_019_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_019_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_019_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_016(void) +void test_capi_thunks_IVROverlay_020(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", (void *)2); + capi_IVROverlay_020_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_020_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_020_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_020_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_016_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_016_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_016_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_016_GetProjectionMatrix", 3.0f); + capi_IVROverlay_020_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)5); + capi_IVROverlay_020_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_020_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_016_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_016_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_016_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_016_ComputeDistortion", 1); - check_float_parameter("IVRSystem_016_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_016_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_016_ComputeDistortion", (void *)4); + capi_IVROverlay_020_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_020_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_020_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_016_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetEyeToHeadTransform", 1); + capi_IVROverlay_020_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_020_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_020_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", (void *)2); + capi_IVROverlay_020_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_020_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_016_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_016_GetD3D9AdapterIndex", this_ptr_value); + capi_IVROverlay_020_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_020_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_020_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_020_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_016_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetDXGIOutputInfo", (void *)1); + capi_IVROverlay_020_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_020_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_020_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetOutputDevice((void *)1, 2); - check_ptr_parameter("IVRSystem_016_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_016_GetOutputDevice", 2); + capi_IVROverlay_020_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_020_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_016_IsDisplayOnDesktop", this_ptr_value); + capi_IVROverlay_020_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_020_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_016_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_016_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_016_SetDisplayVisibility", 1); + capi_IVROverlay_020_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_020_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_020_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVROverlay_020_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_020_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_020_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_016_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_016_ResetSeatedZeroPose", this_ptr_value); + capi_IVROverlay_020_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_020_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayColor", 1); + check_float_parameter("IVROverlay_020_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_020_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_020_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_020_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_020_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_020_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_020_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVROverlay_020_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_016_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_016_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetTrackedDeviceActivityLevel", 1); + capi_IVROverlay_020_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_020_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_020_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRSystem_016_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_016_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)3); + capi_IVROverlay_020_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_016_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_016_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVROverlay_020_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_020_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_020_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_016_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVROverlay_020_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_020_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_016_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_016_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetTrackedDeviceClass", 1); + capi_IVROverlay_020_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_020_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_020_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_016_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_016_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_016_IsTrackedDeviceConnected", 1); + capi_IVROverlay_020_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); + check_ptr_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 1); + check_float_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); + check_float_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - init_thunk(t, this_ptr_value, IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_016_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_016_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVROverlay_020_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_020_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_016_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVROverlay_020_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVROverlay_020_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_020_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_016_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", (void *)5); + capi_IVROverlay_020_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetPropErrorNameFromEnum", 1); + capi_IVROverlay_020_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)2); + check_uint32_parameter("IVROverlay_020_GetOverlayRenderModel", 3); + check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; clear_parameters(); - capi_IVRSystem_016_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_016_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_016_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_016_PollNextEvent", 2); + capi_IVROverlay_020_SetOverlayRenderModel(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", (void *)2); + check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRSystem_016_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_016_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_016_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", (void *)4); + capi_IVROverlay_020_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetEventTypeNameFromEnum", 1); + capi_IVROverlay_020_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_016_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_016_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_016_GetHiddenAreaMesh", 2); + capi_IVROverlay_020_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_016_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerState", 1); - check_ptr_parameter("IVRSystem_016_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_016_GetControllerState", 3); + capi_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", (void *)5); + capi_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRSystem_016_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_016_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 3); + capi_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetButtonIdNameFromEnum", 1); + capi_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerAxisTypeNameFromEnum", 1); + capi_IVROverlay_020_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_CaptureInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_016_CaptureInputFocus", this_ptr_value); + capi_IVROverlay_020_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_ReleaseInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_016_ReleaseInputFocus", this_ptr_value); + capi_IVROverlay_020_ShowOverlay(1); + check_ptr_parameter("IVROverlay_020_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_016_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + capi_IVROverlay_020_HideOverlay(1); + check_ptr_parameter("IVROverlay_020_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_016_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_020_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_016_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_016_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_016_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_016_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_016_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_016_DriverDebugRequest", 4); + capi_IVROverlay_020_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_020_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_020_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_016_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_016_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_016_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_016_PerformFirmwareUpdate", 1); + capi_IVROverlay_020_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_020_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVRSystem_016_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_016_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVROverlay_020_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_020_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_020_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_020_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_020_PollNextOverlayEvent", 3); - init_thunk(t, this_ptr_value, IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_AcknowledgeQuit_UserPrompt)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVRSystem_016_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_016_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVROverlay_020_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_020_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_020_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_020_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_020_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_020_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_020_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); + VROverlayHandle_t (__stdcall *capi_IVROverlay_020_GetGamepadFocusOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetGamepadFocusOverlay(); + check_ptr_parameter("IVROverlay_020_GetGamepadFocusOverlay", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetGamepadFocusOverlay(1); + check_ptr_parameter("IVROverlay_020_SetGamepadFocusOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetGamepadFocusOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayNeighbor(1, 2, 3); + check_ptr_parameter("IVROverlay_020_SetOverlayNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_020_SetOverlayNeighbor", 1); + check_uint64_parameter("IVROverlay_020_SetOverlayNeighbor", 2); + check_uint64_parameter("IVROverlay_020_SetOverlayNeighbor", 3); + + init_thunk(t, this_ptr_value, IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_MoveGamepadFocusToNeighbor(1, 2); + check_ptr_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", this_ptr_value); + check_uint32_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", 1); + check_uint64_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); + check_ptr_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", (void *)3); + check_float_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_020_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_020_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_020_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_020_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_020_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_020_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_020_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_020_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_020_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_020_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_020_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_020_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_020_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_020_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_020_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_020_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_020_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_020_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_020_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_020_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_020_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_020_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_020_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_020_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_020_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_020_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_020_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_020_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_020_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_HideKeyboard(); + check_ptr_parameter("IVROverlay_020_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_020_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_020_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_020_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_020_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_020_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_020_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_020_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_020_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_020_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_020_GetOverlayFlags", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_020_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_020_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_020_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_020_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_020(void) +void test_capi_thunks_IVROverlay_021(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_020_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_SetTrackingSpace", 1); + capi_IVROverlay_021_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_021_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_021_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_021_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_020_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_020_GetTrackingSpace", this_ptr_value); + capi_IVROverlay_021_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_020_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_020_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_020_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_020_WaitGetPoses", 4); + capi_IVROverlay_021_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_021_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_020_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_020_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_020_GetLastPoses", 4); + capi_IVROverlay_021_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_021_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_021_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVROverlay_021_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_021_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_021_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_020_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_020_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_Submit", 1); - check_ptr_parameter("IVRCompositor_020_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_020_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_020_Submit", 4); + capi_IVROverlay_021_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_021_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_020_ClearLastSubmittedFrame", this_ptr_value); + capi_IVROverlay_021_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_021_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_021_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_021_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_020_PostPresentHandoff", this_ptr_value); + capi_IVROverlay_021_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_021_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_021_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetFrameTiming", 2); + capi_IVROverlay_021_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_021_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetFrameTimings", 2); + capi_IVROverlay_021_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_021_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_020_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_020_GetFrameTimeRemaining", this_ptr_value); + capi_IVROverlay_021_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_021_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_021_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetCumulativeStats", 2); + capi_IVROverlay_021_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_021_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_021_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_020_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_020_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_020_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_020_FadeToColor", 1); + capi_IVROverlay_021_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_021_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayColor", 1); + check_float_parameter("IVROverlay_021_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_021_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_021_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_020_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_020_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_020_GetCurrentFadeColor", 1); + capi_IVROverlay_021_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_020_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_020_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_020_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_020_FadeGrid", 1); + capi_IVROverlay_021_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_021_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_021_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_020_GetCurrentGridAlpha)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_020_GetCurrentGridAlpha", this_ptr_value); + capi_IVROverlay_021_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_020_SetSkyboxOverride", 2); + capi_IVROverlay_021_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_021_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_021_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_020_ClearSkyboxOverride", this_ptr_value); + capi_IVROverlay_021_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_020_CompositorBringToFront", this_ptr_value); + capi_IVROverlay_021_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_021_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_021_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_020_CompositorGoToBack", this_ptr_value); + capi_IVROverlay_021_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_021_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_CompositorQuit(); - check_ptr_parameter("IVRCompositor_020_CompositorQuit", this_ptr_value); + capi_IVROverlay_021_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_021_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_021_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_IsFullscreen(); - check_ptr_parameter("IVRCompositor_020_IsFullscreen", this_ptr_value); + capi_IVROverlay_021_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_020_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVROverlay_021_SetOverlayCurvature(1, 2.0f); + check_ptr_parameter("IVROverlay_021_SetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayCurvature", 1); + check_float_parameter("IVROverlay_021_SetOverlayCurvature", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_020_GetLastFrameRenderer", this_ptr_value); + capi_IVROverlay_021_GetOverlayCurvature(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayCurvature", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayCurvature", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_CanRenderScene(); - check_ptr_parameter("IVRCompositor_020_CanRenderScene", this_ptr_value); + capi_IVROverlay_021_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_021_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_020_ShowMirrorWindow", this_ptr_value); + capi_IVROverlay_021_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_020_HideMirrorWindow", this_ptr_value); + capi_IVROverlay_021_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_021_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_020_IsMirrorWindowVisible", this_ptr_value); + capi_IVROverlay_021_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_020_CompositorDumpImages", this_ptr_value); + capi_IVROverlay_021_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)2); + check_uint32_parameter("IVROverlay_021_GetOverlayRenderModel", 3); + check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_020_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVROverlay_021_SetOverlayRenderModel(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", (void *)2); + check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_020_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_020_ForceInterleavedReprojectionOn", 1); + capi_IVROverlay_021_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ForceReconnectProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_020_ForceReconnectProcess", this_ptr_value); + capi_IVROverlay_021_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_SuspendRendering)(bool bSuspend) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_020_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_020_SuspendRendering", 1); + capi_IVROverlay_021_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", (void *)3); + capi_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_020_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_ReleaseMirrorTextureD3D11", (void *)1); + capi_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", (void *)3); + capi_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_020_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_020_ReleaseSharedGLTexture", (void *)2); + capi_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_020_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_LockGLSharedTextureForAccess", (void *)1); + capi_IVROverlay_021_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_020_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVROverlay_021_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", 2); + capi_IVROverlay_021_ShowOverlay(1); + check_ptr_parameter("IVROverlay_021_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_021_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_020_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", 3); + capi_IVROverlay_021_HideOverlay(1); + check_ptr_parameter("IVROverlay_021_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_021_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_021_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_021_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_021_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_021_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_021_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_021_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_021_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_021_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_021_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_021_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_021_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_021_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_021_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); + check_ptr_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", (void *)3); + check_float_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_021_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_021_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_021_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_021_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_021_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_021_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_021_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_021_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_021_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_021_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_021_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_021_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_021_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_021_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_021_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_021_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_021_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_021_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_021_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_021_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_021_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_021_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_021_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_021_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_021_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_021_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_021_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_021_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_021_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_HideKeyboard(); + check_ptr_parameter("IVROverlay_021_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_021_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_021_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_021_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_021_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_021_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_021_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_021_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_021_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_021_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_021_GetOverlayFlags", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_021_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_021_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_021_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_021_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRClientCore_002(void) +void test_capi_thunks_IVROverlay_022(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRClientCore_002_Init, 1, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRClientCore_002_Init)(EVRApplicationType eApplicationType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_Init(1); - check_ptr_parameter("IVRClientCore_002_Init", this_ptr_value); - check_uint32_parameter("IVRClientCore_002_Init", 1); + capi_IVROverlay_022_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_022_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_022_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_022_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRClientCore_002_Cleanup, 0, FALSE, FALSE); - void (__stdcall *capi_IVRClientCore_002_Cleanup)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_Cleanup(); - check_ptr_parameter("IVRClientCore_002_Cleanup", this_ptr_value); + capi_IVROverlay_022_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRClientCore_002_IsInterfaceVersionValid, 1, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRClientCore_002_IsInterfaceVersionValid)(const char * pchInterfaceVersion) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_IsInterfaceVersionValid((void *)1); - check_ptr_parameter("IVRClientCore_002_IsInterfaceVersionValid", this_ptr_value); - check_ptr_parameter("IVRClientCore_002_IsInterfaceVersionValid", (void *)1); + capi_IVROverlay_022_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_022_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRClientCore_002_GetGenericInterface, 2, FALSE, FALSE); - void * (__stdcall *capi_IVRClientCore_002_GetGenericInterface)(const char * pchNameAndVersion, EVRInitError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_GetGenericInterface((void *)1, (void *)2); - check_ptr_parameter("IVRClientCore_002_GetGenericInterface", this_ptr_value); - check_ptr_parameter("IVRClientCore_002_GetGenericInterface", (void *)1); - check_ptr_parameter("IVRClientCore_002_GetGenericInterface", (void *)2); + capi_IVROverlay_022_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_022_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_022_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRClientCore_002_BIsHmdPresent, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRClientCore_002_BIsHmdPresent)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_BIsHmdPresent(); - check_ptr_parameter("IVRClientCore_002_BIsHmdPresent", this_ptr_value); + capi_IVROverlay_022_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_022_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_022_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRClientCore_002_GetEnglishStringForHmdError, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRClientCore_002_GetEnglishStringForHmdError)(EVRInitError eError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_GetEnglishStringForHmdError(1); - check_ptr_parameter("IVRClientCore_002_GetEnglishStringForHmdError", this_ptr_value); - check_uint32_parameter("IVRClientCore_002_GetEnglishStringForHmdError", 1); + capi_IVROverlay_022_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRClientCore_002_GetIDForVRInitError, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRClientCore_002_GetIDForVRInitError)(EVRInitError eError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRClientCore_002_GetIDForVRInitError(1); - check_ptr_parameter("IVRClientCore_002_GetIDForVRInitError", this_ptr_value); - check_uint32_parameter("IVRClientCore_002_GetIDForVRInitError", 1); + capi_IVROverlay_022_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_022_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_022_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)5); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_022_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_022_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_022_GetOverlayErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_022_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayRenderingPid", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_022_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayRenderingPid", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_022_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_022_SetOverlayFlag", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_022_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_022_GetOverlayFlag", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayFlags", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_022_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayColor", 1); + check_float_parameter("IVROverlay_022_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_022_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_022_SetOverlayColor", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_022_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_022_SetOverlayAlpha", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayAlpha", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_022_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_022_SetOverlayTexelAspect", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTexelAspect", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_022_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_022_SetOverlaySortOrder", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_022_GetOverlaySortOrder", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_022_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_022_SetOverlayWidthInMeters", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayWidthInMeters", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayCurvature(1, 2.0f); + check_ptr_parameter("IVROverlay_022_SetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayCurvature", 1); + check_float_parameter("IVROverlay_022_SetOverlayCurvature", 2.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayCurvature(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayCurvature", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayCurvature", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_022_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayTextureColorSpace", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureColorSpace", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureBounds", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)2); + check_uint32_parameter("IVROverlay_022_GetOverlayRenderModel", 3); + check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)5); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayRenderModel(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayRenderModel", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformType", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", 4); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayTransformCursor", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTransformCursor", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ShowOverlay(1); + check_ptr_parameter("IVROverlay_022_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_HideOverlay(1); + check_ptr_parameter("IVROverlay_022_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_022_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_022_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_022_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_022_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_022_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_022_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_022_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_022_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_022_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_022_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_022_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_022_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_022_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); + check_ptr_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", (void *)3); + check_float_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", 1); + check_uint32_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", 2); + check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_022_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_022_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_022_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_022_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", this_ptr_value); + check_uint64_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 1); + check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 2.0f); + check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 3.0f); + check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayCursor(1, 2); + check_ptr_parameter("IVROverlay_022_SetOverlayCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayCursor", 1); + check_uint64_parameter("IVROverlay_022_SetOverlayCursor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayCursorPositionOverride(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ClearOverlayCursorPositionOverride(1); + check_ptr_parameter("IVROverlay_022_ClearOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_022_ClearOverlayCursorPositionOverride", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_022_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_022_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_022_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_022_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_022_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_022_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_022_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_022_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_022_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_022_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_022_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_022_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_022_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); + check_ptr_parameter("IVROverlay_022_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_022_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_022_ShowKeyboard", 2); + check_ptr_parameter("IVROverlay_022_ShowKeyboard", (void *)3); + check_uint32_parameter("IVROverlay_022_ShowKeyboard", 4); + check_ptr_parameter("IVROverlay_022_ShowKeyboard", (void *)5); + check_bool_parameter("IVROverlay_022_ShowKeyboard", 1); + check_uint64_parameter("IVROverlay_022_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_022_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); + check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 3); + check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", (void *)4); + check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 5); + check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", (void *)6); + check_bool_parameter("IVROverlay_022_ShowKeyboardForOverlay", 1); + check_uint64_parameter("IVROverlay_022_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_022_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_022_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_022_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_022_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_022_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_HideKeyboard(); + check_ptr_parameter("IVROverlay_022_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_022_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_022_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_022_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_022_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_022_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_022_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_015(void) +void test_capi_thunks_IVROverlay_024(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", (void *)2); + capi_IVROverlay_024_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_024_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_024_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_024_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_015_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_015_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_015_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_015_GetProjectionMatrix", 3.0f); + capi_IVROverlay_024_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_024_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)5); + capi_IVROverlay_024_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_024_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_015_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_015_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_015_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_015_ComputeDistortion", 1); - check_float_parameter("IVRSystem_015_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_015_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_015_ComputeDistortion", (void *)4); + capi_IVROverlay_024_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_024_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_024_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_024_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_015_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetEyeToHeadTransform", 1); + capi_IVROverlay_024_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_024_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_024_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_024_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", (void *)2); + capi_IVROverlay_024_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_015_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_015_GetD3D9AdapterIndex", this_ptr_value); + capi_IVROverlay_024_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_024_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_024_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_024_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_015_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetDXGIOutputInfo", (void *)1); + capi_IVROverlay_024_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_024_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_024_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRSystem_015_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_015_IsDisplayOnDesktop", this_ptr_value); + capi_IVROverlay_024_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_024_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_015_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_015_SetDisplayVisibility", 1); + capi_IVROverlay_024_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_024_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVROverlay_024_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_024_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_024_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_015_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_015_ResetSeatedZeroPose", this_ptr_value); + capi_IVROverlay_024_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_024_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_024_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_024_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayFlags", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_024_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_024_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayColor", 1); + check_float_parameter("IVROverlay_024_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_024_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_024_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVROverlay_024_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_024_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_015_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_015_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetTrackedDeviceActivityLevel", 1); + capi_IVROverlay_024_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_024_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_024_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_015_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_015_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)3); + capi_IVROverlay_024_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_015_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_015_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVROverlay_024_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_024_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_024_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_015_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVROverlay_024_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_015_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_015_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetTrackedDeviceClass", 1); + capi_IVROverlay_024_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_024_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_024_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRSystem_015_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_015_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_015_IsTrackedDeviceConnected", 1); + capi_IVROverlay_024_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_024_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVROverlay_024_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_024_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_024_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_015_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVROverlay_024_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_015_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVROverlay_024_SetOverlayCurvature(1, 2.0f); + check_ptr_parameter("IVROverlay_024_SetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayCurvature", 1); + check_float_parameter("IVROverlay_024_SetOverlayCurvature", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_015_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVROverlay_024_GetOverlayCurvature(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayCurvature", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayCurvature", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVROverlay_024_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_024_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_015_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", (void *)5); + capi_IVROverlay_024_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetPropErrorNameFromEnum", 1); + capi_IVROverlay_024_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_015_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_015_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_015_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_015_PollNextEvent", 2); + capi_IVROverlay_024_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRSystem_015_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_015_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_015_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", (void *)4); + capi_IVROverlay_024_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetEventTypeNameFromEnum", 1); + capi_IVROverlay_024_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_015_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_015_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_015_GetHiddenAreaMesh", 2); + capi_IVROverlay_024_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_015_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerState", 1); - check_ptr_parameter("IVRSystem_015_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_015_GetControllerState", 3); + capi_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", (void *)5); + capi_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRSystem_015_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_015_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 3); + capi_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetButtonIdNameFromEnum", 1); + capi_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerAxisTypeNameFromEnum", 1); + capi_IVROverlay_024_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_CaptureInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_015_CaptureInputFocus", this_ptr_value); + capi_IVROverlay_024_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_ReleaseInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; clear_parameters(); - capi_IVRSystem_015_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_015_ReleaseInputFocus", this_ptr_value); + capi_IVROverlay_024_SetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayTransformCursor", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; clear_parameters(); - capi_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_015_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + capi_IVROverlay_024_GetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTransformCursor", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_015_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_015_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_015_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_015_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_015_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_015_DriverDebugRequest", 4); + capi_IVROverlay_024_ShowOverlay(1); + check_ptr_parameter("IVROverlay_024_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_015_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_015_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_015_PerformFirmwareUpdate", 1); + capi_IVROverlay_024_HideOverlay(1); + check_ptr_parameter("IVROverlay_024_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_024_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_015_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_015_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVROverlay_024_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_024_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_024_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_AcknowledgeQuit_UserPrompt)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_015_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_015_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVROverlay_024_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_024_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_024_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_024_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_024_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_024_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_024_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_024_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_024_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_024_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_024_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_024_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_024_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_024_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_024_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_024_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", this_ptr_value); + check_uint64_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 1); + check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 2.0f); + check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 3.0f); + check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayCursor(1, 2); + check_ptr_parameter("IVROverlay_024_SetOverlayCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayCursor", 1); + check_uint64_parameter("IVROverlay_024_SetOverlayCursor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayCursorPositionOverride(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ClearOverlayCursorPositionOverride(1); + check_ptr_parameter("IVROverlay_024_ClearOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_024_ClearOverlayCursorPositionOverride", 1); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_024_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_024_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_024_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_024_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_024_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_024_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_024_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_024_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_024_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_024_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_024_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_024_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_024_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); + check_ptr_parameter("IVROverlay_024_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_024_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_024_ShowKeyboard", 2); + check_uint32_parameter("IVROverlay_024_ShowKeyboard", 3); + check_ptr_parameter("IVROverlay_024_ShowKeyboard", (void *)4); + check_uint32_parameter("IVROverlay_024_ShowKeyboard", 5); + check_ptr_parameter("IVROverlay_024_ShowKeyboard", (void *)6); + check_uint64_parameter("IVROverlay_024_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_024_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); + check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 3); + check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 4); + check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", (void *)5); + check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 6); + check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", (void *)7); + check_uint64_parameter("IVROverlay_024_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_024_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_024_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_024_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_024_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_024_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_HideKeyboard(); + check_ptr_parameter("IVROverlay_024_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_024_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_024_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_024_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_024_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_024_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_024_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_014(void) +void test_capi_thunks_IVROverlay_025(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_014_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_014_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_FindOverlay", (void *)2); + capi_IVROverlay_025_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_025_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_025_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_025_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)3); + capi_IVROverlay_025_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_025_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_014_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_DestroyOverlay", 1); + capi_IVROverlay_025_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_025_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_014_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetHighQualityOverlay", 1); + capi_IVROverlay_025_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_025_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_025_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_025_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_014_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_014_GetHighQualityOverlay", this_ptr_value); + capi_IVROverlay_025_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_025_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_025_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_025_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_014_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_014_GetOverlayKey", (void *)4); + capi_IVROverlay_025_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_014_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_014_GetOverlayName", (void *)4); + capi_IVROverlay_025_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_025_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_025_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_025_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_014_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)5); + capi_IVROverlay_025_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_025_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_025_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_014_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_014_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_014_GetOverlayErrorNameFromEnum", 1); + capi_IVROverlay_025_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_025_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayRenderingPid", 2); + capi_IVROverlay_025_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_025_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_014_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayRenderingPid", 1); + capi_IVROverlay_025_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_025_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_025_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_014_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_014_SetOverlayFlag", 1); + capi_IVROverlay_025_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_025_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_025_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_014_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_014_GetOverlayFlag", (void *)3); + capi_IVROverlay_025_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayFlags", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayColor", 1); - check_float_parameter("IVROverlay_014_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_014_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_014_SetOverlayColor", 4.0f); + capi_IVROverlay_025_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_025_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayColor", 1); + check_float_parameter("IVROverlay_025_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_025_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_025_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)4); + capi_IVROverlay_025_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_025_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_014_SetOverlayAlpha", 2.0f); + capi_IVROverlay_025_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_025_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_025_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayAlpha", (void *)2); + capi_IVROverlay_025_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_014_SetOverlayTexelAspect", 2.0f); + capi_IVROverlay_025_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_025_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_025_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTexelAspect", (void *)2); + capi_IVROverlay_025_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_014_SetOverlaySortOrder", 2); + capi_IVROverlay_025_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_025_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_025_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_014_GetOverlaySortOrder", (void *)2); + capi_IVROverlay_025_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_025_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_014_SetOverlayWidthInMeters", 2.0f); + capi_IVROverlay_025_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_025_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_025_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayWidthInMeters", (void *)2); + capi_IVROverlay_025_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVROverlay_025_SetOverlayCurvature(1, 2.0f); + check_ptr_parameter("IVROverlay_025_SetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayCurvature", 1); + check_float_parameter("IVROverlay_025_SetOverlayCurvature", 2.0f); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVROverlay_025_GetOverlayCurvature(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayCurvature", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayCurvature", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTextureColorSpace", 2); + capi_IVROverlay_025_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_025_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureColorSpace", (void *)2); + capi_IVROverlay_025_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayTextureBounds", (void *)2); + capi_IVROverlay_025_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureBounds", (void *)2); + capi_IVROverlay_025_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformType", (void *)2); + capi_IVROverlay_025_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_025_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", (void *)3); + capi_IVROverlay_025_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ShowOverlay(1); - check_ptr_parameter("IVROverlay_014_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ShowOverlay", 1); + capi_IVROverlay_025_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_HideOverlay(1); - check_ptr_parameter("IVROverlay_014_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_HideOverlay", 1); + capi_IVROverlay_025_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; clear_parameters(); - capi_IVROverlay_014_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_014_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_014_IsOverlayVisible", 1); + capi_IVROverlay_025_SetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformCursor", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", (void *)4); + capi_IVROverlay_025_GetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTransformCursor", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVROverlay_014_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_014_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_014_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_014_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_014_PollNextOverlayEvent", 3); + capi_IVROverlay_025_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTransformProjection", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayTransformProjection", 2); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", (void *)3); + check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", (void *)4); + check_uint32_parameter("IVROverlay_025_SetOverlayTransformProjection", 5); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayInputMethod", (void *)2); + capi_IVROverlay_025_ShowOverlay(1); + check_ptr_parameter("IVROverlay_025_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayInputMethod", 2); + capi_IVROverlay_025_HideOverlay(1); + check_ptr_parameter("IVROverlay_025_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_025_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayMouseScale", (void *)2); + capi_IVROverlay_025_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_025_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_025_IsOverlayVisible", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayMouseScale", (void *)2); + capi_IVROverlay_025_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_025_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", (void *)3); + capi_IVROverlay_025_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_025_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_025_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_025_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_025_PollNextOverlayEvent", 3); - init_thunk(t, this_ptr_value, IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", 2); + capi_IVROverlay_025_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayInputMethod", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; clear_parameters(); - capi_IVROverlay_014_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_014_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_IsHoverTargetOverlay", 1); + capi_IVROverlay_025_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_025_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_025_SetOverlayInputMethod", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_014_GetGamepadFocusOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_014_GetGamepadFocusOverlay", this_ptr_value); + capi_IVROverlay_025_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_014_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetGamepadFocusOverlay", 1); + capi_IVROverlay_025_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayMouseScale", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_025_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_014_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_014_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_014_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_014_SetOverlayNeighbor", 3); + capi_IVROverlay_025_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_025_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_025_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", 2); + capi_IVROverlay_025_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_025_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_IsHoverTargetOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayTexture", (void *)2); + capi_IVROverlay_025_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_025_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_025_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_025_SetOverlayIntersectionMask", 4); - init_thunk(t, this_ptr_value, IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_025_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_014_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ClearOverlayTexture", 1); + capi_IVROverlay_025_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", this_ptr_value); + check_uint64_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 1); + check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 2.0f); + check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 3.0f); + check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 4.0f); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_014_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 5); + capi_IVROverlay_025_SetOverlayCursor(1, 2); + check_ptr_parameter("IVROverlay_025_SetOverlayCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayCursor", 1); + check_uint64_parameter("IVROverlay_025_SetOverlayCursor", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayFromFile", (void *)2); + capi_IVROverlay_025_SetOverlayCursorPositionOverride(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)9); + capi_IVROverlay_025_ClearOverlayCursorPositionOverride(1); + check_ptr_parameter("IVROverlay_025_ClearOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_025_ClearOverlayCursorPositionOverride", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", (void *)2); + capi_IVROverlay_025_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", (void *)3); + capi_IVROverlay_025_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_025_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_025_ClearOverlayTexture", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; clear_parameters(); - capi_IVROverlay_014_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)4); + capi_IVROverlay_025_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_025_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 5); - init_thunk(t, this_ptr_value, IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsDashboardVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; clear_parameters(); - capi_IVROverlay_014_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_014_IsDashboardVisible", this_ptr_value); + capi_IVROverlay_025_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_025_SetOverlayFromFile", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; clear_parameters(); - capi_IVROverlay_014_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_014_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_IsActiveDashboardOverlay", 1); + capi_IVROverlay_025_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)9); - init_thunk(t, this_ptr_value, IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", 2); + capi_IVROverlay_025_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", (void *)2); + capi_IVROverlay_025_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_014_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_014_ShowDashboard", (void *)1); + capi_IVROverlay_025_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_014_GetPrimaryDashboardDevice)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_025_IsDashboardVisible)() = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_014_GetPrimaryDashboardDevice", this_ptr_value); + capi_IVROverlay_025_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_025_IsDashboardVisible", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_025_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_014_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_014_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_014_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_014_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_014_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_014_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_014_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_014_ShowKeyboard", 7); + capi_IVROverlay_025_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_025_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_IsActiveDashboardOverlay", 1); - init_thunk(t, this_ptr_value, IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_014_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_014_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_014_ShowKeyboardForOverlay", 8); + capi_IVROverlay_025_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_014_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_014_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_014_GetKeyboardText", 2); + capi_IVROverlay_025_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_HideKeyboard)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_025_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; clear_parameters(); - capi_IVROverlay_014_HideKeyboard(); - check_ptr_parameter("IVROverlay_014_HideKeyboard", this_ptr_value); + capi_IVROverlay_025_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_025_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_025_ShowDashboard", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_025_GetPrimaryDashboardDevice)() = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", (void *)2); + capi_IVROverlay_025_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_025_GetPrimaryDashboardDevice", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVROverlay_025_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); + check_ptr_parameter("IVROverlay_025_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_025_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_025_ShowKeyboard", 2); + check_uint32_parameter("IVROverlay_025_ShowKeyboard", 3); + check_ptr_parameter("IVROverlay_025_ShowKeyboard", (void *)4); + check_uint32_parameter("IVROverlay_025_ShowKeyboard", 5); + check_ptr_parameter("IVROverlay_025_ShowKeyboard", (void *)6); + check_uint64_parameter("IVROverlay_025_ShowKeyboard", 7); - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_025_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; clear_parameters(); - capi_IVROverlay_014_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_014_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_014_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_014_SetOverlayIntersectionMask", 4); + capi_IVROverlay_025_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); + check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 3); + check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 4); + check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", (void *)5); + check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 6); + check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", (void *)7); + check_uint64_parameter("IVROverlay_025_ShowKeyboardForOverlay", 8); - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_025_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; clear_parameters(); - capi_IVROverlay_014_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayFlags", (void *)2); + capi_IVROverlay_025_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_025_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_025_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_025_GetKeyboardText", 2); - init_thunk(t, this_ptr_value, IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_014_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_025_HideKeyboard)() = (void *)t; clear_parameters(); - capi_IVROverlay_014_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)6); + capi_IVROverlay_025_HideKeyboard(); + check_ptr_parameter("IVROverlay_025_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_025_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_025_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_025_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_025_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_025_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_025_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_025_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_025_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_025_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_019(void) +void test_capi_thunks_IVROverlay_026(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_019_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_SetTrackingSpace", 1); + capi_IVROverlay_026_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_026_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_026_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_026_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_019_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_019_GetTrackingSpace", this_ptr_value); + capi_IVROverlay_026_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_026_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_019_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_019_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_019_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_019_WaitGetPoses", 4); + capi_IVROverlay_026_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_026_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_019_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_019_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_019_GetLastPoses", 4); + capi_IVROverlay_026_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_026_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_026_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_026_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVROverlay_026_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_026_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_026_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_026_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_019_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_019_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_Submit", 1); - check_ptr_parameter("IVRCompositor_019_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_019_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_019_Submit", 4); + capi_IVROverlay_026_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_019_ClearLastSubmittedFrame", this_ptr_value); + capi_IVROverlay_026_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_026_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_026_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_026_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_019_PostPresentHandoff", this_ptr_value); + capi_IVROverlay_026_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_026_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_026_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetFrameTiming", 2); + capi_IVROverlay_026_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_026_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetFrameTimings", 2); + capi_IVROverlay_026_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_026_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_019_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_019_GetFrameTimeRemaining", this_ptr_value); + capi_IVROverlay_026_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_026_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_026_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetCumulativeStats", 2); + capi_IVROverlay_026_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_026_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_026_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_019_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_019_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_019_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_019_FadeToColor", 1); + capi_IVROverlay_026_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayFlags", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_019_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_019_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_019_GetCurrentFadeColor", 1); + capi_IVROverlay_026_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_026_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayColor", 1); + check_float_parameter("IVROverlay_026_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_026_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_026_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_019_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_019_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_019_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_019_FadeGrid", 1); + capi_IVROverlay_026_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_026_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_019_GetCurrentGridAlpha)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_019_GetCurrentGridAlpha", this_ptr_value); + capi_IVROverlay_026_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_026_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_026_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_019_SetSkyboxOverride", 2); + capi_IVROverlay_026_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_019_ClearSkyboxOverride", this_ptr_value); + capi_IVROverlay_026_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_026_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_026_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_019_CompositorBringToFront", this_ptr_value); + capi_IVROverlay_026_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_019_CompositorGoToBack", this_ptr_value); + capi_IVROverlay_026_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_026_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_026_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_CompositorQuit(); - check_ptr_parameter("IVRCompositor_019_CompositorQuit", this_ptr_value); + capi_IVROverlay_026_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_026_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_IsFullscreen(); - check_ptr_parameter("IVRCompositor_019_IsFullscreen", this_ptr_value); + capi_IVROverlay_026_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_026_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_026_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_019_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVROverlay_026_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_019_GetLastFrameRenderer", this_ptr_value); + capi_IVROverlay_026_SetOverlayCurvature(1, 2.0f); + check_ptr_parameter("IVROverlay_026_SetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayCurvature", 1); + check_float_parameter("IVROverlay_026_SetOverlayCurvature", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_CanRenderScene(); - check_ptr_parameter("IVRCompositor_019_CanRenderScene", this_ptr_value); + capi_IVROverlay_026_GetOverlayCurvature(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayCurvature", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayCurvature", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float fRadians) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_019_ShowMirrorWindow", this_ptr_value); + capi_IVROverlay_026_SetOverlayPreCurvePitch(1, 2.0f); + check_ptr_parameter("IVROverlay_026_SetOverlayPreCurvePitch", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayPreCurvePitch", 1); + check_float_parameter("IVROverlay_026_SetOverlayPreCurvePitch", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float * pfRadians) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_019_HideMirrorWindow", this_ptr_value); + capi_IVROverlay_026_GetOverlayPreCurvePitch(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayPreCurvePitch", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayPreCurvePitch", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayPreCurvePitch", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_019_IsMirrorWindowVisible", this_ptr_value); + capi_IVROverlay_026_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_026_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_019_CompositorDumpImages", this_ptr_value); + capi_IVROverlay_026_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_019_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVROverlay_026_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_019_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_019_ForceInterleavedReprojectionOn", 1); + capi_IVROverlay_026_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ForceReconnectProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_019_ForceReconnectProcess", this_ptr_value); + capi_IVROverlay_026_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_SuspendRendering)(bool bSuspend) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_019_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_019_SuspendRendering", 1); + capi_IVROverlay_026_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", (void *)3); + capi_IVROverlay_026_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", (void *)3); + capi_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_019_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_019_ReleaseSharedGLTexture", (void *)2); + capi_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_019_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_LockGLSharedTextureForAccess", (void *)1); + capi_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_019_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", 2); + capi_IVROverlay_026_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_019_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", 3); + capi_IVROverlay_026_SetOverlayTransformOverlayRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", 1); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", 2); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformCursor", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTransformCursor", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTransformProjection", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayTransformProjection", 2); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", (void *)3); + check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", (void *)4); + check_uint32_parameter("IVROverlay_026_SetOverlayTransformProjection", 5); + + init_thunk(t, this_ptr_value, IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ShowOverlay(1); + check_ptr_parameter("IVROverlay_026_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_ShowOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_HideOverlay(1); + check_ptr_parameter("IVROverlay_026_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_HideOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_026_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_026_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_026_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_WaitFrameSync)(uint32_t nTimeoutMs) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_WaitFrameSync(1); + check_ptr_parameter("IVROverlay_026_WaitFrameSync", this_ptr_value); + check_uint32_parameter("IVROverlay_026_WaitFrameSync", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_026_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_026_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_026_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_026_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_026_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_026_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_026_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_026_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_026_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_026_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_026_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_026_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_026_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_026_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_026_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", this_ptr_value); + check_uint64_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 1); + check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 2.0f); + check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 3.0f); + check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayCursor(1, 2); + check_ptr_parameter("IVROverlay_026_SetOverlayCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayCursor", 1); + check_uint64_parameter("IVROverlay_026_SetOverlayCursor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayCursorPositionOverride(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ClearOverlayCursorPositionOverride(1); + check_ptr_parameter("IVROverlay_026_ClearOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_026_ClearOverlayCursorPositionOverride", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_026_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_026_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_026_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_026_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_026_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_026_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_026_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_026_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_026_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_026_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_026_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_026_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_026_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); + check_ptr_parameter("IVROverlay_026_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_026_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_026_ShowKeyboard", 2); + check_uint32_parameter("IVROverlay_026_ShowKeyboard", 3); + check_ptr_parameter("IVROverlay_026_ShowKeyboard", (void *)4); + check_uint32_parameter("IVROverlay_026_ShowKeyboard", 5); + check_ptr_parameter("IVROverlay_026_ShowKeyboard", (void *)6); + check_uint64_parameter("IVROverlay_026_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_026_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); + check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 3); + check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 4); + check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", (void *)5); + check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 6); + check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", (void *)7); + check_uint64_parameter("IVROverlay_026_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_026_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_026_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_026_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_026_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_026_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_HideKeyboard(); + check_ptr_parameter("IVROverlay_026_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_026_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_026_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_026_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_026_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_026_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_026_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_014(void) +void test_capi_thunks_IVROverlay_027(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_FindOverlay, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", (void *)2); + capi_IVROverlay_027_FindOverlay((void *)1, (void *)2); + check_ptr_parameter("IVROverlay_027_FindOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_027_FindOverlay", (void *)1); + check_ptr_parameter("IVROverlay_027_FindOverlay", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_014_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_CreateOverlay, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_014_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_014_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_014_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_014_GetProjectionMatrix", 4); + capi_IVROverlay_027_CreateOverlay((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_027_CreateOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_027_CreateOverlay", (void *)1); + check_ptr_parameter("IVROverlay_027_CreateOverlay", (void *)2); + check_ptr_parameter("IVROverlay_027_CreateOverlay", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_DestroyOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)5); + capi_IVROverlay_027_DestroyOverlay(1); + check_ptr_parameter("IVROverlay_027_DestroyOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_DestroyOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_014_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayKey, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_027_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_014_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_014_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_014_ComputeDistortion", 1); - check_float_parameter("IVRSystem_014_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_014_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_014_ComputeDistortion", (void *)4); + capi_IVROverlay_027_GetOverlayKey(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_027_GetOverlayKey", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayKey", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayKey", (void *)2); + check_uint32_parameter("IVROverlay_027_GetOverlayKey", 3); + check_ptr_parameter("IVROverlay_027_GetOverlayKey", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_027_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_014_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetEyeToHeadTransform", 1); + capi_IVROverlay_027_GetOverlayName(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVROverlay_027_GetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayName", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayName", (void *)2); + check_uint32_parameter("IVROverlay_027_GetOverlayName", 3); + check_ptr_parameter("IVROverlay_027_GetOverlayName", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayName, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", (void *)2); + capi_IVROverlay_027_SetOverlayName(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayName", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayName", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayName", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_014_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayImageData, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_014_GetD3D9AdapterIndex", this_ptr_value); + capi_IVROverlay_027_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVROverlay_027_GetOverlayImageData", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayImageData", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayImageData", (void *)2); + check_uint32_parameter("IVROverlay_027_GetOverlayImageData", 3); + check_ptr_parameter("IVROverlay_027_GetOverlayImageData", (void *)4); + check_ptr_parameter("IVROverlay_027_GetOverlayImageData", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVROverlay_027_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_014_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetDXGIOutputInfo", (void *)1); + capi_IVROverlay_027_GetOverlayErrorNameFromEnum(1); + check_ptr_parameter("IVROverlay_027_GetOverlayErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVROverlay_027_GetOverlayErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayRenderingPid, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; clear_parameters(); - capi_IVRSystem_014_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_014_IsDisplayOnDesktop", this_ptr_value); + capi_IVROverlay_027_SetOverlayRenderingPid(1, 2); + check_ptr_parameter("IVROverlay_027_SetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayRenderingPid", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayRenderingPid", 2); - init_thunk(t, this_ptr_value, IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayRenderingPid, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_027_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_014_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_014_SetDisplayVisibility", 1); + capi_IVROverlay_027_GetOverlayRenderingPid(1); + check_ptr_parameter("IVROverlay_027_GetOverlayRenderingPid", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayRenderingPid", 1); - init_thunk(t, this_ptr_value, IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVROverlay_027_SetOverlayFlag(1, 2, 1); + check_ptr_parameter("IVROverlay_027_SetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayFlag", 2); + check_bool_parameter("IVROverlay_027_SetOverlayFlag", 1); - init_thunk(t, this_ptr_value, IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayFlag, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; clear_parameters(); - capi_IVRSystem_014_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_014_ResetSeatedZeroPose", this_ptr_value); + capi_IVROverlay_027_GetOverlayFlag(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_027_GetOverlayFlag", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayFlag", 1); + check_uint32_parameter("IVROverlay_027_GetOverlayFlag", 2); + check_ptr_parameter("IVROverlay_027_GetOverlayFlag", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayFlags, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_027_GetOverlayFlags(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayFlags", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayFlags", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayFlags", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayColor, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVROverlay_027_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_027_SetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayColor", 1); + check_float_parameter("IVROverlay_027_SetOverlayColor", 2.0f); + check_float_parameter("IVROverlay_027_SetOverlayColor", 3.0f); + check_float_parameter("IVROverlay_027_SetOverlayColor", 4.0f); - init_thunk(t, this_ptr_value, IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayColor, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVROverlay_027_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_027_GetOverlayColor", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayColor", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayColor", (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayColor", (void *)3); + check_ptr_parameter("IVROverlay_027_GetOverlayColor", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_014_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayAlpha, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_014_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetTrackedDeviceActivityLevel", 1); + capi_IVROverlay_027_SetOverlayAlpha(1, 2.0f); + check_ptr_parameter("IVROverlay_027_SetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayAlpha", 1); + check_float_parameter("IVROverlay_027_SetOverlayAlpha", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayAlpha, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; clear_parameters(); - capi_IVRSystem_014_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_014_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)3); + capi_IVROverlay_027_GetOverlayAlpha(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayAlpha", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayAlpha", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayAlpha", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_014_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTexelAspect, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_014_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVROverlay_027_SetOverlayTexelAspect(1, 2.0f); + check_ptr_parameter("IVROverlay_027_SetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTexelAspect", 1); + check_float_parameter("IVROverlay_027_SetOverlayTexelAspect", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTexelAspect, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_014_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVROverlay_027_GetOverlayTexelAspect(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTexelAspect", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTexelAspect", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTexelAspect", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_014_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_014_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetTrackedDeviceClass", 1); + capi_IVROverlay_027_SetOverlaySortOrder(1, 2); + check_ptr_parameter("IVROverlay_027_SetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlaySortOrder", 1); + check_uint32_parameter("IVROverlay_027_SetOverlaySortOrder", 2); - init_thunk(t, this_ptr_value, IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlaySortOrder, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; clear_parameters(); - capi_IVRSystem_014_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_014_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_014_IsTrackedDeviceConnected", 1); + capi_IVROverlay_027_GetOverlaySortOrder(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlaySortOrder", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlaySortOrder", 1); + check_ptr_parameter("IVROverlay_027_GetOverlaySortOrder", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayWidthInMeters, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVROverlay_027_SetOverlayWidthInMeters(1, 2.0f); + check_ptr_parameter("IVROverlay_027_SetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayWidthInMeters", 1); + check_float_parameter("IVROverlay_027_SetOverlayWidthInMeters", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_014_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayWidthInMeters, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVROverlay_027_GetOverlayWidthInMeters(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayWidthInMeters", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayWidthInMeters", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayWidthInMeters", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_014_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayCurvature, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVROverlay_027_SetOverlayCurvature(1, 2.0f); + check_ptr_parameter("IVROverlay_027_SetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayCurvature", 1); + check_float_parameter("IVROverlay_027_SetOverlayCurvature", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_014_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayCurvature, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVROverlay_027_GetOverlayCurvature(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayCurvature", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayCurvature", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayCurvature", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayPreCurvePitch, 2, TRUE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float fRadians) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVROverlay_027_SetOverlayPreCurvePitch(1, 2.0f); + check_ptr_parameter("IVROverlay_027_SetOverlayPreCurvePitch", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayPreCurvePitch", 1); + check_float_parameter("IVROverlay_027_SetOverlayPreCurvePitch", 2.0f); - init_thunk(t, this_ptr_value, IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_014_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayPreCurvePitch, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float * pfRadians) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", (void *)5); + capi_IVROverlay_027_GetOverlayPreCurvePitch(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayPreCurvePitch", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayPreCurvePitch", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayPreCurvePitch", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetPropErrorNameFromEnum", 1); + capi_IVROverlay_027_SetOverlayTextureColorSpace(1, 2); + check_ptr_parameter("IVROverlay_027_SetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTextureColorSpace", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayTextureColorSpace", 2); - init_thunk(t, this_ptr_value, IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; clear_parameters(); - capi_IVRSystem_014_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_014_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_014_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_014_PollNextEvent", 2); + capi_IVROverlay_027_GetOverlayTextureColorSpace(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureColorSpace", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTextureColorSpace", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureColorSpace", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_014_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_014_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_014_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", (void *)4); + capi_IVROverlay_027_SetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTextureBounds, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetEventTypeNameFromEnum", 1); + capi_IVROverlay_027_GetOverlayTextureBounds(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureBounds", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTextureBounds", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureBounds", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_014_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformType, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_014_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_014_GetHiddenAreaMesh", 2); + capi_IVROverlay_027_GetOverlayTransformType(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformType", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTransformType", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformType", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_014_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerState", 1); - check_ptr_parameter("IVRSystem_014_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_014_GetControllerState", 3); + capi_IVROverlay_027_SetOverlayTransformAbsolute(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTransformAbsolute", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayTransformAbsolute", 2); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", (void *)5); + capi_IVROverlay_027_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformAbsolute", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformAbsolute", (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformAbsolute", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_014_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_014_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 3); + capi_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", 2); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetButtonIdNameFromEnum", 1); + capi_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceRelative", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRSystem_014_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerAxisTypeNameFromEnum", 1); + capi_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", 2); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformTrackedDeviceComponent", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_CaptureInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; clear_parameters(); - capi_IVRSystem_014_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_014_CaptureInputFocus", this_ptr_value); + capi_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", (void *)3); + check_uint32_parameter("IVROverlay_027_GetOverlayTransformTrackedDeviceComponent", 4); - init_thunk(t, this_ptr_value, IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_ReleaseInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; clear_parameters(); - capi_IVRSystem_014_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_014_ReleaseInputFocus", this_ptr_value); + capi_IVROverlay_027_SetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformCursor", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTransformCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; clear_parameters(); - capi_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_014_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + capi_IVROverlay_027_GetOverlayTransformCursor(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTransformCursor", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTransformCursor", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_014_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTransformProjection, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRSystem_014_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_014_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_014_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_014_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_014_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_014_DriverDebugRequest", 4); + capi_IVROverlay_027_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformProjection", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTransformProjection", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayTransformProjection", 2); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformProjection", (void *)3); + check_ptr_parameter("IVROverlay_027_SetOverlayTransformProjection", (void *)4); + check_uint32_parameter("IVROverlay_027_SetOverlayTransformProjection", 5); - init_thunk(t, this_ptr_value, IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_014_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_ShowOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_014_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_014_PerformFirmwareUpdate", 1); + capi_IVROverlay_027_ShowOverlay(1); + check_ptr_parameter("IVROverlay_027_ShowOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_ShowOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_HideOverlay, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_014_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVROverlay_027_HideOverlay(1); + check_ptr_parameter("IVROverlay_027_HideOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_HideOverlay", 1); - init_thunk(t, this_ptr_value, IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_AcknowledgeQuit_UserPrompt)() = (void *)t; + init_thunk(t, this_ptr_value, IVROverlay_027_IsOverlayVisible, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_027_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_014_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_014_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVROverlay_027_IsOverlayVisible(1); + check_ptr_parameter("IVROverlay_027_IsOverlayVisible", this_ptr_value); + check_uint64_parameter("IVROverlay_027_IsOverlayVisible", 1); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); + check_ptr_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", 1); + check_uint32_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", 2); + check_HmdVector2_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); + check_ptr_parameter("IVROverlay_027_GetTransformForOverlayCoordinates", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_027_WaitFrameSync, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_WaitFrameSync)(uint32_t nTimeoutMs) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_WaitFrameSync(1); + check_ptr_parameter("IVROverlay_027_WaitFrameSync", this_ptr_value); + check_uint32_parameter("IVROverlay_027_WaitFrameSync", 1); + + init_thunk(t, this_ptr_value, IVROverlay_027_PollNextOverlayEvent, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_027_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_PollNextOverlayEvent(1, (void *)2, 3); + check_ptr_parameter("IVROverlay_027_PollNextOverlayEvent", this_ptr_value); + check_uint64_parameter("IVROverlay_027_PollNextOverlayEvent", 1); + check_ptr_parameter("IVROverlay_027_PollNextOverlayEvent", (void *)2); + check_uint32_parameter("IVROverlay_027_PollNextOverlayEvent", 3); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetOverlayInputMethod(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayInputMethod", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayInputMethod", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayInputMethod, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayInputMethod(1, 2); + check_ptr_parameter("IVROverlay_027_SetOverlayInputMethod", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayInputMethod", 1); + check_uint32_parameter("IVROverlay_027_SetOverlayInputMethod", 2); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayMouseScale, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayMouseScale(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayMouseScale", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayMouseScale", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayMouseScale", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_ComputeOverlayIntersection, 3, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_027_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ComputeOverlayIntersection(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_027_ComputeOverlayIntersection", this_ptr_value); + check_uint64_parameter("IVROverlay_027_ComputeOverlayIntersection", 1); + check_ptr_parameter("IVROverlay_027_ComputeOverlayIntersection", (void *)2); + check_ptr_parameter("IVROverlay_027_ComputeOverlayIntersection", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_027_IsHoverTargetOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_027_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_IsHoverTargetOverlay(1); + check_ptr_parameter("IVROverlay_027_IsHoverTargetOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_IsHoverTargetOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayIntersectionMask, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayIntersectionMask(1, (void *)2, 3, 4); + check_ptr_parameter("IVROverlay_027_SetOverlayIntersectionMask", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayIntersectionMask", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayIntersectionMask", (void *)2); + check_uint32_parameter("IVROverlay_027_SetOverlayIntersectionMask", 3); + check_uint32_parameter("IVROverlay_027_SetOverlayIntersectionMask", 4); + + init_thunk(t, this_ptr_value, IVROverlay_027_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + EVROverlayError (__stdcall *capi_IVROverlay_027_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); + check_ptr_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", this_ptr_value); + check_uint64_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 1); + check_float_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 2.0f); + check_float_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 3.0f); + check_float_parameter("IVROverlay_027_TriggerLaserMouseHapticVibration", 4.0f); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayCursor, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayCursor(1, 2); + check_ptr_parameter("IVROverlay_027_SetOverlayCursor", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayCursor", 1); + check_uint64_parameter("IVROverlay_027_SetOverlayCursor", 2); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayCursorPositionOverride(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayCursorPositionOverride", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayCursorPositionOverride", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ClearOverlayCursorPositionOverride(1); + check_ptr_parameter("IVROverlay_027_ClearOverlayCursorPositionOverride", this_ptr_value); + check_uint64_parameter("IVROverlay_027_ClearOverlayCursorPositionOverride", 1); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayTexture, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayTexture(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayTexture", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_ClearOverlayTexture, 1, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ClearOverlayTexture(1); + check_ptr_parameter("IVROverlay_027_ClearOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_027_ClearOverlayTexture", 1); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayRaw, 5, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayRaw(1, (void *)2, 3, 4, 5); + check_ptr_parameter("IVROverlay_027_SetOverlayRaw", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayRaw", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayRaw", (void *)2); + check_uint32_parameter("IVROverlay_027_SetOverlayRaw", 3); + check_uint32_parameter("IVROverlay_027_SetOverlayRaw", 4); + check_uint32_parameter("IVROverlay_027_SetOverlayRaw", 5); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetOverlayFromFile, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetOverlayFromFile(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetOverlayFromFile", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetOverlayFromFile", 1); + check_ptr_parameter("IVROverlay_027_SetOverlayFromFile", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTexture, 9, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTexture", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)3); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)4); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)5); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)6); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)7); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)8); + check_ptr_parameter("IVROverlay_027_GetOverlayTexture", (void *)9); + + init_thunk(t, this_ptr_value, IVROverlay_027_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ReleaseNativeOverlayHandle(1, (void *)2); + check_ptr_parameter("IVROverlay_027_ReleaseNativeOverlayHandle", this_ptr_value); + check_uint64_parameter("IVROverlay_027_ReleaseNativeOverlayHandle", 1); + check_ptr_parameter("IVROverlay_027_ReleaseNativeOverlayHandle", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetOverlayTextureSize, 3, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetOverlayTextureSize(1, (void *)2, (void *)3); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureSize", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetOverlayTextureSize", 1); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureSize", (void *)2); + check_ptr_parameter("IVROverlay_027_GetOverlayTextureSize", (void *)3); + + init_thunk(t, this_ptr_value, IVROverlay_027_CreateDashboardOverlay, 4, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)1); + check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)2); + check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)3); + check_ptr_parameter("IVROverlay_027_CreateDashboardOverlay", (void *)4); + + init_thunk(t, this_ptr_value, IVROverlay_027_IsDashboardVisible, 0, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_027_IsDashboardVisible)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_IsDashboardVisible(); + check_ptr_parameter("IVROverlay_027_IsDashboardVisible", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_027_IsActiveDashboardOverlay, 1, FALSE, FALSE); + bool (__stdcall *capi_IVROverlay_027_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_IsActiveDashboardOverlay(1); + check_ptr_parameter("IVROverlay_027_IsActiveDashboardOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_IsActiveDashboardOverlay", 1); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetDashboardOverlaySceneProcess(1, 2); + check_ptr_parameter("IVROverlay_027_SetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetDashboardOverlaySceneProcess", 1); + check_uint32_parameter("IVROverlay_027_SetDashboardOverlaySceneProcess", 2); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetDashboardOverlaySceneProcess(1, (void *)2); + check_ptr_parameter("IVROverlay_027_GetDashboardOverlaySceneProcess", this_ptr_value); + check_uint64_parameter("IVROverlay_027_GetDashboardOverlaySceneProcess", 1); + check_ptr_parameter("IVROverlay_027_GetDashboardOverlaySceneProcess", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_ShowDashboard, 1, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_027_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ShowDashboard((void *)1); + check_ptr_parameter("IVROverlay_027_ShowDashboard", this_ptr_value); + check_ptr_parameter("IVROverlay_027_ShowDashboard", (void *)1); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_027_GetPrimaryDashboardDevice)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetPrimaryDashboardDevice(); + check_ptr_parameter("IVROverlay_027_GetPrimaryDashboardDevice", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_027_ShowKeyboard, 7, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); + check_ptr_parameter("IVROverlay_027_ShowKeyboard", this_ptr_value); + check_uint32_parameter("IVROverlay_027_ShowKeyboard", 1); + check_uint32_parameter("IVROverlay_027_ShowKeyboard", 2); + check_uint32_parameter("IVROverlay_027_ShowKeyboard", 3); + check_ptr_parameter("IVROverlay_027_ShowKeyboard", (void *)4); + check_uint32_parameter("IVROverlay_027_ShowKeyboard", 5); + check_ptr_parameter("IVROverlay_027_ShowKeyboard", (void *)6); + check_uint64_parameter("IVROverlay_027_ShowKeyboard", 7); + + init_thunk(t, this_ptr_value, IVROverlay_027_ShowKeyboardForOverlay, 8, FALSE, FALSE); + EVROverlayError (__stdcall *capi_IVROverlay_027_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); + check_ptr_parameter("IVROverlay_027_ShowKeyboardForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_ShowKeyboardForOverlay", 1); + check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 2); + check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 3); + check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 4); + check_ptr_parameter("IVROverlay_027_ShowKeyboardForOverlay", (void *)5); + check_uint32_parameter("IVROverlay_027_ShowKeyboardForOverlay", 6); + check_ptr_parameter("IVROverlay_027_ShowKeyboardForOverlay", (void *)7); + check_uint64_parameter("IVROverlay_027_ShowKeyboardForOverlay", 8); + + init_thunk(t, this_ptr_value, IVROverlay_027_GetKeyboardText, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVROverlay_027_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_GetKeyboardText((void *)1, 2); + check_ptr_parameter("IVROverlay_027_GetKeyboardText", this_ptr_value); + check_ptr_parameter("IVROverlay_027_GetKeyboardText", (void *)1); + check_uint32_parameter("IVROverlay_027_GetKeyboardText", 2); + + init_thunk(t, this_ptr_value, IVROverlay_027_HideKeyboard, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_027_HideKeyboard)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_HideKeyboard(); + check_ptr_parameter("IVROverlay_027_HideKeyboard", this_ptr_value); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_027_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetKeyboardTransformAbsolute(1, (void *)2); + check_ptr_parameter("IVROverlay_027_SetKeyboardTransformAbsolute", this_ptr_value); + check_uint32_parameter("IVROverlay_027_SetKeyboardTransformAbsolute", 1); + check_ptr_parameter("IVROverlay_027_SetKeyboardTransformAbsolute", (void *)2); + + init_thunk(t, this_ptr_value, IVROverlay_027_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_027_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); + check_ptr_parameter("IVROverlay_027_SetKeyboardPositionForOverlay", this_ptr_value); + check_uint64_parameter("IVROverlay_027_SetKeyboardPositionForOverlay", 1); + check_HmdRect2_parameter("IVROverlay_027_SetKeyboardPositionForOverlay", DEFAULT_RECT); + + init_thunk(t, this_ptr_value, IVROverlay_027_ShowMessageOverlay, 6, FALSE, FALSE); + VRMessageOverlayResponse (__stdcall *capi_IVROverlay_027_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", this_ptr_value); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)1); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)2); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)3); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)4); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)5); + check_ptr_parameter("IVROverlay_027_ShowMessageOverlay", (void *)6); + + init_thunk(t, this_ptr_value, IVROverlay_027_CloseMessageOverlay, 0, FALSE, FALSE); + void (__stdcall *capi_IVROverlay_027_CloseMessageOverlay)() = (void *)t; + + clear_parameters(); + capi_IVROverlay_027_CloseMessageOverlay(); + check_ptr_parameter("IVROverlay_027_CloseMessageOverlay", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_018(void) +void test_capi_thunks_IVRRenderModels_001(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_001_LoadRenderModel, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_001_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVRCompositor_018_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_018_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_SetTrackingSpace", 1); + capi_IVRRenderModels_001_LoadRenderModel((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", (void *)1); + check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_018_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_001_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVRCompositor_018_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_018_GetTrackingSpace", this_ptr_value); + capi_IVRRenderModels_001_FreeRenderModel((void *)1); + check_ptr_parameter("IVRRenderModels_001_FreeRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_001_FreeRenderModel", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_001_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_018_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_018_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_018_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_018_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_018_WaitGetPoses", 4); + capi_IVRRenderModels_001_GetRenderModelName(1, (void *)2, 3); + check_ptr_parameter("IVRRenderModels_001_GetRenderModelName", this_ptr_value); + check_uint32_parameter("IVRRenderModels_001_GetRenderModelName", 1); + check_ptr_parameter("IVRRenderModels_001_GetRenderModelName", (void *)2); + check_uint32_parameter("IVRRenderModels_001_GetRenderModelName", 3); - init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_001_GetRenderModelCount)() = (void *)t; clear_parameters(); - capi_IVRCompositor_018_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_018_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_018_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_018_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_018_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_018_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_Submit", 1); - check_ptr_parameter("IVRCompositor_018_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_018_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_018_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_018_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_018_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_018_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_018_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_018_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_018_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_018_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_018_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_018_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_018_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_018_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_018_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_018_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_018_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_018_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_018_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_018_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_018_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_018_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_018_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_018_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_018_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorQuit(); - check_ptr_parameter("IVRCompositor_018_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_IsFullscreen(); - check_ptr_parameter("IVRCompositor_018_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_018_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_018_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_018_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_018_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CanRenderScene(); - check_ptr_parameter("IVRCompositor_018_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_018_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_018_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_018_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_018_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_018_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_018_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_018_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_018_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_018_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_018_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_018_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_018_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_018_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_018_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVRRenderModels_001_GetRenderModelCount(); + check_ptr_parameter("IVRRenderModels_001_GetRenderModelCount", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_013(void) +void test_capi_thunks_IVRRenderModels_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_013_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_LoadRenderModel, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_002_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; clear_parameters(); - capi_IVROverlay_013_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_013_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_013_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_013_FindOverlay", (void *)2); + capi_IVRRenderModels_002_LoadRenderModel((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", (void *)1); + check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_002_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVROverlay_013_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)3); + capi_IVRRenderModels_002_FreeRenderModel((void *)1); + check_ptr_parameter("IVRRenderModels_002_FreeRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_FreeRenderModel", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_002_LoadTexture)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_013_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_013_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_DestroyOverlay", 1); + capi_IVRRenderModels_002_LoadTexture(1, (void *)2); + check_ptr_parameter("IVRRenderModels_002_LoadTexture", this_ptr_value); + check_uint32_parameter("IVRRenderModels_002_LoadTexture", 1); + check_ptr_parameter("IVRRenderModels_002_LoadTexture", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_002_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; clear_parameters(); - capi_IVROverlay_013_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_013_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetHighQualityOverlay", 1); + capi_IVRRenderModels_002_FreeTexture((void *)1); + check_ptr_parameter("IVRRenderModels_002_FreeTexture", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_FreeTexture", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_013_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_002_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVROverlay_013_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_013_GetHighQualityOverlay", this_ptr_value); + capi_IVRRenderModels_002_GetRenderModelName(1, (void *)2, 3); + check_ptr_parameter("IVRRenderModels_002_GetRenderModelName", this_ptr_value); + check_uint32_parameter("IVRRenderModels_002_GetRenderModelName", 1); + check_ptr_parameter("IVRRenderModels_002_GetRenderModelName", (void *)2); + check_uint32_parameter("IVRRenderModels_002_GetRenderModelName", 3); - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_002_GetRenderModelCount)() = (void *)t; clear_parameters(); - capi_IVROverlay_013_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_013_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_013_GetOverlayKey", (void *)4); + capi_IVRRenderModels_002_GetRenderModelCount(); + check_ptr_parameter("IVRRenderModels_002_GetRenderModelCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentCount)(const char * pchRenderModelName) = (void *)t; clear_parameters(); - capi_IVROverlay_013_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_013_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_013_GetOverlayName", (void *)4); + capi_IVRRenderModels_002_GetComponentCount((void *)1); + check_ptr_parameter("IVRRenderModels_002_GetComponentCount", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_GetComponentCount", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; clear_parameters(); - capi_IVROverlay_013_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_013_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)5); + capi_IVRRenderModels_002_GetComponentName((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_002_GetComponentName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_GetComponentName", (void *)1); + check_uint32_parameter("IVRRenderModels_002_GetComponentName", 2); + check_ptr_parameter("IVRRenderModels_002_GetComponentName", (void *)3); + check_uint32_parameter("IVRRenderModels_002_GetComponentName", 4); - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_013_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRRenderModels_002_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVROverlay_013_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_013_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_013_GetOverlayErrorNameFromEnum", 1); + capi_IVRRenderModels_002_GetComponentButtonMask((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", (void *)1); + check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVROverlay_013_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayRenderingPid", 2); + capi_IVRRenderModels_002_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)1); + check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)2); + check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)3); + check_uint32_parameter("IVRRenderModels_002_GetComponentRenderModelName", 4); - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_002_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) = (void *)t; clear_parameters(); - capi_IVROverlay_013_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_013_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayRenderingPid", 1); + capi_IVRRenderModels_002_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRRenderModels_002_GetComponentState", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)1); + check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)2); + check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)3); + check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_002_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVROverlay_013_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_013_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_013_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_013_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_013_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayColor", 1); - check_float_parameter("IVROverlay_013_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_013_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_013_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_013_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_013_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_013_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_013_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_013_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowOverlay(1); - check_ptr_parameter("IVROverlay_013_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_HideOverlay(1); - check_ptr_parameter("IVROverlay_013_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_013_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_013_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_013_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_013_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_013_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_013_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_013_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_013_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_013_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_013_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_013_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_013_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_013_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_013_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_013_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_013_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)8); - - init_thunk(t, this_ptr_value, IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_013_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_013_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_013_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_013_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_013_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_013_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_013_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_013_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_013_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_013_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_013_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_013_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_013_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_013_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_013_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_013_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_013_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_013_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_013_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_HideKeyboard(); - check_ptr_parameter("IVROverlay_013_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_013_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_013_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_013_SetOverlayIntersectionMask", 4); + capi_IVRRenderModels_002_RenderModelHasComponent((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", this_ptr_value); + check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", (void *)1); + check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", (void *)2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_017(void) +void test_capi_thunks_IVRRenderModels_004(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadRenderModel_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_017_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_SetTrackingSpace", 1); + capi_IVRRenderModels_004_LoadRenderModel_Async((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", (void *)1); + check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_017_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_004_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_017_GetTrackingSpace", this_ptr_value); + capi_IVRRenderModels_004_FreeRenderModel((void *)1); + check_ptr_parameter("IVRRenderModels_004_FreeRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_FreeRenderModel", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_017_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_017_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_017_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_017_WaitGetPoses", 4); + capi_IVRRenderModels_004_LoadTexture_Async(1, (void *)2); + check_ptr_parameter("IVRRenderModels_004_LoadTexture_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_004_LoadTexture_Async", 1); + check_ptr_parameter("IVRRenderModels_004_LoadTexture_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_004_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_017_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_017_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_017_GetLastPoses", 4); + capi_IVRRenderModels_004_FreeTexture((void *)1); + check_ptr_parameter("IVRRenderModels_004_FreeTexture", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_FreeTexture", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRRenderModels_004_LoadTextureD3D11_Async(1, (void *)2, (void *)3); + check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", 1); + check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", (void *)2); + check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_017_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_004_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_017_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_Submit", 1); - check_ptr_parameter("IVRCompositor_017_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_017_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_017_Submit", 4); + capi_IVRRenderModels_004_FreeTextureD3D11((void *)1); + check_ptr_parameter("IVRRenderModels_004_FreeTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_FreeTextureD3D11", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_004_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_017_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRRenderModels_004_GetRenderModelName(1, (void *)2, 3); + check_ptr_parameter("IVRRenderModels_004_GetRenderModelName", this_ptr_value); + check_uint32_parameter("IVRRenderModels_004_GetRenderModelName", 1); + check_ptr_parameter("IVRRenderModels_004_GetRenderModelName", (void *)2); + check_uint32_parameter("IVRRenderModels_004_GetRenderModelName", 3); - init_thunk(t, this_ptr_value, IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_004_GetRenderModelCount)() = (void *)t; clear_parameters(); - capi_IVRCompositor_017_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_017_PostPresentHandoff", this_ptr_value); + capi_IVRRenderModels_004_GetRenderModelCount(); + check_ptr_parameter("IVRRenderModels_004_GetRenderModelCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentCount)(const char * pchRenderModelName) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetFrameTiming", 2); + capi_IVRRenderModels_004_GetComponentCount((void *)1); + check_ptr_parameter("IVRRenderModels_004_GetComponentCount", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_GetComponentCount", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_017_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetFrameTimings", 2); + capi_IVRRenderModels_004_GetComponentName((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_004_GetComponentName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_GetComponentName", (void *)1); + check_uint32_parameter("IVRRenderModels_004_GetComponentName", 2); + check_ptr_parameter("IVRRenderModels_004_GetComponentName", (void *)3); + check_uint32_parameter("IVRRenderModels_004_GetComponentName", 4); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_017_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRRenderModels_004_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_017_GetFrameTimeRemaining", this_ptr_value); + capi_IVRRenderModels_004_GetComponentButtonMask((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", (void *)1); + check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetCumulativeStats", 2); + capi_IVRRenderModels_004_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)1); + check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)2); + check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)3); + check_uint32_parameter("IVRRenderModels_004_GetComponentRenderModelName", 4); - init_thunk(t, this_ptr_value, IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_017_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_004_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_017_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_017_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_017_FadeToColor", 1); + capi_IVRRenderModels_004_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRRenderModels_004_GetComponentState", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)1); + check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)2); + check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)3); + check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)4); + check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_017_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_004_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_017_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_017_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_017_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_017_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_017_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_017_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_017_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_017_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorQuit(); - check_ptr_parameter("IVRCompositor_017_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_IsFullscreen(); - check_ptr_parameter("IVRCompositor_017_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_017_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_017_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_017_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_017_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CanRenderScene(); - check_ptr_parameter("IVRCompositor_017_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_017_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_017_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_017_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_017_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_017_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_017_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_017_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_017_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_017_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_017_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_017_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_017_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_017_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_017_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVRRenderModels_004_RenderModelHasComponent((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", this_ptr_value); + check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", (void *)1); + check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", (void *)2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_012(void) +void test_capi_thunks_IVRRenderModels_005(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadRenderModel_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", (void *)2); + capi_IVRRenderModels_005_LoadRenderModel_Async((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", (void *)1); + check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_012_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_005_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_012_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_012_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_012_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_012_GetProjectionMatrix", 4); + capi_IVRRenderModels_005_FreeRenderModel((void *)1); + check_ptr_parameter("IVRRenderModels_005_FreeRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_FreeRenderModel", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)5); + capi_IVRRenderModels_005_LoadTexture_Async(1, (void *)2); + check_ptr_parameter("IVRRenderModels_005_LoadTexture_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_005_LoadTexture_Async", 1); + check_ptr_parameter("IVRRenderModels_005_LoadTexture_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_012_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_005_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; clear_parameters(); - capi_IVRSystem_012_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_012_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_012_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_012_ComputeDistortion", 1); - check_float_parameter("IVRSystem_012_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_012_ComputeDistortion", 3.0f); + capi_IVRRenderModels_005_FreeTexture((void *)1); + check_ptr_parameter("IVRRenderModels_005_FreeTexture", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_FreeTexture", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_012_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetEyeToHeadTransform", 1); + capi_IVRRenderModels_005_LoadTextureD3D11_Async(1, (void *)2, (void *)3); + check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", 1); + check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", (void *)2); + check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", (void *)2); + capi_IVRRenderModels_005_LoadIntoTextureD3D11_Async(1, (void *)2); + check_ptr_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", 1); + check_ptr_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_012_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_005_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_012_GetD3D9AdapterIndex", this_ptr_value); + capi_IVRRenderModels_005_FreeTextureD3D11((void *)1); + check_ptr_parameter("IVRRenderModels_005_FreeTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_FreeTextureD3D11", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_012_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetDXGIOutputInfo", (void *)1); + capi_IVRRenderModels_005_GetRenderModelName(1, (void *)2, 3); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelName", this_ptr_value); + check_uint32_parameter("IVRRenderModels_005_GetRenderModelName", 1); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelName", (void *)2); + check_uint32_parameter("IVRRenderModels_005_GetRenderModelName", 3); - init_thunk(t, this_ptr_value, IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelCount)() = (void *)t; clear_parameters(); - capi_IVRSystem_012_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_012_IsDisplayOnDesktop", this_ptr_value); + capi_IVRRenderModels_005_GetRenderModelCount(); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentCount)(const char * pchRenderModelName) = (void *)t; clear_parameters(); - capi_IVRSystem_012_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_012_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_012_SetDisplayVisibility", 1); + capi_IVRRenderModels_005_GetComponentCount((void *)1); + check_ptr_parameter("IVRRenderModels_005_GetComponentCount", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetComponentCount", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVRRenderModels_005_GetComponentName((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_005_GetComponentName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetComponentName", (void *)1); + check_uint32_parameter("IVRRenderModels_005_GetComponentName", 2); + check_ptr_parameter("IVRRenderModels_005_GetComponentName", (void *)3); + check_uint32_parameter("IVRRenderModels_005_GetComponentName", 4); - init_thunk(t, this_ptr_value, IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRRenderModels_005_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRSystem_012_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_012_ResetSeatedZeroPose", this_ptr_value); + capi_IVRRenderModels_005_GetComponentButtonMask((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", (void *)1); + check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVRRenderModels_005_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)1); + check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)2); + check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)3); + check_uint32_parameter("IVRRenderModels_005_GetComponentRenderModelName", 4); - init_thunk(t, this_ptr_value, IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_005_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVRRenderModels_005_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRRenderModels_005_GetComponentState", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)1); + check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)2); + check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)3); + check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)4); + check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_005_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVRRenderModels_005_RenderModelHasComponent((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", (void *)1); + check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_012_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelThumbnailURL)(const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_012_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetTrackedDeviceActivityLevel", 1); + capi_IVRRenderModels_005_GetRenderModelThumbnailURL((void *)1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)1); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)2); + check_uint32_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", 3); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelOriginalPath)(const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) = (void *)t; clear_parameters(); - capi_IVRSystem_012_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_012_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)3); + capi_IVRRenderModels_005_GetRenderModelOriginalPath((void *)1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", this_ptr_value); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)1); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)2); + check_uint32_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", 3); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_012_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRRenderModels_005_GetRenderModelErrorNameFromEnum)(EVRRenderModelError error) = (void *)t; clear_parameters(); - capi_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_012_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_012_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_012_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_012_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_012_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_012_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_012_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_012_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_012_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_012_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_012_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_012_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_012_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_012_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_012_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_012_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_012_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_012_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerState", 1); - check_ptr_parameter("IVRSystem_012_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_012_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_012_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_012_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_012_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_012_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_012_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_012_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_012_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_012_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_012_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_012_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_012_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_012_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_012_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_012_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_012_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(1); + check_ptr_parameter("IVRRenderModels_005_GetRenderModelErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRRenderModels_005_GetRenderModelErrorNameFromEnum", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_016(void) +void test_capi_thunks_IVRRenderModels_006(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadRenderModel_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_016_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_SetTrackingSpace", 1); + capi_IVRRenderModels_006_LoadRenderModel_Async((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", (void *)1); + check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_016_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeRenderModel, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_006_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_016_GetTrackingSpace", this_ptr_value); + capi_IVRRenderModels_006_FreeRenderModel((void *)1); + check_ptr_parameter("IVRRenderModels_006_FreeRenderModel", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_FreeRenderModel", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadTexture_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_016_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_016_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_016_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_016_WaitGetPoses", 4); + capi_IVRRenderModels_006_LoadTexture_Async(1, (void *)2); + check_ptr_parameter("IVRRenderModels_006_LoadTexture_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_006_LoadTexture_Async", 1); + check_ptr_parameter("IVRRenderModels_006_LoadTexture_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeTexture, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_006_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_016_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_016_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_016_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_016_GetLastPoses", 4); + capi_IVRRenderModels_006_FreeTexture((void *)1); + check_ptr_parameter("IVRRenderModels_006_FreeTexture", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_FreeTexture", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadTextureD3D11_Async, 3, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRRenderModels_006_LoadTextureD3D11_Async(1, (void *)2, (void *)3); + check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", 1); + check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", (void *)2); + check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_016_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); + EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_016_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_Submit", 1); - check_ptr_parameter("IVRCompositor_016_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_016_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_016_Submit", 4); + capi_IVRRenderModels_006_LoadIntoTextureD3D11_Async(1, (void *)2); + check_ptr_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", this_ptr_value); + check_uint32_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", 1); + check_ptr_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeTextureD3D11, 1, FALSE, FALSE); + void (__stdcall *capi_IVRRenderModels_006_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_016_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRRenderModels_006_FreeTextureD3D11((void *)1); + check_ptr_parameter("IVRRenderModels_006_FreeTextureD3D11", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_FreeTextureD3D11", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelName, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_016_PostPresentHandoff", this_ptr_value); + capi_IVRRenderModels_006_GetRenderModelName(1, (void *)2, 3); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelName", this_ptr_value); + check_uint32_parameter("IVRRenderModels_006_GetRenderModelName", 1); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelName", (void *)2); + check_uint32_parameter("IVRRenderModels_006_GetRenderModelName", 3); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelCount, 0, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelCount)() = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_016_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_016_GetFrameTiming", 2); + capi_IVRRenderModels_006_GetRenderModelCount(); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelCount", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_016_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentCount, 1, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentCount)(const char * pchRenderModelName) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_016_GetFrameTimeRemaining", this_ptr_value); + capi_IVRRenderModels_006_GetComponentCount((void *)1); + check_ptr_parameter("IVRRenderModels_006_GetComponentCount", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetComponentCount", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_016_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_016_GetCumulativeStats", 2); + capi_IVRRenderModels_006_GetComponentName((void *)1, 2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_006_GetComponentName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetComponentName", (void *)1); + check_uint32_parameter("IVRRenderModels_006_GetComponentName", 2); + check_ptr_parameter("IVRRenderModels_006_GetComponentName", (void *)3); + check_uint32_parameter("IVRRenderModels_006_GetComponentName", 4); - init_thunk(t, this_ptr_value, IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_016_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentButtonMask, 2, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRRenderModels_006_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_016_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_016_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_016_FadeToColor", 1); + capi_IVRRenderModels_006_GetComponentButtonMask((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", (void *)1); + check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_016_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentRenderModelName, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_016_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_016_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_016_FadeGrid", 1); + capi_IVRRenderModels_006_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)1); + check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)2); + check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)3); + check_uint32_parameter("IVRRenderModels_006_GetComponentRenderModelName", 4); - init_thunk(t, this_ptr_value, IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentStateForDevicePath, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_006_GetComponentStateForDevicePath)(const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_016_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_016_SetSkyboxOverride", 2); + capi_IVRRenderModels_006_GetComponentStateForDevicePath((void *)1, (void *)2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)1); + check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)2); + check_uint64_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", 3); + check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)4); + check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentState, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_006_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_016_ClearSkyboxOverride", this_ptr_value); + capi_IVRRenderModels_006_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRRenderModels_006_GetComponentState", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)1); + check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)2); + check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)3); + check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)4); + check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_RenderModelHasComponent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRRenderModels_006_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_016_CompositorBringToFront", this_ptr_value); + capi_IVRRenderModels_006_RenderModelHasComponent((void *)1, (void *)2); + check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", (void *)1); + check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelThumbnailURL, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelThumbnailURL)(const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_016_CompositorGoToBack", this_ptr_value); + capi_IVRRenderModels_006_GetRenderModelThumbnailURL((void *)1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)1); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)2); + check_uint32_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", 3); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelOriginalPath, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelOriginalPath)(const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_CompositorQuit(); - check_ptr_parameter("IVRCompositor_016_CompositorQuit", this_ptr_value); + capi_IVRRenderModels_006_GetRenderModelOriginalPath((void *)1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", this_ptr_value); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)1); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)2); + check_uint32_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", 3); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRRenderModels_006_GetRenderModelErrorNameFromEnum)(EVRRenderModelError error) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_IsFullscreen(); - check_ptr_parameter("IVRCompositor_016_IsFullscreen", this_ptr_value); + capi_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(1); + check_ptr_parameter("IVRRenderModels_006_GetRenderModelErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRRenderModels_006_GetRenderModelErrorNameFromEnum", 1); + VirtualFree(t, 0, MEM_RELEASE); +} - init_thunk(t, this_ptr_value, IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_016_GetCurrentSceneFocusProcess)() = (void *)t; +void test_capi_thunks_IVRResources_001(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRResources_001_LoadSharedResource, 3, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRResources_001_LoadSharedResource)(const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_016_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVRResources_001_LoadSharedResource((void *)1, (void *)2, 3); + check_ptr_parameter("IVRResources_001_LoadSharedResource", this_ptr_value); + check_ptr_parameter("IVRResources_001_LoadSharedResource", (void *)1); + check_ptr_parameter("IVRResources_001_LoadSharedResource", (void *)2); + check_uint32_parameter("IVRResources_001_LoadSharedResource", 3); - init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_016_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVRResources_001_GetResourceFullPath, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRResources_001_GetResourceFullPath)(const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_016_GetLastFrameRenderer", this_ptr_value); + capi_IVRResources_001_GetResourceFullPath((void *)1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRResources_001_GetResourceFullPath", this_ptr_value); + check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)1); + check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)2); + check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)3); + check_uint32_parameter("IVRResources_001_GetResourceFullPath", 4); + VirtualFree(t, 0, MEM_RELEASE); +} - init_thunk(t, this_ptr_value, IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_CanRenderScene)() = (void *)t; +void test_capi_thunks_IVRScreenshots_001(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRScreenshots_001_RequestScreenshot, 4, FALSE, FALSE); + EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_RequestScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_CanRenderScene(); - check_ptr_parameter("IVRCompositor_016_CanRenderScene", this_ptr_value); + capi_IVRScreenshots_001_RequestScreenshot((void *)1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", this_ptr_value); + check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)1); + check_uint32_parameter("IVRScreenshots_001_RequestScreenshot", 2); + check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)3); + check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRScreenshots_001_HookScreenshot, 2, FALSE, FALSE); + EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_HookScreenshot)(EVRScreenshotType * pSupportedTypes, int numTypes) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_016_ShowMirrorWindow", this_ptr_value); + capi_IVRScreenshots_001_HookScreenshot((void *)1, 2); + check_ptr_parameter("IVRScreenshots_001_HookScreenshot", this_ptr_value); + check_ptr_parameter("IVRScreenshots_001_HookScreenshot", (void *)1); + check_uint32_parameter("IVRScreenshots_001_HookScreenshot", 2); - init_thunk(t, this_ptr_value, IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRScreenshots_001_GetScreenshotPropertyType, 2, FALSE, FALSE); + EVRScreenshotType (__stdcall *capi_IVRScreenshots_001_GetScreenshotPropertyType)(ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_016_HideMirrorWindow", this_ptr_value); + capi_IVRScreenshots_001_GetScreenshotPropertyType(1, (void *)2); + check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyType", this_ptr_value); + check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyType", 1); + check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyType", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRScreenshots_001_GetScreenshotPropertyFilename, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRScreenshots_001_GetScreenshotPropertyFilename)(ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_016_IsMirrorWindowVisible", this_ptr_value); + capi_IVRScreenshots_001_GetScreenshotPropertyFilename(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", this_ptr_value); + check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 1); + check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 2); + check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", (void *)3); + check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 4); + check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVRScreenshots_001_UpdateScreenshotProgress, 2, TRUE, FALSE); + EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_UpdateScreenshotProgress)(ScreenshotHandle_t screenshotHandle, float flProgress) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_016_CompositorDumpImages", this_ptr_value); + capi_IVRScreenshots_001_UpdateScreenshotProgress(1, 2.0f); + check_ptr_parameter("IVRScreenshots_001_UpdateScreenshotProgress", this_ptr_value); + check_uint32_parameter("IVRScreenshots_001_UpdateScreenshotProgress", 1); + check_float_parameter("IVRScreenshots_001_UpdateScreenshotProgress", 2.0f); - init_thunk(t, this_ptr_value, IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVRScreenshots_001_TakeStereoScreenshot, 3, FALSE, FALSE); + EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_TakeStereoScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_016_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVRScreenshots_001_TakeStereoScreenshot((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", this_ptr_value); + check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)1); + check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)2); + check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + init_thunk(t, this_ptr_value, IVRScreenshots_001_SubmitScreenshot, 4, FALSE, FALSE); + EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_SubmitScreenshot)(ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) = (void *)t; clear_parameters(); - capi_IVRCompositor_016_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_016_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_016_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_016_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_016_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_016_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_016_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_016_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_016_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_016_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVRScreenshots_001_SubmitScreenshot(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", this_ptr_value); + check_uint32_parameter("IVRScreenshots_001_SubmitScreenshot", 1); + check_uint32_parameter("IVRScreenshots_001_SubmitScreenshot", 2); + check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", (void *)3); + check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", (void *)4); VirtualFree(t, 0, MEM_RELEASE); } @@ -22029,2364 +26450,2491 @@ void test_capi_thunks_IVRSettings_001(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRApplications_005(void) +void test_capi_thunks_IVRSettings_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRApplications_005_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSettings_002_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_005_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_005_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_005_AddApplicationManifest", 1); + capi_IVRSettings_002_GetSettingsErrorNameFromEnum(1); + check_ptr_parameter("IVRSettings_002_GetSettingsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSettings_002_GetSettingsErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_Sync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSettings_002_Sync)(bool bForce, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_005_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_005_RemoveApplicationManifest", (void *)1); + capi_IVRSettings_002_Sync(1, (void *)2); + check_ptr_parameter("IVRSettings_002_Sync", this_ptr_value); + check_bool_parameter("IVRSettings_002_Sync", 1); + check_ptr_parameter("IVRSettings_002_Sync", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_SetBool, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_002_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_005_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_005_IsApplicationInstalled", (void *)1); + capi_IVRSettings_002_SetBool((void *)1, (void *)2, 1, (void *)4); + check_ptr_parameter("IVRSettings_002_SetBool", this_ptr_value); + check_ptr_parameter("IVRSettings_002_SetBool", (void *)1); + check_ptr_parameter("IVRSettings_002_SetBool", (void *)2); + check_bool_parameter("IVRSettings_002_SetBool", 1); + check_ptr_parameter("IVRSettings_002_SetBool", (void *)4); - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_SetInt32, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_002_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_GetApplicationCount(); - check_ptr_parameter("IVRApplications_005_GetApplicationCount", this_ptr_value); + capi_IVRSettings_002_SetInt32((void *)1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSettings_002_SetInt32", this_ptr_value); + check_ptr_parameter("IVRSettings_002_SetInt32", (void *)1); + check_ptr_parameter("IVRSettings_002_SetInt32", (void *)2); + check_uint32_parameter("IVRSettings_002_SetInt32", 3); + check_ptr_parameter("IVRSettings_002_SetInt32", (void *)4); - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_SetFloat, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSettings_002_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByIndex", 3); + capi_IVRSettings_002_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); + check_ptr_parameter("IVRSettings_002_SetFloat", this_ptr_value); + check_ptr_parameter("IVRSettings_002_SetFloat", (void *)1); + check_ptr_parameter("IVRSettings_002_SetFloat", (void *)2); + check_float_parameter("IVRSettings_002_SetFloat", 3.0f); + check_ptr_parameter("IVRSettings_002_SetFloat", (void *)4); - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_SetString, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_002_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByProcessId", 3); + capi_IVRSettings_002_SetString((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRSettings_002_SetString", this_ptr_value); + check_ptr_parameter("IVRSettings_002_SetString", (void *)1); + check_ptr_parameter("IVRSettings_002_SetString", (void *)2); + check_ptr_parameter("IVRSettings_002_SetString", (void *)3); + check_ptr_parameter("IVRSettings_002_SetString", (void *)4); - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchApplication)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_GetBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSettings_002_GetBool)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_005_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchApplication", (void *)1); + capi_IVRSettings_002_GetBool((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_002_GetBool", this_ptr_value); + check_ptr_parameter("IVRSettings_002_GetBool", (void *)1); + check_ptr_parameter("IVRSettings_002_GetBool", (void *)2); + check_ptr_parameter("IVRSettings_002_GetBool", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_GetInt32, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSettings_002_GetInt32)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)1); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)2); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)3); - check_uint32_parameter("IVRApplications_005_LaunchTemplateApplication", 4); + capi_IVRSettings_002_GetInt32((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_002_GetInt32", this_ptr_value); + check_ptr_parameter("IVRSettings_002_GetInt32", (void *)1); + check_ptr_parameter("IVRSettings_002_GetInt32", (void *)2); + check_ptr_parameter("IVRSettings_002_GetInt32", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_GetFloat, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSettings_002_GetFloat)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_005_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchDashboardOverlay", (void *)1); + capi_IVRSettings_002_GetFloat((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_002_GetFloat", this_ptr_value); + check_ptr_parameter("IVRSettings_002_GetFloat", (void *)1); + check_ptr_parameter("IVRSettings_002_GetFloat", (void *)2); + check_ptr_parameter("IVRSettings_002_GetFloat", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_GetString, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_002_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_005_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_005_CancelApplicationLaunch", (void *)1); + capi_IVRSettings_002_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSettings_002_GetString", this_ptr_value); + check_ptr_parameter("IVRSettings_002_GetString", (void *)1); + check_ptr_parameter("IVRSettings_002_GetString", (void *)2); + check_ptr_parameter("IVRSettings_002_GetString", (void *)3); + check_uint32_parameter("IVRSettings_002_GetString", 4); + check_ptr_parameter("IVRSettings_002_GetString", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_RemoveSection, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_002_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_005_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_005_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_005_IdentifyApplication", (void *)2); + capi_IVRSettings_002_RemoveSection((void *)1, (void *)2); + check_ptr_parameter("IVRSettings_002_RemoveSection", this_ptr_value); + check_ptr_parameter("IVRSettings_002_RemoveSection", (void *)1); + check_ptr_parameter("IVRSettings_002_RemoveSection", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_002_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRApplications_005_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_005_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_005_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_005_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_005_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_005_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_005_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_005_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_005_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_005_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_005_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_005_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetTransitionState(); - check_ptr_parameter("IVRApplications_005_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_005_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_005_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_005_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_005_IsQuitUserPromptRequested", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)3); + capi_IVRSettings_002_RemoveKeyInSection((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", this_ptr_value); + check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)1); + check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)2); + check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)3); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_015(void) +void test_capi_thunks_IVRSettings_003(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSettings_003_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_015_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_SetTrackingSpace", 1); + capi_IVRSettings_003_GetSettingsErrorNameFromEnum(1); + check_ptr_parameter("IVRSettings_003_GetSettingsErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSettings_003_GetSettingsErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_015_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_SetBool, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_003_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_015_GetTrackingSpace", this_ptr_value); + capi_IVRSettings_003_SetBool((void *)1, (void *)2, 1, (void *)4); + check_ptr_parameter("IVRSettings_003_SetBool", this_ptr_value); + check_ptr_parameter("IVRSettings_003_SetBool", (void *)1); + check_ptr_parameter("IVRSettings_003_SetBool", (void *)2); + check_bool_parameter("IVRSettings_003_SetBool", 1); + check_ptr_parameter("IVRSettings_003_SetBool", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_SetInt32, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_003_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_015_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_015_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_015_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_015_WaitGetPoses", 4); + capi_IVRSettings_003_SetInt32((void *)1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSettings_003_SetInt32", this_ptr_value); + check_ptr_parameter("IVRSettings_003_SetInt32", (void *)1); + check_ptr_parameter("IVRSettings_003_SetInt32", (void *)2); + check_uint32_parameter("IVRSettings_003_SetInt32", 3); + check_ptr_parameter("IVRSettings_003_SetInt32", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_SetFloat, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSettings_003_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_015_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_015_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_015_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_015_GetLastPoses", 4); + capi_IVRSettings_003_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); + check_ptr_parameter("IVRSettings_003_SetFloat", this_ptr_value); + check_ptr_parameter("IVRSettings_003_SetFloat", (void *)1); + check_ptr_parameter("IVRSettings_003_SetFloat", (void *)2); + check_float_parameter("IVRSettings_003_SetFloat", 3.0f); + check_ptr_parameter("IVRSettings_003_SetFloat", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_SetString, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_003_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRSettings_003_SetString((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRSettings_003_SetString", this_ptr_value); + check_ptr_parameter("IVRSettings_003_SetString", (void *)1); + check_ptr_parameter("IVRSettings_003_SetString", (void *)2); + check_ptr_parameter("IVRSettings_003_SetString", (void *)3); + check_ptr_parameter("IVRSettings_003_SetString", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_015_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_GetBool, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSettings_003_GetBool)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_015_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_Submit", 1); - check_ptr_parameter("IVRCompositor_015_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_015_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_015_Submit", 4); + capi_IVRSettings_003_GetBool((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_003_GetBool", this_ptr_value); + check_ptr_parameter("IVRSettings_003_GetBool", (void *)1); + check_ptr_parameter("IVRSettings_003_GetBool", (void *)2); + check_ptr_parameter("IVRSettings_003_GetBool", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_GetInt32, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSettings_003_GetInt32)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_015_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRSettings_003_GetInt32((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_003_GetInt32", this_ptr_value); + check_ptr_parameter("IVRSettings_003_GetInt32", (void *)1); + check_ptr_parameter("IVRSettings_003_GetInt32", (void *)2); + check_ptr_parameter("IVRSettings_003_GetInt32", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_GetFloat, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSettings_003_GetFloat)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_015_PostPresentHandoff", this_ptr_value); + capi_IVRSettings_003_GetFloat((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_003_GetFloat", this_ptr_value); + check_ptr_parameter("IVRSettings_003_GetFloat", (void *)1); + check_ptr_parameter("IVRSettings_003_GetFloat", (void *)2); + check_ptr_parameter("IVRSettings_003_GetFloat", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_GetString, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_003_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_015_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_015_GetFrameTiming", 2); + capi_IVRSettings_003_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSettings_003_GetString", this_ptr_value); + check_ptr_parameter("IVRSettings_003_GetString", (void *)1); + check_ptr_parameter("IVRSettings_003_GetString", (void *)2); + check_ptr_parameter("IVRSettings_003_GetString", (void *)3); + check_uint32_parameter("IVRSettings_003_GetString", 4); + check_ptr_parameter("IVRSettings_003_GetString", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_015_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_RemoveSection, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_003_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_015_GetFrameTimeRemaining", this_ptr_value); + capi_IVRSettings_003_RemoveSection((void *)1, (void *)2); + check_ptr_parameter("IVRSettings_003_RemoveSection", this_ptr_value); + check_ptr_parameter("IVRSettings_003_RemoveSection", (void *)1); + check_ptr_parameter("IVRSettings_003_RemoveSection", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; + init_thunk(t, this_ptr_value, IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSettings_003_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; clear_parameters(); - capi_IVRCompositor_015_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_015_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_015_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_015_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_015_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_015_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_015_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_015_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_015_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_015_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_015_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_015_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_015_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_015_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_015_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_015_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorQuit(); - check_ptr_parameter("IVRCompositor_015_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_IsFullscreen(); - check_ptr_parameter("IVRCompositor_015_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_015_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_015_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_015_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_015_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CanRenderScene(); - check_ptr_parameter("IVRCompositor_015_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_015_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_015_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_015_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_015_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_015_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_015_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_015_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_015_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_015_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_015_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_RequestScreenshot)(EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_RequestScreenshot(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_RequestScreenshot", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_RequestScreenshot", 1); - check_ptr_parameter("IVRCompositor_015_RequestScreenshot", (void *)2); - check_ptr_parameter("IVRCompositor_015_RequestScreenshot", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); - EVRScreenshotType (__stdcall *capi_IVRCompositor_015_GetCurrentScreenshotType)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetCurrentScreenshotType(); - check_ptr_parameter("IVRCompositor_015_GetCurrentScreenshotType", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_015_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_015_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_015_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_015_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_UnlockGLSharedTextureForAccess", (void *)1); + capi_IVRSettings_003_RemoveKeyInSection((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", this_ptr_value); + check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)1); + check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)2); + check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)3); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_012(void) +void test_capi_thunks_IVRSystem_003(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_012_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_012_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_012_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_012_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_012_FindOverlay", (void *)2); + capi_IVRSystem_003_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_003_GetWindowBounds", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)1); + check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)2); + check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)3); + check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_012_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)3); + capi_IVRSystem_003_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_012_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_012_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_DestroyOverlay", 1); + capi_IVRSystem_003_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetEyeOutputViewport", 1); + check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)2); + check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)3); + check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)4); + check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_003_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_012_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetHighQualityOverlay", 1); + capi_IVRSystem_003_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_003_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_003_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_003_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_003_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_003_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_012_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_012_GetHighQualityOverlay", this_ptr_value); + capi_IVRSystem_003_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_003_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_003_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_012_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_012_GetOverlayKey", (void *)4); + capi_IVRSystem_003_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_003_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_003_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_003_ComputeDistortion", 1); + check_float_parameter("IVRSystem_003_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_003_ComputeDistortion", 3.0f); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_012_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_012_GetOverlayName", (void *)4); + capi_IVRSystem_003_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_003_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_003_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_012_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)5); + capi_IVRSystem_003_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_012_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_003_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_012_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_012_GetOverlayErrorNameFromEnum", 1); + capi_IVRSystem_003_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_003_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_012_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayRenderingPid", 2); + capi_IVRSystem_003_GetDXGIOutputInfo((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", (void *)1); + check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_AttachToWindow)(void * hWnd) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_012_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayRenderingPid", 1); + capi_IVRSystem_003_AttachToWindow((void *)1); + check_ptr_parameter("IVRSystem_003_AttachToWindow", this_ptr_value); + check_ptr_parameter("IVRSystem_003_AttachToWindow", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_003_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_012_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_012_SetOverlayFlag", 1); + capi_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_012_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_012_GetOverlayFlag", (void *)3); + capi_IVRSystem_003_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_003_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayColor", 1); - check_float_parameter("IVROverlay_012_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_012_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_012_SetOverlayColor", 4.0f); + capi_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)4); + capi_IVRSystem_003_LoadRenderModel((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_003_LoadRenderModel", this_ptr_value); + check_ptr_parameter("IVRSystem_003_LoadRenderModel", (void *)1); + check_ptr_parameter("IVRSystem_003_LoadRenderModel", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_012_SetOverlayAlpha", 2.0f); + capi_IVRSystem_003_FreeRenderModel((void *)1); + check_ptr_parameter("IVRSystem_003_FreeRenderModel", this_ptr_value); + check_ptr_parameter("IVRSystem_003_FreeRenderModel", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); + TrackedDeviceClass (__stdcall *capi_IVRSystem_003_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayAlpha", (void *)2); + capi_IVRSystem_003_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_003_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_012_SetOverlayWidthInMeters", 2.0f); + capi_IVRSystem_003_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_003_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_003_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayWidthInMeters", (void *)2); + capi_IVRSystem_003_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_003_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVRSystem_003_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_003_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVRSystem_003_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_003_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTextureColorSpace", 2); + capi_IVRSystem_003_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureColorSpace", (void *)2); + capi_IVRSystem_003_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_003_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayTextureBounds", (void *)2); + capi_IVRSystem_003_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_003_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureBounds", (void *)2); + capi_IVRSystem_003_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_003_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_PollNextEvent)(VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformType", (void *)2); + capi_IVRSystem_003_PollNextEvent((void *)1); + check_ptr_parameter("IVRSystem_003_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_003_PollNextEvent", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_003_PollNextEventWithPose(1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_003_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", (void *)2); + check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_003_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_003_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_003_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetEventTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_003_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_003_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_003_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_003_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_003_GetHiddenAreaMesh", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_003_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_003_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetControllerState", 1); + check_ptr_parameter("IVRSystem_003_GetControllerState", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVRSystem_003_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_003_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVRSystem_003_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_003_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 3); - init_thunk(t, this_ptr_value, IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_003_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; clear_parameters(); - capi_IVROverlay_012_ShowOverlay(1); - check_ptr_parameter("IVROverlay_012_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ShowOverlay", 1); + capi_IVRSystem_003_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_003_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetButtonIdNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_003_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; clear_parameters(); - capi_IVROverlay_012_HideOverlay(1); - check_ptr_parameter("IVROverlay_012_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_HideOverlay", 1); + capi_IVRSystem_003_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_003_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_003_GetControllerAxisTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_HandleControllerOverlayInteractionAsMouse)(Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) = (void *)t; clear_parameters(); - capi_IVROverlay_012_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_012_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_012_IsOverlayVisible", 1); + capi_IVRSystem_003_HandleControllerOverlayInteractionAsMouse((void *)1, DEFAULT_VECTOR2, DEFAULT_VECTOR2, 4, 5); + check_ptr_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", this_ptr_value); + check_ptr_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", (void *)1); + check_HmdVector2_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", DEFAULT_VECTOR2); + check_HmdVector2_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", DEFAULT_VECTOR2); + check_uint32_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", 4); + check_uint32_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", 5); - init_thunk(t, this_ptr_value, IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_CaptureInputFocus)() = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRSystem_003_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_003_CaptureInputFocus", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_003_ReleaseInputFocus)() = (void *)t; clear_parameters(); - capi_IVROverlay_012_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_012_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_012_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_012_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_012_PollNextOverlayEvent", 3); + capi_IVRSystem_003_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_003_ReleaseInputFocus", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_003_IsInputFocusCapturedByAnotherProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_012_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_012_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_012_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_012_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_012_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_012_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_012_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_012_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_012_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_012_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_012_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_012_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)8); - - init_thunk(t, this_ptr_value, IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_012_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_012_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_012_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_012_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_012_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_012_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_012_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_012_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_012_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_012_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_012_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_012_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_012_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_012_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_012_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_012_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_012_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_012_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_012_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_HideKeyboard(); - check_ptr_parameter("IVROverlay_012_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_003_IsInputFocusCapturedByAnotherProcess", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRTrackedCamera_002(void) +void test_capi_thunks_IVRSystem_004(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_002_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraErrorNameFromEnum", 1); + capi_IVRSystem_004_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_004_GetWindowBounds", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)1); + check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)2); + check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)3); + check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_002_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_002_HasCamera", (void *)2); + capi_IVRSystem_004_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)5); + capi_IVRSystem_004_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetEyeOutputViewport", 1); + check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)2); + check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)3); + check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)4); + check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)5); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraIntrinisics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_004_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraIntrinisics(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", 2); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", (void *)3); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", (void *)4); + capi_IVRSystem_004_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_004_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_004_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_004_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_004_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_004_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraProjection", 2); - check_float_parameter("IVRTrackedCamera_002_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_002_GetCameraProjection", 4.0f); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraProjection", (void *)5); + capi_IVRSystem_004_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_004_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_004_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", (void *)2); + capi_IVRSystem_004_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_004_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_004_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_004_ComputeDistortion", 1); + check_float_parameter("IVRSystem_004_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_004_ComputeDistortion", 3.0f); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_002_ReleaseVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_ReleaseVideoStreamingService", 1); + capi_IVRSystem_004_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_004_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_004_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 6); + capi_IVRSystem_004_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_004_GetD3D9AdapterIndex)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_004_GetD3D9AdapterIndex", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetDXGIOutputInfo((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", (void *)1); + check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_AttachToWindow)(void * hWnd) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_AttachToWindow((void *)1); + check_ptr_parameter("IVRSystem_004_AttachToWindow", this_ptr_value); + check_ptr_parameter("IVRSystem_004_AttachToWindow", (void *)1); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_004_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 4); + + init_thunk(t, this_ptr_value, IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_ResetSeatedZeroPose)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_004_ResetSeatedZeroPose", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); + TrackedDeviceClass (__stdcall *capi_IVRSystem_004_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_004_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetTrackedDeviceClass", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_004_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_004_IsTrackedDeviceConnected", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_004_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_004_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_004_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_004_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_004_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_004_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_PollNextEvent)(VREvent_t * pEvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_PollNextEvent((void *)1); + check_ptr_parameter("IVRSystem_004_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_004_PollNextEvent", (void *)1); + + init_thunk(t, this_ptr_value, IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_PollNextEventWithPose(1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_004_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", (void *)2); + check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_004_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_004_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_004_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_004_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_004_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_004_GetHiddenAreaMesh", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_004_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetControllerState", 1); + check_ptr_parameter("IVRSystem_004_GetControllerState", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_004_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_004_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_004_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_004_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_004_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_004_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_004_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_004_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_004_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_004_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_004_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_004_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_004_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_004_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_004_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_004_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_004_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_004_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_004_DriverDebugRequest", 4); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_014(void) +void test_capi_thunks_IVRSystem_005(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_014_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_014_SetTrackingSpace", 1); + capi_IVRSystem_005_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_005_GetWindowBounds", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)1); + check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)2); + check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)3); + check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_014_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_014_GetTrackingSpace", this_ptr_value); + capi_IVRSystem_005_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_014_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_014_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_014_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_014_WaitGetPoses", 4); + capi_IVRSystem_005_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetEyeOutputViewport", 1); + check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)2); + check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)3); + check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)4); + check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_005_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_014_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_014_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_014_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_014_GetLastPoses", 4); + capi_IVRSystem_005_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_005_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_005_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_005_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_005_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_005_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRSystem_005_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_005_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_014_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_005_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_014_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_014_Submit", 1); - check_ptr_parameter("IVRCompositor_014_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_014_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_014_Submit", 4); + capi_IVRSystem_005_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_005_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_005_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_005_ComputeDistortion", 1); + check_float_parameter("IVRSystem_005_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_005_ComputeDistortion", 3.0f); - init_thunk(t, this_ptr_value, IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_014_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRSystem_005_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_005_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_005_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_014_PostPresentHandoff", this_ptr_value); + capi_IVRSystem_005_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_005_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_014_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_014_GetFrameTiming", 2); + capi_IVRSystem_005_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_005_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_014_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_014_GetFrameTimeRemaining", this_ptr_value); + capi_IVRSystem_005_GetDXGIOutputInfo((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", (void *)1); + check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_014_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_AttachToWindow)(void * hWnd) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_014_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_014_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_014_FadeToColor", 1); + capi_IVRSystem_005_AttachToWindow((void *)1); + check_ptr_parameter("IVRSystem_005_AttachToWindow", this_ptr_value); + check_ptr_parameter("IVRSystem_005_AttachToWindow", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_014_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_005_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_014_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_014_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_014_FadeGrid", 1); + capi_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRCompositor_014_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_014_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_014_SetSkyboxOverride", 2); + capi_IVRSystem_005_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_005_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_014_ClearSkyboxOverride", this_ptr_value); + capi_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass)(TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_014_CompositorBringToFront", this_ptr_value); + capi_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); + TrackedDeviceClass (__stdcall *capi_IVRSystem_005_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_014_CompositorGoToBack", this_ptr_value); + capi_IVRSystem_005_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_005_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_CompositorQuit(); - check_ptr_parameter("IVRCompositor_014_CompositorQuit", this_ptr_value); + capi_IVRSystem_005_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_005_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_005_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_IsFullscreen(); - check_ptr_parameter("IVRCompositor_014_IsFullscreen", this_ptr_value); + capi_IVRSystem_005_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_014_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_005_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_014_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVRSystem_005_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_014_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_005_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_014_GetLastFrameRenderer", this_ptr_value); + capi_IVRSystem_005_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_005_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_CanRenderScene(); - check_ptr_parameter("IVRCompositor_014_CanRenderScene", this_ptr_value); + capi_IVRSystem_005_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_014_ShowMirrorWindow", this_ptr_value); + capi_IVRSystem_005_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_005_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_014_HideMirrorWindow", this_ptr_value); + capi_IVRSystem_005_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_005_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_014_IsMirrorWindowVisible", this_ptr_value); + capi_IVRSystem_005_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_005_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_PollNextEvent)(VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_014_CompositorDumpImages", this_ptr_value); + capi_IVRSystem_005_PollNextEvent((void *)1); + check_ptr_parameter("IVRSystem_005_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_005_PollNextEvent", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_014_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVRSystem_005_PollNextEventWithPose(1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_005_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", (void *)2); + check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_005_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_014_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_014_ForceInterleavedReprojectionOn", 1); + capi_IVRSystem_005_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_005_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetEventTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ForceReconnectProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_005_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_014_ForceReconnectProcess", this_ptr_value); + capi_IVRSystem_005_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_005_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_005_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_005_GetHiddenAreaMesh", 1); - init_thunk(t, this_ptr_value, IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_SuspendRendering)(bool bSuspend) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; clear_parameters(); - capi_IVRCompositor_014_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_014_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_014_SuspendRendering", 1); + capi_IVRSystem_005_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_005_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetControllerState", 1); + check_ptr_parameter("IVRSystem_005_GetControllerState", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_005_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_005_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_005_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_005_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_005_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_005_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_005_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_005_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_005_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_005_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_005_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_005_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_005_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_005_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_005_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_005_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_005_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_005_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_005_DriverDebugRequest", 4); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_011(void) +void test_capi_thunks_IVRSystem_006(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_011_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_011_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_011_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_011_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_011_FindOverlay", (void *)2); + capi_IVRSystem_006_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_006_GetWindowBounds", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)1); + check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)2); + check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)3); + check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_011_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)3); + capi_IVRSystem_006_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_011_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_011_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_DestroyOverlay", 1); + capi_IVRSystem_006_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetEyeOutputViewport", 1); + check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)2); + check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)3); + check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)4); + check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_006_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_011_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetHighQualityOverlay", 1); + capi_IVRSystem_006_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_006_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_006_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_006_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_006_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_006_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_011_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_011_GetHighQualityOverlay", this_ptr_value); + capi_IVRSystem_006_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_006_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_006_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_011_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_011_GetOverlayKey", (void *)4); + capi_IVRSystem_006_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_006_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_006_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_006_ComputeDistortion", 1); + check_float_parameter("IVRSystem_006_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_006_ComputeDistortion", 3.0f); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_011_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_011_GetOverlayName", (void *)4); + capi_IVRSystem_006_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_006_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_006_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_011_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)5); + capi_IVRSystem_006_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_011_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_006_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_011_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_011_GetOverlayErrorNameFromEnum", 1); + capi_IVRSystem_006_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_006_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_011_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayRenderingPid", 2); + capi_IVRSystem_006_GetDXGIOutputInfo((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", (void *)1); + check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_AttachToWindow)(void * hWnd) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_011_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayRenderingPid", 1); + capi_IVRSystem_006_AttachToWindow((void *)1); + check_ptr_parameter("IVRSystem_006_AttachToWindow", this_ptr_value); + check_ptr_parameter("IVRSystem_006_AttachToWindow", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_006_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_011_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_011_SetOverlayFlag", 1); + capi_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_011_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_011_GetOverlayFlag", (void *)3); + capi_IVRSystem_006_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_006_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayColor", 1); - check_float_parameter("IVROverlay_011_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_011_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_011_SetOverlayColor", 4.0f); + capi_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)4); + capi_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass)(TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_011_SetOverlayAlpha", 2.0f); + capi_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_006_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayAlpha", (void *)2); + capi_IVRSystem_006_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_006_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); + TrackedDeviceClass (__stdcall *capi_IVRSystem_006_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_011_SetOverlayWidthInMeters", 2.0f); + capi_IVRSystem_006_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_006_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayWidthInMeters", (void *)2); + capi_IVRSystem_006_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_006_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_006_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVRSystem_006_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_006_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVRSystem_006_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_006_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTextureColorSpace", 2); + capi_IVRSystem_006_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_006_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureColorSpace", (void *)2); + capi_IVRSystem_006_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayTextureBounds", (void *)2); + capi_IVRSystem_006_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_006_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureBounds", (void *)2); + capi_IVRSystem_006_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_006_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformType", (void *)2); + capi_IVRSystem_006_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_006_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_PollNextEvent)(VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_006_PollNextEvent((void *)1); + check_ptr_parameter("IVRSystem_006_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_006_PollNextEvent", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_006_PollNextEventWithPose(1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_006_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", (void *)2); + check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_006_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_006_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_006_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetEventTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_006_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_006_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_006_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_006_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_006_GetHiddenAreaMesh", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVRSystem_006_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_006_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetControllerState", 1); + check_ptr_parameter("IVRSystem_006_GetControllerState", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVRSystem_006_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_006_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; clear_parameters(); - capi_IVROverlay_011_ShowOverlay(1); - check_ptr_parameter("IVROverlay_011_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ShowOverlay", 1); + capi_IVRSystem_006_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_006_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 3); - init_thunk(t, this_ptr_value, IVROverlay_011_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_006_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; clear_parameters(); - capi_IVROverlay_011_HideOverlay(1); - check_ptr_parameter("IVROverlay_011_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_HideOverlay", 1); + capi_IVRSystem_006_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_006_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetButtonIdNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_006_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; clear_parameters(); - capi_IVROverlay_011_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_011_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_011_IsOverlayVisible", 1); + capi_IVRSystem_006_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_006_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_006_GetControllerAxisTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_CaptureInputFocus)() = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRSystem_006_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_006_CaptureInputFocus", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_006_ReleaseInputFocus)() = (void *)t; clear_parameters(); - capi_IVROverlay_011_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_011_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_011_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_011_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_011_PollNextOverlayEvent", 3); + capi_IVRSystem_006_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_006_ReleaseInputFocus", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_IsInputFocusCapturedByAnotherProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayInputMethod", (void *)2); + capi_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_006_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_006_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_011_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayInputMethod", 2); + capi_IVRSystem_006_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_006_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_006_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_006_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_006_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_006_DriverDebugRequest", 4); - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); + VRFirmwareError (__stdcall *capi_IVRSystem_006_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_011_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayMouseScale", (void *)2); + capi_IVRSystem_006_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_006_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_006_PerformFirmwareUpdate", 1); - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVROverlay_011_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayMouseScale", (void *)2); + capi_IVRSystem_006_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_006_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_006_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVROverlay_011_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_011_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_011_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_011_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_011_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_011_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_011_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_011_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_011_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_011_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_011_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)8); - - init_thunk(t, this_ptr_value, IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_011_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_011_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_011_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_011_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_011_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_011_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_011_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_011_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_011_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_011_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_011_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_011_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_011_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_011_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_011_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_011_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_011_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_011_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_011_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_HideKeyboard(); - check_ptr_parameter("IVROverlay_011_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVRSystem_006_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_006_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_006_SetDisplayVisibility", 1); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_013(void) +void test_capi_thunks_IVRSystem_009(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_013_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_013_SetTrackingSpace", 1); + capi_IVRSystem_009_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_013_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_009_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_013_GetTrackingSpace", this_ptr_value); + capi_IVRSystem_009_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_009_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_009_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_009_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_009_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_009_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_013_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_013_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_013_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_013_WaitGetPoses", 4); + capi_IVRSystem_009_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_009_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_009_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_013_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_013_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_013_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_013_GetLastPoses", 4); + capi_IVRSystem_009_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_009_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_009_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_009_ComputeDistortion", 1); + check_float_parameter("IVRSystem_009_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_009_ComputeDistortion", 3.0f); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRSystem_009_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_009_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_009_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRCompositor_013_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_013_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_013_Submit", 1); - check_ptr_parameter("IVRCompositor_013_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_013_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_013_Submit", 4); + capi_IVRSystem_009_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_009_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRCompositor_013_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_013_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRSystem_009_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_009_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_013_PostPresentHandoff", this_ptr_value); + capi_IVRSystem_009_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_009_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_013_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_013_GetFrameTiming", 2); + capi_IVRSystem_009_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_009_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_013_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_013_GetFrameTimeRemaining", this_ptr_value); + capi_IVRSystem_009_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_009_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_009_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_013_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_009_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_013_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_013_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_013_FadeToColor", 1); + capi_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_013_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRCompositor_013_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_013_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_013_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_013_FadeGrid", 1); + capi_IVRSystem_009_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_009_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_013_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_013_SetSkyboxOverride", 2); + capi_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_013_ClearSkyboxOverride", this_ptr_value); + capi_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_013_CompositorBringToFront", this_ptr_value); + capi_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_009_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_013_CompositorGoToBack", this_ptr_value); + capi_IVRSystem_009_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_009_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_CompositorQuit(); - check_ptr_parameter("IVRCompositor_013_CompositorQuit", this_ptr_value); + capi_IVRSystem_009_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_009_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_009_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_IsFullscreen(); - check_ptr_parameter("IVRCompositor_013_IsFullscreen", this_ptr_value); + capi_IVRSystem_009_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_009_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_013_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_013_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVRSystem_009_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_009_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_009_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_013_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_013_GetLastFrameRenderer", this_ptr_value); + capi_IVRSystem_009_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_009_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_CanRenderScene(); - check_ptr_parameter("IVRCompositor_013_CanRenderScene", this_ptr_value); + capi_IVRSystem_009_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_009_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_013_ShowMirrorWindow", this_ptr_value); + capi_IVRSystem_009_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_009_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_013_HideMirrorWindow", this_ptr_value); + capi_IVRSystem_009_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_013_IsMirrorWindowVisible", this_ptr_value); + capi_IVRSystem_009_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_009_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_013_CompositorDumpImages", this_ptr_value); + capi_IVRSystem_009_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_009_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_013_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVRSystem_009_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_009_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_PollNextEvent)(VREvent_t * pEvent) = (void *)t; clear_parameters(); - capi_IVRCompositor_013_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_013_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_013_ForceInterleavedReprojectionOn", 1); + capi_IVRSystem_009_PollNextEvent((void *)1); + check_ptr_parameter("IVRSystem_009_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_009_PollNextEvent", (void *)1); + + init_thunk(t, this_ptr_value, IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_PollNextEventWithPose(1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_009_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", (void *)2); + check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_009_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_009_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_009_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_009_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_009_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_009_GetHiddenAreaMesh", 1); + + init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_009_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetControllerState", 1); + check_ptr_parameter("IVRSystem_009_GetControllerState", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_009_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_009_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_009_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_009_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_009_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_009_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_009_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_009_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_009_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_009_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_009_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_009_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_009_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_009_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_009_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_009_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_009_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_009_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_009_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_009_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_009_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_009_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_009_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_009_AcknowledgeQuit_UserPrompt", this_ptr_value); + VirtualFree(t, 0, MEM_RELEASE); +} + +void test_capi_thunks_IVRSystem_010(void) +{ + struct thunk *t = alloc_thunks(1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_010_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_010_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_010_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_010_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_010_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_010_GetProjectionMatrix", 4); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_010_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_010_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_010_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_010_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_010_ComputeDistortion", 1); + check_float_parameter("IVRSystem_010_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_010_ComputeDistortion", 3.0f); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_010_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_010_GetEyeToHeadTransform", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_010_GetD3D9AdapterIndex)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_010_GetD3D9AdapterIndex", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_010_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetDXGIOutputInfo", (void *)1); + + init_thunk(t, this_ptr_value, IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_IsDisplayOnDesktop)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_010_IsDisplayOnDesktop", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_010_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_010_SetDisplayVisibility", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_010_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 4); + + init_thunk(t, this_ptr_value, IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_ResetSeatedZeroPose)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_010_ResetSeatedZeroPose", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 4); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_010_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_010_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetTrackedDeviceActivityLevel", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_010_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_010_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_010_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetTrackedDeviceIndexForControllerRole", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_010_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetControllerRoleForTrackedDeviceIndex", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_010_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_010_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetTrackedDeviceClass", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_010_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_010_IsTrackedDeviceConnected", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_010_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_010_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_010_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_010_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_010_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_010_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_PollNextEvent)(VREvent_t * pEvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_PollNextEvent((void *)1); + check_ptr_parameter("IVRSystem_010_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_010_PollNextEvent", (void *)1); + + init_thunk(t, this_ptr_value, IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_PollNextEventWithPose(1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_010_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", (void *)2); + check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_010_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_010_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_010_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_010_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_010_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_010_GetHiddenAreaMesh", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_010_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetControllerState", 1); + check_ptr_parameter("IVRSystem_010_GetControllerState", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_010_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_010_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_010_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_010_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_010_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_010_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_010_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_010_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_010_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_010_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_010_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_010_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_010_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_010_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_010_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_010_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_010_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_010_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_010_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_010_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_010_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_010_AcknowledgeQuit_UserPrompt", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_PerformanceTestEnableCapture)(bool bEnable) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_PerformanceTestEnableCapture(1); + check_ptr_parameter("IVRSystem_010_PerformanceTestEnableCapture", this_ptr_value); + check_bool_parameter("IVRSystem_010_PerformanceTestEnableCapture", 1); + + init_thunk(t, this_ptr_value, IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_010_PerformanceTestReportFidelityLevelChange)(int nFidelityLevel) = (void *)t; + + clear_parameters(); + capi_IVRSystem_010_PerformanceTestReportFidelityLevelChange(1); + check_ptr_parameter("IVRSystem_010_PerformanceTestReportFidelityLevelChange", this_ptr_value); + check_uint32_parameter("IVRSystem_010_PerformanceTestReportFidelityLevelChange", 1); VirtualFree(t, 0, MEM_RELEASE); } @@ -24807,3155 +29355,3762 @@ void test_capi_thunks_IVRSystem_011(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRApplications_004(void) +void test_capi_thunks_IVRSystem_012(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRApplications_004_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRApplications_004_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_004_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_004_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_004_AddApplicationManifest", 1); + capi_IVRSystem_012_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_012_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVRApplications_004_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_004_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_004_RemoveApplicationManifest", (void *)1); + capi_IVRSystem_012_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_012_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_012_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_012_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_012_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_012_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRApplications_004_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_004_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_004_IsApplicationInstalled", (void *)1); + capi_IVRSystem_012_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_012_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); + DistortionCoordinates_t *(__stdcall *capi_IVRSystem_012_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationCount(); - check_ptr_parameter("IVRApplications_004_GetApplicationCount", this_ptr_value); + capi_IVRSystem_012_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_012_ComputeDistortion", this_ptr_value); + check_ptr_parameter("IVRSystem_012_ComputeDistortion", data_ptr_value); + check_uint32_parameter("IVRSystem_012_ComputeDistortion", 1); + check_float_parameter("IVRSystem_012_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_012_ComputeDistortion", 3.0f); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByIndex", 3); + capi_IVRSystem_012_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_012_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_012_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByProcessId", 3); + capi_IVRSystem_012_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchApplication)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_012_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRApplications_004_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_004_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_004_LaunchApplication", (void *)1); + capi_IVRSystem_012_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_012_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_004_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_004_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_004_LaunchDashboardOverlay", (void *)1); + capi_IVRSystem_012_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_012_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRApplications_004_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_004_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_004_CancelApplicationLaunch", (void *)1); + capi_IVRSystem_012_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_012_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRApplications_004_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_004_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_004_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_004_IdentifyApplication", (void *)2); + capi_IVRSystem_012_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_012_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_012_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_012_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_004_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationProcessId", (void *)1); + capi_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_004_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_004_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationsErrorNameFromEnum", 1); + capi_IVRSystem_012_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_012_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)5); + capi_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", (void *)3); + capi_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_004_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", (void *)3); + capi_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_012_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRApplications_004_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_004_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_004_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_004_SetApplicationAutoLaunch", 1); + capi_IVRSystem_012_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_012_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_004_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationAutoLaunch", (void *)1); + capi_IVRSystem_012_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_012_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_012_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_004_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_004_GetStartingApplication", 2); + capi_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_012_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_004_GetTransitionState)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetTransitionState(); - check_ptr_parameter("IVRApplications_004_GetTransitionState", this_ptr_value); + capi_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_012_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_012_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_004_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_004_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_004_PerformApplicationPrelaunchCheck", (void *)1); + capi_IVRSystem_012_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_012_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_004_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationsTransitionStateNameFromEnum", 1); + capi_IVRSystem_012_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_012_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_012_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_IsQuitUserPromptRequested)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRApplications_004_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_004_IsQuitUserPromptRequested", this_ptr_value); + capi_IVRSystem_012_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_012_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRApplications_004_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)3); + capi_IVRSystem_012_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_012_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_012_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_012_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_012_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_012_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_012_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_012_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_012_PollNextEvent", 2); + + init_thunk(t, this_ptr_value, IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_012_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_012_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_012_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_012_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_012_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetHiddenAreaMesh(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_012_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_012_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_012_GetHiddenAreaMesh", 1); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerState, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetControllerState(1, (void *)2); + check_ptr_parameter("IVRSystem_012_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetControllerState", 1); + check_ptr_parameter("IVRSystem_012_GetControllerState", (void *)2); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_012_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", (void *)3); + check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_012_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_012_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_012_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_012_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_012_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_012_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_012_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_012_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_012_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_012_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_012_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_012_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_012_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_012_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_012_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_012_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_012_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_012_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_012_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_012_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_012_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_012_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_012_AcknowledgeQuit_UserPrompt", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_010(void) +void test_capi_thunks_IVRSystem_014(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_010_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_010_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_010_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_010_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_010_FindOverlay", (void *)2); + capi_IVRSystem_014_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_014_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; clear_parameters(); - capi_IVROverlay_010_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)3); + capi_IVRSystem_014_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); + check_ptr_parameter("IVRSystem_014_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_014_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_014_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_014_GetProjectionMatrix", 3.0f); + check_uint32_parameter("IVRSystem_014_GetProjectionMatrix", 4); - init_thunk(t, this_ptr_value, IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVROverlay_010_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_010_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_DestroyOverlay", 1); + capi_IVRSystem_014_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_014_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_014_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_010_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetHighQualityOverlay", 1); + capi_IVRSystem_014_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_014_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_014_ComputeDistortion", 1); + check_float_parameter("IVRSystem_014_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_014_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_014_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_010_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_010_GetHighQualityOverlay", this_ptr_value); + capi_IVRSystem_014_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_014_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_014_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_010_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_010_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_010_GetOverlayKey", (void *)4); + capi_IVRSystem_014_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_010_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_014_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_010_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_010_GetOverlayName", (void *)4); + capi_IVRSystem_014_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_014_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_010_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)5); + capi_IVRSystem_014_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_014_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_010_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_010_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_010_GetOverlayErrorNameFromEnum", 1); + capi_IVRSystem_014_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_014_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_010_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_010_SetOverlayFlag", 1); + capi_IVRSystem_014_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_014_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_014_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_014_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_010_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_010_GetOverlayFlag", (void *)3); + capi_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayColor", 1); - check_float_parameter("IVROverlay_010_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_010_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_010_SetOverlayColor", 4.0f); + capi_IVRSystem_014_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_014_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)4); + capi_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_010_SetOverlayAlpha", 2.0f); + capi_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayAlpha", (void *)2); + capi_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_014_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_010_SetOverlayWidthInMeters", 2.0f); + capi_IVRSystem_014_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_014_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayWidthInMeters", (void *)2); + capi_IVRSystem_014_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_014_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_014_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_014_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_014_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_014_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTextureColorSpace", 2); + capi_IVRSystem_014_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_014_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureColorSpace", (void *)2); + capi_IVRSystem_014_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_014_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_014_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayTextureBounds", (void *)2); + capi_IVRSystem_014_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_014_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureBounds", (void *)2); + capi_IVRSystem_014_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_014_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformType", (void *)2); + capi_IVRSystem_014_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_014_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_014_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_014_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_014_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_014_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_014_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_014_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_014_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", (void *)3); + capi_IVRSystem_014_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_014_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_014_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_014_PollNextEvent", 2); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", 4); + capi_IVRSystem_014_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_014_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_014_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_014_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; clear_parameters(); - capi_IVROverlay_010_ShowOverlay(1); - check_ptr_parameter("IVROverlay_010_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ShowOverlay", 1); + capi_IVRSystem_014_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_014_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetEventTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_014_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; clear_parameters(); - capi_IVROverlay_010_HideOverlay(1); - check_ptr_parameter("IVROverlay_010_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_HideOverlay", 1); + capi_IVRSystem_014_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_014_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_014_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_014_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_014_GetHiddenAreaMesh", 2); - init_thunk(t, this_ptr_value, IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; clear_parameters(); - capi_IVROverlay_010_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_010_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_010_IsOverlayVisible", 1); + capi_IVRSystem_014_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_014_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetControllerState", 1); + check_ptr_parameter("IVRSystem_014_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_014_GetControllerState", 3); - init_thunk(t, this_ptr_value, IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRSystem_014_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; clear_parameters(); - capi_IVROverlay_010_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_010_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_010_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_010_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_010_PollNextOverlayEvent", 3); + capi_IVRSystem_014_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_014_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 3); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_014_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayInputMethod", (void *)2); + capi_IVRSystem_014_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_014_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetButtonIdNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_014_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_010_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayInputMethod", 2); + capi_IVRSystem_014_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_014_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_014_GetControllerAxisTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_CaptureInputFocus)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayMouseScale", (void *)2); + capi_IVRSystem_014_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_014_CaptureInputFocus", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_ReleaseInputFocus)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayMouseScale", (void *)2); + capi_IVRSystem_014_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_014_ReleaseInputFocus", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_014_IsInputFocusCapturedByAnotherProcess)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", (void *)3); + capi_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_014_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_014_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", 2); + capi_IVRSystem_014_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_014_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_014_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_014_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_014_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_014_DriverDebugRequest", 4); - init_thunk(t, this_ptr_value, IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_014_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_010_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_010_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_IsHoverTargetOverlay", 1); + capi_IVRSystem_014_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_014_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_014_PerformFirmwareUpdate", 1); - init_thunk(t, this_ptr_value, IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_010_GetGamepadFocusOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_AcknowledgeQuit_Exiting)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_010_GetGamepadFocusOverlay", this_ptr_value); + capi_IVRSystem_014_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_014_AcknowledgeQuit_Exiting", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_014_AcknowledgeQuit_UserPrompt)() = (void *)t; clear_parameters(); - capi_IVROverlay_010_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_010_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_010_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_010_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_010_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_010_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_010_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_010_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_010_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_010_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_010_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_010_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_010_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_010_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_010_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_010_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_010_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_010_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_010_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_010_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_010_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_010_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_010_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_010_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_010_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_010_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_010_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_010_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_HideKeyboard(); - check_ptr_parameter("IVROverlay_010_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVRSystem_014_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_014_AcknowledgeQuit_UserPrompt", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRRenderModels_004(void) +void test_capi_thunks_IVRSystem_015(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadRenderModel_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_LoadRenderModel_Async((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", (void *)1); - check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", (void *)2); + capi_IVRSystem_015_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_004_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_015_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_004_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_FreeRenderModel", (void *)1); + capi_IVRSystem_015_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_015_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_015_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_015_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_015_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_LoadTexture_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_LoadTexture_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_004_LoadTexture_Async", 1); - check_ptr_parameter("IVRRenderModels_004_LoadTexture_Async", (void *)2); + capi_IVRSystem_015_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_015_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_004_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_015_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_004_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_FreeTexture", (void *)1); + capi_IVRSystem_015_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_015_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_015_ComputeDistortion", 1); + check_float_parameter("IVRSystem_015_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_015_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_015_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_LoadTextureD3D11_Async(1, (void *)2, (void *)3); - check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", (void *)2); - check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", (void *)3); + capi_IVRSystem_015_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_015_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_015_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_004_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_FreeTextureD3D11((void *)1); - check_ptr_parameter("IVRRenderModels_004_FreeTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_FreeTextureD3D11", (void *)1); + capi_IVRSystem_015_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_015_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_004_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_004_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_004_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_004_GetRenderModelName", 3); + capi_IVRSystem_015_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_015_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetRenderModelCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_004_GetRenderModelCount", this_ptr_value); + capi_IVRSystem_015_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_015_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentCount)(const char * pchRenderModelName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentCount", (void *)1); + capi_IVRSystem_015_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_015_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_004_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_004_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_004_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_004_GetComponentName", 4); + capi_IVRSystem_015_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_015_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_015_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_004_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_015_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", (void *)2); + capi_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_004_GetComponentRenderModelName", 4); + capi_IVRSystem_015_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_015_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_004_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)4); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)5); + capi_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_004_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRRenderModels_004_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", (void *)2); + capi_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 4); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_015_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_015_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetTrackedDeviceActivityLevel", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_015_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_015_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_015_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetTrackedDeviceIndexForControllerRole", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_015_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetControllerRoleForTrackedDeviceIndex", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_015_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_015_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetTrackedDeviceClass", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_015_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_015_IsTrackedDeviceConnected", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_015_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_015_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_015_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_015_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_015_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_015_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_015_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_015_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_015_PollNextEvent", 2); + + init_thunk(t, this_ptr_value, IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_015_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_015_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_015_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_015_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_015_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_015_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_015_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_015_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_015_GetHiddenAreaMesh", 2); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_015_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetControllerState", 1); + check_ptr_parameter("IVRSystem_015_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_015_GetControllerState", 3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_015_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_015_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_015_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_015_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_015_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_015_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_015_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_015_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_015_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_015_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_015_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_015_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_015_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_015_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_015_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_015_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_015_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_015_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_015_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_015_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_015_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_015_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_015_AcknowledgeQuit_UserPrompt", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_012(void) +void test_capi_thunks_IVRSystem_016(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_012_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_012_SetTrackingSpace", 1); + capi_IVRSystem_016_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_012_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_016_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_012_GetTrackingSpace", this_ptr_value); + capi_IVRSystem_016_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_016_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_016_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_016_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_016_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_012_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_012_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_012_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_012_WaitGetPoses", 4); + capi_IVRSystem_016_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_016_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_016_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_012_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_012_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_012_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_012_GetLastPoses", 4); + capi_IVRSystem_016_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_016_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_016_ComputeDistortion", 1); + check_float_parameter("IVRSystem_016_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_016_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_016_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", (void *)3); + capi_IVRSystem_016_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_016_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_016_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_012_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_012_Submit", 1); - check_ptr_parameter("IVRCompositor_012_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_012_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_012_Submit", 4); + capi_IVRSystem_016_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_016_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRCompositor_012_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_012_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRSystem_016_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_016_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_012_PostPresentHandoff", this_ptr_value); + capi_IVRSystem_016_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_016_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_012_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_012_GetFrameTiming", 2); + capi_IVRSystem_016_GetOutputDevice((void *)1, 2); + check_ptr_parameter("IVRSystem_016_GetOutputDevice", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetOutputDevice", (void *)1); + check_uint32_parameter("IVRSystem_016_GetOutputDevice", 2); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_012_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_012_GetFrameTimeRemaining", this_ptr_value); + capi_IVRSystem_016_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_016_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_012_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_012_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_012_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_012_FadeToColor", 1); + capi_IVRSystem_016_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_016_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_016_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_012_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_016_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_012_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_012_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_012_FadeGrid", 1); + capi_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRCompositor_012_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_012_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_012_SetSkyboxOverride", 2); + capi_IVRSystem_016_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_016_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_012_ClearSkyboxOverride", this_ptr_value); + capi_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_012_CompositorBringToFront", this_ptr_value); + capi_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_012_CompositorGoToBack", this_ptr_value); + capi_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_016_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_CompositorQuit(); - check_ptr_parameter("IVRCompositor_012_CompositorQuit", this_ptr_value); + capi_IVRSystem_016_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_016_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_IsFullscreen(); - check_ptr_parameter("IVRCompositor_012_IsFullscreen", this_ptr_value); + capi_IVRSystem_016_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_016_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_012_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_016_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_012_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_016_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_012_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_012_GetLastFrameRenderer", this_ptr_value); + capi_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_016_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_016_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_CanRenderScene(); - check_ptr_parameter("IVRCompositor_012_CanRenderScene", this_ptr_value); + capi_IVRSystem_016_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_016_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_012_ShowMirrorWindow", this_ptr_value); + capi_IVRSystem_016_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_016_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_016_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_012_HideMirrorWindow", this_ptr_value); + capi_IVRSystem_016_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_016_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_012_IsMirrorWindowVisible", this_ptr_value); + capi_IVRSystem_016_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_016_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_012_CompositorDumpImages", this_ptr_value); + capi_IVRSystem_016_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_ShouldAppRenderWithLowResources)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_016_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_012_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_012_ShouldAppRenderWithLowResources", this_ptr_value); + capi_IVRSystem_016_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_016_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_016_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_016_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_016_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_016_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_016_PollNextEvent", 2); + + init_thunk(t, this_ptr_value, IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_016_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_016_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_016_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_016_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_016_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_016_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_016_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_016_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_016_GetHiddenAreaMesh", 2); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_016_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetControllerState", 1); + check_ptr_parameter("IVRSystem_016_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_016_GetControllerState", 3); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_016_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_016_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_016_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_016_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_016_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_016_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_016_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_016_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_016_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_016_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_016_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_016_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_016_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_016_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_016_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_016_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_016_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_016_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_016_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_016_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_016_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_016_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_016_AcknowledgeQuit_UserPrompt", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRApplications_003(void) +void test_capi_thunks_IVRSystem_017(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRApplications_003_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRApplications_003_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_003_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_003_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_003_AddApplicationManifest", 1); + capi_IVRSystem_017_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_017_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRApplications_003_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_003_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_003_RemoveApplicationManifest", (void *)1); + capi_IVRSystem_017_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_017_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_017_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_017_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_017_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRApplications_003_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_003_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_003_IsApplicationInstalled", (void *)1); + capi_IVRSystem_017_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_017_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_017_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationCount(); - check_ptr_parameter("IVRApplications_003_GetApplicationCount", this_ptr_value); + capi_IVRSystem_017_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_017_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_017_ComputeDistortion", 1); + check_float_parameter("IVRSystem_017_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_017_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_017_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByIndex", 3); + capi_IVRSystem_017_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_017_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_017_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByProcessId", 3); + capi_IVRSystem_017_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_LaunchApplication)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_017_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRApplications_003_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_003_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_003_LaunchApplication", (void *)1); + capi_IVRSystem_017_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_017_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_003_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_003_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_003_LaunchDashboardOverlay", (void *)1); + capi_IVRSystem_017_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_017_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; clear_parameters(); - capi_IVRApplications_003_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_003_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_003_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_003_IdentifyApplication", (void *)2); + capi_IVRSystem_017_GetOutputDevice((void *)1, 2, (void *)3); + check_ptr_parameter("IVRSystem_017_GetOutputDevice", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetOutputDevice", (void *)1); + check_uint32_parameter("IVRSystem_017_GetOutputDevice", 2); + check_ptr_parameter("IVRSystem_017_GetOutputDevice", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_003_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationProcessId", (void *)1); + capi_IVRSystem_017_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_017_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_003_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_003_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationsErrorNameFromEnum", 1); + capi_IVRSystem_017_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_017_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_017_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_017_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)5); + capi_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", (void *)3); + capi_IVRSystem_017_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_017_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_003_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", (void *)3); + capi_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRApplications_003_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_003_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_003_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_003_SetApplicationAutoLaunch", 1); + capi_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_003_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationAutoLaunch", (void *)1); + capi_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_017_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_003_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_003_GetStartingApplication", 2); + capi_IVRSystem_017_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_017_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_003_GetTransitionState)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetTransitionState(); - check_ptr_parameter("IVRApplications_003_GetTransitionState", this_ptr_value); + capi_IVRSystem_017_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_017_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_017_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVRApplications_003_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_003_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_003_PerformApplicationPrelaunchCheck", (void *)1); + capi_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_017_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_003_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationsTransitionStateNameFromEnum", 1); + capi_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_017_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_IsQuitUserPromptRequested)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_017_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_003_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_003_IsQuitUserPromptRequested", this_ptr_value); + capi_IVRSystem_017_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_017_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetTrackedDeviceClass", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_017_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_017_IsTrackedDeviceConnected", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_017_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_017_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_017_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_017_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_017_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_017_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_017_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_017_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_017_PollNextEvent", 2); + + init_thunk(t, this_ptr_value, IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_017_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_017_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_017_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_017_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_017_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_017_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_017_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_017_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_017_GetHiddenAreaMesh", 2); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_017_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetControllerState", 1); + check_ptr_parameter("IVRSystem_017_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_017_GetControllerState", 3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_017_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_017_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_017_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_017_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_017_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_017_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_CaptureInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_CaptureInputFocus(); + check_ptr_parameter("IVRSystem_017_CaptureInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_ReleaseInputFocus)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_ReleaseInputFocus(); + check_ptr_parameter("IVRSystem_017_ReleaseInputFocus", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_017_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(); + check_ptr_parameter("IVRSystem_017_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_017_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_017_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_017_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_017_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_017_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_017_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_017_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_017_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_017_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_017_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_017_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_017_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_017_AcknowledgeQuit_UserPrompt", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_011(void) +void test_capi_thunks_IVRSystem_019(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_011_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_011_SetTrackingSpace", 1); + capi_IVRSystem_019_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_011_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_019_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_011_GetTrackingSpace", this_ptr_value); + capi_IVRSystem_019_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_019_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_019_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_019_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_019_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_011_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_011_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_011_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_011_WaitGetPoses", 4); + capi_IVRSystem_019_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_019_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_019_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_011_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_011_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_011_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_011_GetLastPoses", 4); + capi_IVRSystem_019_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_019_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_019_ComputeDistortion", 1); + check_float_parameter("IVRSystem_019_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_019_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_019_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_011_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_011_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_011_Submit", 1); - check_ptr_parameter("IVRCompositor_011_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_011_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_011_Submit", 4); + capi_IVRSystem_019_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_019_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_019_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_011_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRSystem_019_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_019_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRCompositor_011_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_011_PostPresentHandoff", this_ptr_value); + capi_IVRSystem_019_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_019_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_011_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_011_GetFrameTiming", 2); + capi_IVRSystem_019_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_019_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_011_GetFrameTimeRemaining)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_011_GetFrameTimeRemaining", this_ptr_value); + capi_IVRSystem_019_GetOutputDevice((void *)1, 2, (void *)3); + check_ptr_parameter("IVRSystem_019_GetOutputDevice", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetOutputDevice", (void *)1); + check_uint32_parameter("IVRSystem_019_GetOutputDevice", 2); + check_ptr_parameter("IVRSystem_019_GetOutputDevice", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_011_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRCompositor_011_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_011_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_011_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_011_FadeToColor", 1); + capi_IVRSystem_019_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_019_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_011_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_011_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_011_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_011_FadeGrid", 1); + capi_IVRSystem_019_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_019_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_019_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_019_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_011_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_011_SetSkyboxOverride", 2); + capi_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_ClearSkyboxOverride)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRCompositor_011_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_011_ClearSkyboxOverride", this_ptr_value); + capi_IVRSystem_019_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_019_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorBringToFront)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_011_CompositorBringToFront", this_ptr_value); + capi_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorGoToBack)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_011_CompositorGoToBack", this_ptr_value); + capi_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorQuit)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_CompositorQuit(); - check_ptr_parameter("IVRCompositor_011_CompositorQuit", this_ptr_value); + capi_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_IsFullscreen)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_019_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_IsFullscreen(); - check_ptr_parameter("IVRCompositor_011_IsFullscreen", this_ptr_value); + capi_IVRSystem_019_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_019_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_011_GetCurrentSceneFocusProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_011_GetCurrentSceneFocusProcess", this_ptr_value); + capi_IVRSystem_019_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_019_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_011_GetLastFrameRenderer)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_019_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_011_GetLastFrameRenderer", this_ptr_value); + capi_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_019_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_CanRenderScene)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_CanRenderScene(); - check_ptr_parameter("IVRCompositor_011_CanRenderScene", this_ptr_value); + capi_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_019_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_ShowMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_019_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_011_ShowMirrorWindow", this_ptr_value); + capi_IVRSystem_019_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_019_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_HideMirrorWindow)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_011_HideMirrorWindow", this_ptr_value); + capi_IVRSystem_019_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_019_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_019_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_IsMirrorWindowVisible)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_011_IsMirrorWindowVisible", this_ptr_value); + capi_IVRSystem_019_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorDumpImages)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_019_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRCompositor_011_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_011_CompositorDumpImages", this_ptr_value); + capi_IVRSystem_019_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_019_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_019_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_019_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); + check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 2); + check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 3); + check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", (void *)4); + check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 5); + check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", (void *)6); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_019_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_019_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_019_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_019_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_019_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_019_PollNextEvent", 2); + + init_thunk(t, this_ptr_value, IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_019_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_019_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_019_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_019_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_019_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_019_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_019_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_019_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_019_GetHiddenAreaMesh", 2); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_019_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetControllerState", 1); + check_ptr_parameter("IVRSystem_019_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_019_GetControllerState", 3); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_019_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_019_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_019_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_019_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_019_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_019_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_IsInputAvailable)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_IsInputAvailable(); + check_ptr_parameter("IVRSystem_019_IsInputAvailable", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_IsSteamVRDrawingControllers)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_IsSteamVRDrawingControllers(); + check_ptr_parameter("IVRSystem_019_IsSteamVRDrawingControllers", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_ShouldApplicationPause)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_ShouldApplicationPause(); + check_ptr_parameter("IVRSystem_019_ShouldApplicationPause", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_019_ShouldApplicationReduceRenderingWork)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_ShouldApplicationReduceRenderingWork(); + check_ptr_parameter("IVRSystem_019_ShouldApplicationReduceRenderingWork", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_019_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_DriverDebugRequest(1, (void *)2, (void *)3, 4); + check_ptr_parameter("IVRSystem_019_DriverDebugRequest", this_ptr_value); + check_uint32_parameter("IVRSystem_019_DriverDebugRequest", 1); + check_ptr_parameter("IVRSystem_019_DriverDebugRequest", (void *)2); + check_ptr_parameter("IVRSystem_019_DriverDebugRequest", (void *)3); + check_uint32_parameter("IVRSystem_019_DriverDebugRequest", 4); + + init_thunk(t, this_ptr_value, IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_019_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_019_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_019_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_019_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_019_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_019_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_019_AcknowledgeQuit_UserPrompt", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRRenderModels_002(void) +void test_capi_thunks_IVRSystem_020(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRRenderModels_002_LoadRenderModel, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_LoadRenderModel((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", (void *)1); - check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", (void *)2); + capi_IVRSystem_020_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_002_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_020_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_002_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_FreeRenderModel", (void *)1); + capi_IVRSystem_020_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_020_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_020_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_020_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_020_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_LoadTexture)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_LoadTexture(1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_LoadTexture", this_ptr_value); - check_uint32_parameter("IVRRenderModels_002_LoadTexture", 1); - check_ptr_parameter("IVRRenderModels_002_LoadTexture", (void *)2); + capi_IVRSystem_020_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_020_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_002_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_020_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_002_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_FreeTexture", (void *)1); + capi_IVRSystem_020_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_020_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_020_ComputeDistortion", 1); + check_float_parameter("IVRSystem_020_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_020_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_020_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_002_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_002_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_002_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_002_GetRenderModelName", 3); + capi_IVRSystem_020_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_020_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_020_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetRenderModelCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_002_GetRenderModelCount", this_ptr_value); + capi_IVRSystem_020_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentCount)(const char * pchRenderModelName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_020_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentCount", (void *)1); + capi_IVRSystem_020_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_020_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_002_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_002_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_002_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_002_GetComponentName", 4); + capi_IVRSystem_020_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_020_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_002_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetOutputDevice, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", (void *)2); + capi_IVRSystem_020_GetOutputDevice((void *)1, 2, (void *)3); + check_ptr_parameter("IVRSystem_020_GetOutputDevice", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetOutputDevice", (void *)1); + check_uint32_parameter("IVRSystem_020_GetOutputDevice", 2); + check_ptr_parameter("IVRSystem_020_GetOutputDevice", (void *)3); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_002_GetComponentRenderModelName", 4); + capi_IVRSystem_020_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_020_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)4); + capi_IVRSystem_020_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_020_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_020_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_020_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRRenderModels_002_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", (void *)2); + capi_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 4); + + init_thunk(t, this_ptr_value, IVRSystem_020_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_ResetSeatedZeroPose)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_020_ResetSeatedZeroPose", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 4); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_020_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_020_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetTrackedDeviceActivityLevel", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_020_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_020_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_020_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetTrackedDeviceIndexForControllerRole", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_020_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetControllerRoleForTrackedDeviceIndex", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_020_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_020_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetTrackedDeviceClass", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_020_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_020_IsTrackedDeviceConnected", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_020_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_020_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_020_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", (void *)3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_020_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); + check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 2); + check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 3); + check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", (void *)4); + check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 5); + check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", (void *)6); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_020_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_020_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_020_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetPropErrorNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_020_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_020_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_020_PollNextEvent", 2); + + init_thunk(t, this_ptr_value, IVRSystem_020_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_020_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_020_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", (void *)4); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_020_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_020_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetEventTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_020_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_020_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_020_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_020_GetHiddenAreaMesh", 2); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_020_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetControllerState", 1); + check_ptr_parameter("IVRSystem_020_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_020_GetControllerState", 3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", (void *)5); + + init_thunk(t, this_ptr_value, IVRSystem_020_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_020_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 3); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_020_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_020_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetButtonIdNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_020_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_020_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_020_GetControllerAxisTypeNameFromEnum", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_IsInputAvailable, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_IsInputAvailable)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_IsInputAvailable(); + check_ptr_parameter("IVRSystem_020_IsInputAvailable", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_IsSteamVRDrawingControllers)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_IsSteamVRDrawingControllers(); + check_ptr_parameter("IVRSystem_020_IsSteamVRDrawingControllers", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_ShouldApplicationPause, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_ShouldApplicationPause)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_ShouldApplicationPause(); + check_ptr_parameter("IVRSystem_020_ShouldApplicationPause", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_020_ShouldApplicationReduceRenderingWork)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_ShouldApplicationReduceRenderingWork(); + check_ptr_parameter("IVRSystem_020_ShouldApplicationReduceRenderingWork", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_020_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_020_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_020_PerformFirmwareUpdate", 1); + + init_thunk(t, this_ptr_value, IVRSystem_020_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_AcknowledgeQuit_Exiting)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_020_AcknowledgeQuit_Exiting", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_020_AcknowledgeQuit_UserPrompt)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_AcknowledgeQuit_UserPrompt(); + check_ptr_parameter("IVRSystem_020_AcknowledgeQuit_UserPrompt", this_ptr_value); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetAppContainerFilePaths, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_020_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetAppContainerFilePaths((void *)1, 2); + check_ptr_parameter("IVRSystem_020_GetAppContainerFilePaths", this_ptr_value); + check_ptr_parameter("IVRSystem_020_GetAppContainerFilePaths", (void *)1); + check_uint32_parameter("IVRSystem_020_GetAppContainerFilePaths", 2); + + init_thunk(t, this_ptr_value, IVRSystem_020_GetRuntimeVersion, 0, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_020_GetRuntimeVersion)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_020_GetRuntimeVersion(); + check_ptr_parameter("IVRSystem_020_GetRuntimeVersion", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_010(void) +void test_capi_thunks_IVRSystem_021(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", (void *)2); + capi_IVRSystem_021_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_010_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_021_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_010_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_010_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_010_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_010_GetProjectionMatrix", 4); + capi_IVRSystem_021_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_021_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_021_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_021_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_021_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)5); + capi_IVRSystem_021_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_021_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_010_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_021_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRSystem_010_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_010_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_010_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_010_ComputeDistortion", 1); - check_float_parameter("IVRSystem_010_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_010_ComputeDistortion", 3.0f); + capi_IVRSystem_021_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_021_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_021_ComputeDistortion", 1); + check_float_parameter("IVRSystem_021_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_021_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_021_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_010_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetEyeToHeadTransform", 1); + capi_IVRSystem_021_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_021_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_021_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", (void *)2); + capi_IVRSystem_021_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_010_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_021_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_010_GetD3D9AdapterIndex", this_ptr_value); + capi_IVRSystem_021_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_021_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_010_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetDXGIOutputInfo", (void *)1); + capi_IVRSystem_021_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_021_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; clear_parameters(); - capi_IVRSystem_010_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_010_IsDisplayOnDesktop", this_ptr_value); + capi_IVRSystem_021_GetOutputDevice((void *)1, 2, (void *)3); + check_ptr_parameter("IVRSystem_021_GetOutputDevice", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetOutputDevice", (void *)1); + check_uint32_parameter("IVRSystem_021_GetOutputDevice", 2); + check_ptr_parameter("IVRSystem_021_GetOutputDevice", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_010_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_010_SetDisplayVisibility", 1); + capi_IVRSystem_021_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_021_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVRSystem_021_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_021_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_021_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_021_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRSystem_010_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_010_ResetSeatedZeroPose", this_ptr_value); + capi_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_ResetSeatedZeroPose)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVRSystem_021_ResetSeatedZeroPose(); + check_ptr_parameter("IVRSystem_021_ResetSeatedZeroPose", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); + capi_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 4); + capi_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_010_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_010_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetTrackedDeviceActivityLevel", 1); + capi_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_021_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRSystem_010_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_010_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)3); + capi_IVRSystem_021_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_021_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_010_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_010_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetTrackedDeviceIndexForControllerRole", 1); + capi_IVRSystem_021_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_021_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_021_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_010_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerRoleForTrackedDeviceIndex", 1); + capi_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_021_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_010_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_010_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetTrackedDeviceClass", 1); + capi_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_021_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_021_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_010_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_010_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_010_IsTrackedDeviceConnected", 1); + capi_IVRSystem_021_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_021_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetTrackedDeviceClass", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", (void *)3); + capi_IVRSystem_021_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_021_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_021_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_010_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", (void *)3); + capi_IVRSystem_021_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_010_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_021_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", (void *)3); + capi_IVRSystem_021_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_010_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_021_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", (void *)3); + capi_IVRSystem_021_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_021_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", (void *)3); + capi_IVRSystem_021_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_010_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", (void *)5); + capi_IVRSystem_021_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_021_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetPropErrorNameFromEnum", 1); + capi_IVRSystem_021_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); + check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 2); + check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 3); + check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", (void *)4); + check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 5); + check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", (void *)6); - init_thunk(t, this_ptr_value, IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_PollNextEvent)(VREvent_t * pEvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_021_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVRSystem_010_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_010_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_010_PollNextEvent", (void *)1); + capi_IVRSystem_021_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_021_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVRSystem_010_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_010_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", (void *)3); + capi_IVRSystem_021_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_021_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetEventTypeNameFromEnum", 1); + capi_IVRSystem_021_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_021_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_021_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_021_PollNextEvent", 2); - init_thunk(t, this_ptr_value, IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_010_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_010_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetHiddenAreaMesh", 1); + capi_IVRSystem_021_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_021_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_021_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_021_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_010_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerState", 1); - check_ptr_parameter("IVRSystem_010_GetControllerState", (void *)2); + capi_IVRSystem_021_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_021_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetEventTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_021_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_010_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", (void *)4); + capi_IVRSystem_021_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_021_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_021_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_021_GetHiddenAreaMesh", 2); - init_thunk(t, this_ptr_value, IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; clear_parameters(); - capi_IVRSystem_010_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_010_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 3); + capi_IVRSystem_021_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_021_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetControllerState", 1); + check_ptr_parameter("IVRSystem_021_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_021_GetControllerState", 3); - init_thunk(t, this_ptr_value, IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetButtonIdNameFromEnum", 1); + capi_IVRSystem_021_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; clear_parameters(); - capi_IVRSystem_010_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerAxisTypeNameFromEnum", 1); + capi_IVRSystem_021_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_021_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 3); - init_thunk(t, this_ptr_value, IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_CaptureInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_021_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; clear_parameters(); - capi_IVRSystem_010_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_010_CaptureInputFocus", this_ptr_value); + capi_IVRSystem_021_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_021_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetButtonIdNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_ReleaseInputFocus)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_021_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; clear_parameters(); - capi_IVRSystem_010_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_010_ReleaseInputFocus", this_ptr_value); + capi_IVRSystem_021_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_021_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_021_GetControllerAxisTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_IsInputFocusCapturedByAnotherProcess)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_IsInputAvailable)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_010_IsInputFocusCapturedByAnotherProcess", this_ptr_value); + capi_IVRSystem_021_IsInputAvailable(); + check_ptr_parameter("IVRSystem_021_IsInputAvailable", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_010_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_IsSteamVRDrawingControllers)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_010_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_010_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_010_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_010_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_010_DriverDebugRequest", 4); + capi_IVRSystem_021_IsSteamVRDrawingControllers(); + check_ptr_parameter("IVRSystem_021_IsSteamVRDrawingControllers", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_010_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_ShouldApplicationPause)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_010_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_010_PerformFirmwareUpdate", 1); + capi_IVRSystem_021_ShouldApplicationPause(); + check_ptr_parameter("IVRSystem_021_ShouldApplicationPause", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_AcknowledgeQuit_Exiting)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_021_ShouldApplicationReduceRenderingWork)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_010_AcknowledgeQuit_Exiting", this_ptr_value); + capi_IVRSystem_021_ShouldApplicationReduceRenderingWork(); + check_ptr_parameter("IVRSystem_021_ShouldApplicationReduceRenderingWork", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_AcknowledgeQuit_UserPrompt)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_021_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRSystem_010_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_010_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVRSystem_021_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_021_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_021_PerformFirmwareUpdate", 1); - init_thunk(t, this_ptr_value, IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_PerformanceTestEnableCapture)(bool bEnable) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_021_AcknowledgeQuit_Exiting)() = (void *)t; clear_parameters(); - capi_IVRSystem_010_PerformanceTestEnableCapture(1); - check_ptr_parameter("IVRSystem_010_PerformanceTestEnableCapture", this_ptr_value); - check_bool_parameter("IVRSystem_010_PerformanceTestEnableCapture", 1); + capi_IVRSystem_021_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_021_AcknowledgeQuit_Exiting", this_ptr_value); - init_thunk(t, this_ptr_value, IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_PerformanceTestReportFidelityLevelChange)(int nFidelityLevel) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_021_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVRSystem_010_PerformanceTestReportFidelityLevelChange(1); - check_ptr_parameter("IVRSystem_010_PerformanceTestReportFidelityLevelChange", this_ptr_value); - check_uint32_parameter("IVRSystem_010_PerformanceTestReportFidelityLevelChange", 1); + capi_IVRSystem_021_GetAppContainerFilePaths((void *)1, 2); + check_ptr_parameter("IVRSystem_021_GetAppContainerFilePaths", this_ptr_value); + check_ptr_parameter("IVRSystem_021_GetAppContainerFilePaths", (void *)1); + check_uint32_parameter("IVRSystem_021_GetAppContainerFilePaths", 2); + + init_thunk(t, this_ptr_value, IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_021_GetRuntimeVersion)() = (void *)t; + + clear_parameters(); + capi_IVRSystem_021_GetRuntimeVersion(); + check_ptr_parameter("IVRSystem_021_GetRuntimeVersion", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRApplications_002(void) +void test_capi_thunks_IVRSystem_022(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRApplications_002_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRApplications_002_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_002_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_002_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_002_AddApplicationManifest", 1); + capi_IVRSystem_022_GetRecommendedRenderTargetSize((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", (void *)1); + check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); + HmdMatrix44_t *(__stdcall *capi_IVRSystem_022_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; clear_parameters(); - capi_IVRApplications_002_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_002_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_002_RemoveApplicationManifest", (void *)1); + capi_IVRSystem_022_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); + check_ptr_parameter("IVRSystem_022_GetProjectionMatrix", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetProjectionMatrix", data_ptr_value); + check_uint32_parameter("IVRSystem_022_GetProjectionMatrix", 1); + check_float_parameter("IVRSystem_022_GetProjectionMatrix", 2.0f); + check_float_parameter("IVRSystem_022_GetProjectionMatrix", 3.0f); - init_thunk(t, this_ptr_value, IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; clear_parameters(); - capi_IVRApplications_002_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_002_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_002_IsApplicationInstalled", (void *)1); + capi_IVRSystem_022_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRSystem_022_GetProjectionRaw", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetProjectionRaw", 1); + check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)2); + check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)3); + check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)4); + check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); + bool (__stdcall *capi_IVRSystem_022_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationCount(); - check_ptr_parameter("IVRApplications_002_GetApplicationCount", this_ptr_value); + capi_IVRSystem_022_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); + check_ptr_parameter("IVRSystem_022_ComputeDistortion", this_ptr_value); + check_uint32_parameter("IVRSystem_022_ComputeDistortion", 1); + check_float_parameter("IVRSystem_022_ComputeDistortion", 2.0f); + check_float_parameter("IVRSystem_022_ComputeDistortion", 3.0f); + check_ptr_parameter("IVRSystem_022_ComputeDistortion", (void *)4); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByIndex", 3); + capi_IVRSystem_022_GetEyeToHeadTransform(data_ptr_value, 1); + check_ptr_parameter("IVRSystem_022_GetEyeToHeadTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetEyeToHeadTransform", data_ptr_value); + check_uint32_parameter("IVRSystem_022_GetEyeToHeadTransform", 1); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByProcessId", 3); + capi_IVRSystem_022_GetTimeSinceLastVsync((void *)1, (void *)2); + check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", (void *)1); + check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_LaunchApplication)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_022_GetD3D9AdapterIndex)() = (void *)t; clear_parameters(); - capi_IVRApplications_002_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_002_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_002_LaunchApplication", (void *)1); + capi_IVRSystem_022_GetD3D9AdapterIndex(); + check_ptr_parameter("IVRSystem_022_GetD3D9AdapterIndex", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_002_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_002_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_002_LaunchDashboardOverlay", (void *)1); + capi_IVRSystem_022_GetDXGIOutputInfo((void *)1); + check_ptr_parameter("IVRSystem_022_GetDXGIOutputInfo", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetDXGIOutputInfo", (void *)1); - init_thunk(t, this_ptr_value, IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; clear_parameters(); - capi_IVRApplications_002_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_002_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_002_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_002_IdentifyApplication", (void *)2); + capi_IVRSystem_022_GetOutputDevice((void *)1, 2, (void *)3); + check_ptr_parameter("IVRSystem_022_GetOutputDevice", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetOutputDevice", (void *)1); + check_uint32_parameter("IVRSystem_022_GetOutputDevice", 2); + check_ptr_parameter("IVRSystem_022_GetOutputDevice", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_IsDisplayOnDesktop)() = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_002_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationProcessId", (void *)1); + capi_IVRSystem_022_IsDisplayOnDesktop(); + check_ptr_parameter("IVRSystem_022_IsDisplayOnDesktop", this_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_002_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_002_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationsErrorNameFromEnum", 1); + capi_IVRSystem_022_SetDisplayVisibility(1); + check_ptr_parameter("IVRSystem_022_SetDisplayVisibility", this_ptr_value); + check_bool_parameter("IVRSystem_022_SetDisplayVisibility", 1); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + void (__stdcall *capi_IVRSystem_022_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_002_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_002_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)5); + capi_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); + check_ptr_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 1); + check_float_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 2.0f); + check_ptr_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", (void *)3); + check_uint32_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 4); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_002_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", (void *)3); + capi_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; clear_parameters(); - capi_IVRApplications_002_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_002_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_002_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_002_SetApplicationAutoLaunch", 1); + capi_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); + check_ptr_parameter("IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_002_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationAutoLaunch", (void *)1); + capi_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); + check_ptr_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 1); + check_ptr_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", (void *)2); + check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 3); + check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 4); - init_thunk(t, this_ptr_value, IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + EDeviceActivityLevel (__stdcall *capi_IVRSystem_022_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_002_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_002_GetStartingApplication", 2); + capi_IVRSystem_022_GetTrackedDeviceActivityLevel(1); + check_ptr_parameter("IVRSystem_022_GetTrackedDeviceActivityLevel", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetTrackedDeviceActivityLevel", 1); - init_thunk(t, this_ptr_value, IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_002_GetTransitionState)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetTransitionState(); - check_ptr_parameter("IVRApplications_002_GetTransitionState", this_ptr_value); + capi_IVRSystem_022_ApplyTransform((void *)1, (void *)2, (void *)3); + check_ptr_parameter("IVRSystem_022_ApplyTransform", this_ptr_value); + check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)1); + check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)2); + check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)3); - init_thunk(t, this_ptr_value, IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_022_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; clear_parameters(); - capi_IVRApplications_002_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_002_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_002_PerformApplicationPrelaunchCheck", (void *)1); + capi_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(1); + check_ptr_parameter("IVRSystem_022_GetTrackedDeviceIndexForControllerRole", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetTrackedDeviceIndexForControllerRole", 1); - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + ETrackedControllerRole (__stdcall *capi_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_002_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationsTransitionStateNameFromEnum", 1); + capi_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(1); + check_ptr_parameter("IVRSystem_022_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetControllerRoleForTrackedDeviceIndex", 1); - init_thunk(t, this_ptr_value, IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_IsQuitUserPromptRequested)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); + ETrackedDeviceClass (__stdcall *capi_IVRSystem_022_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVRApplications_002_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_002_IsQuitUserPromptRequested", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} + capi_IVRSystem_022_GetTrackedDeviceClass(1); + check_ptr_parameter("IVRSystem_022_GetTrackedDeviceClass", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetTrackedDeviceClass", 1); -void test_capi_thunks_IVRChaperoneSetup_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_CommitWorkingCopy, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_CommitWorkingCopy(1); - check_ptr_parameter("IVRChaperoneSetup_004_CommitWorkingCopy", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_004_CommitWorkingCopy", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_RevertWorkingCopy)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_RevertWorkingCopy(); - check_ptr_parameter("IVRChaperoneSetup_004_RevertWorkingCopy", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(1.0f, 2.0f); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", this_ptr_value); - check_float_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", 1.0f); - check_float_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", 2.0f); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_ReloadFromDisk(1); - check_ptr_parameter("IVRChaperoneSetup_004_ReloadFromDisk", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_004_ReloadFromDisk", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingWallTagInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingWallTagInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveWallTagInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetLiveWallTagInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_010(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_010_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_010_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_010_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_010_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_010_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_010_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_010_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_010_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_010_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_010_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_010_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_010_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_010_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_010_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_010_Submit", 1); - check_ptr_parameter("IVRCompositor_010_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_010_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_010_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_010_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_010_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_010_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_010_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_010_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_010_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_010_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_010_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_010_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_010_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_010_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_010_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_010_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_010_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_010_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_010_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_010_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_010_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_010_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorQuit(); - check_ptr_parameter("IVRCompositor_010_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_IsFullscreen(); - check_ptr_parameter("IVRCompositor_010_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_010_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_010_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_010_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_010_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CanRenderScene(); - check_ptr_parameter("IVRCompositor_010_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_010_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_010_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_010_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_010_CompositorDumpImages", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_008(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_008_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_008_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_008_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_008_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_008_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_008_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_008_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_008_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_008_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_008_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_008_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_008_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_008_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_008_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_008_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_008_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_008_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_008_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_008_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_008_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_008_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_008_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayColor", 1); - check_float_parameter("IVROverlay_008_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_008_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_008_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_008_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_008_SetOverlayWidthInMeters", 2.0f); + capi_IVRSystem_022_IsTrackedDeviceConnected(1); + check_ptr_parameter("IVRSystem_022_IsTrackedDeviceConnected", this_ptr_value); + check_uint32_parameter("IVRSystem_022_IsTrackedDeviceConnected", 1); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayWidthInMeters", (void *)2); + capi_IVRSystem_022_GetBoolTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + float (__stdcall *capi_IVRSystem_022_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); + capi_IVRSystem_022_GetFloatTrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + int32_t (__stdcall *capi_IVRSystem_022_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); + capi_IVRSystem_022_GetInt32TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + uint64_t (__stdcall *capi_IVRSystem_022_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_008_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayTextureColorSpace", 2); + capi_IVRSystem_022_GetUint64TrackedDeviceProperty(1, 2, (void *)3); + check_ptr_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureColorSpace", (void *)2); + capi_IVRSystem_022_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); + check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", data_ptr_value); + check_uint32_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", (void *)3); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_022_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayTextureBounds", (void *)2); + capi_IVRSystem_022_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); + check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 2); + check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 3); + check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", (void *)4); + check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 5); + check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", (void *)6); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_022_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureBounds", (void *)2); + capi_IVRSystem_022_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 1); + check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 2); + check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", (void *)3); + check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 4); + check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_022_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformType", (void *)2); + capi_IVRSystem_022_GetPropErrorNameFromEnum(1); + check_ptr_parameter("IVRSystem_022_GetPropErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetPropErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_022_PollNextEvent((void *)1, 2); + check_ptr_parameter("IVRSystem_022_PollNextEvent", this_ptr_value); + check_ptr_parameter("IVRSystem_022_PollNextEvent", (void *)1); + check_uint32_parameter("IVRSystem_022_PollNextEvent", 2); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", (void *)3); + capi_IVRSystem_022_PollNextEventWithPose(1, (void *)2, 3, (void *)4); + check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_022_PollNextEventWithPose", 1); + check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", (void *)2); + check_uint32_parameter("IVRSystem_022_PollNextEventWithPose", 3); + check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_022_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_022_GetEventTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_022_GetEventTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetEventTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); + HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_022_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", (void *)3); + capi_IVRSystem_022_GetHiddenAreaMesh(data_ptr_value, 1, 2); + check_ptr_parameter("IVRSystem_022_GetHiddenAreaMesh", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetHiddenAreaMesh", data_ptr_value); + check_uint32_parameter("IVRSystem_022_GetHiddenAreaMesh", 1); + check_uint32_parameter("IVRSystem_022_GetHiddenAreaMesh", 2); - init_thunk(t, this_ptr_value, IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerState, 3, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; clear_parameters(); - capi_IVROverlay_008_ShowOverlay(1); - check_ptr_parameter("IVROverlay_008_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ShowOverlay", 1); + capi_IVRSystem_022_GetControllerState(1, (void *)2, 3); + check_ptr_parameter("IVRSystem_022_GetControllerState", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetControllerState", 1); + check_ptr_parameter("IVRSystem_022_GetControllerState", (void *)2); + check_uint32_parameter("IVRSystem_022_GetControllerState", 3); - init_thunk(t, this_ptr_value, IVROverlay_008_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; clear_parameters(); - capi_IVROverlay_008_HideOverlay(1); - check_ptr_parameter("IVROverlay_008_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_HideOverlay", 1); + capi_IVRSystem_022_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); + check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 1); + check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 2); + check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", (void *)3); + check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 4); + check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; clear_parameters(); - capi_IVROverlay_008_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_008_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_008_IsOverlayVisible", 1); + capi_IVRSystem_022_TriggerHapticPulse(1, 2, 3); + check_ptr_parameter("IVRSystem_022_TriggerHapticPulse", this_ptr_value); + check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 1); + check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 2); + check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 3); - init_thunk(t, this_ptr_value, IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_022_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", (void *)4); + capi_IVRSystem_022_GetButtonIdNameFromEnum(1); + check_ptr_parameter("IVRSystem_022_GetButtonIdNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetButtonIdNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_022_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; clear_parameters(); - capi_IVROverlay_008_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_008_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_008_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_008_PollNextOverlayEvent", (void *)2); + capi_IVRSystem_022_GetControllerAxisTypeNameFromEnum(1); + check_ptr_parameter("IVRSystem_022_GetControllerAxisTypeNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRSystem_022_GetControllerAxisTypeNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_IsInputAvailable)() = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayInputMethod", (void *)2); + capi_IVRSystem_022_IsInputAvailable(); + check_ptr_parameter("IVRSystem_022_IsInputAvailable", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_IsSteamVRDrawingControllers)() = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_008_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayInputMethod", 2); + capi_IVRSystem_022_IsSteamVRDrawingControllers(); + check_ptr_parameter("IVRSystem_022_IsSteamVRDrawingControllers", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_ShouldApplicationPause)() = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayMouseScale", (void *)2); + capi_IVRSystem_022_ShouldApplicationPause(); + check_ptr_parameter("IVRSystem_022_ShouldApplicationPause", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + bool (__stdcall *capi_IVRSystem_022_ShouldApplicationReduceRenderingWork)() = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayMouseScale", (void *)2); + capi_IVRSystem_022_ShouldApplicationReduceRenderingWork(); + check_ptr_parameter("IVRSystem_022_ShouldApplicationReduceRenderingWork", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_008_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_008_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_008_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_008_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_008_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_008_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_008_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_008_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_008_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_008_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_008_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_008_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_008_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_008_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_008_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_008_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_008_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_008_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_008_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_008_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_008_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_008_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_008_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_008_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_008_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); + EVRFirmwareError (__stdcall *capi_IVRSystem_022_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; clear_parameters(); - capi_IVROverlay_008_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_008_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_008_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_008_GetKeyboardText", 2); + capi_IVRSystem_022_PerformFirmwareUpdate(1); + check_ptr_parameter("IVRSystem_022_PerformFirmwareUpdate", this_ptr_value); + check_uint32_parameter("IVRSystem_022_PerformFirmwareUpdate", 1); - init_thunk(t, this_ptr_value, IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_HideKeyboard)() = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + void (__stdcall *capi_IVRSystem_022_AcknowledgeQuit_Exiting)() = (void *)t; clear_parameters(); - capi_IVROverlay_008_HideKeyboard(); - check_ptr_parameter("IVROverlay_008_HideKeyboard", this_ptr_value); + capi_IVRSystem_022_AcknowledgeQuit_Exiting(); + check_ptr_parameter("IVRSystem_022_AcknowledgeQuit_Exiting", this_ptr_value); - init_thunk(t, this_ptr_value, IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); + uint32_t (__stdcall *capi_IVRSystem_022_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", (void *)2); + capi_IVRSystem_022_GetAppContainerFilePaths((void *)1, 2); + check_ptr_parameter("IVRSystem_022_GetAppContainerFilePaths", this_ptr_value); + check_ptr_parameter("IVRSystem_022_GetAppContainerFilePaths", (void *)1); + check_uint32_parameter("IVRSystem_022_GetAppContainerFilePaths", 2); - init_thunk(t, this_ptr_value, IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; + init_thunk(t, this_ptr_value, IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); + const char * (__stdcall *capi_IVRSystem_022_GetRuntimeVersion)() = (void *)t; clear_parameters(); - capi_IVROverlay_008_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", DEFAULT_RECT); + capi_IVRSystem_022_GetRuntimeVersion(); + check_ptr_parameter("IVRSystem_022_GetRuntimeVersion", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } @@ -28127,5800 +33282,645 @@ void test_capi_thunks_IVRTrackedCamera_001(void) VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRCompositor_009(void) +void test_capi_thunks_IVRTrackedCamera_002(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRTrackedCamera_002_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_009_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_009_SetTrackingSpace", 1); + capi_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(1); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_009_GetTrackingSpace)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_009_GetTrackingSpace", this_ptr_value); + capi_IVRTrackedCamera_002_HasCamera(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_002_HasCamera", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_HasCamera", 1); + check_ptr_parameter("IVRTrackedCamera_002_HasCamera", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_009_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_009_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_009_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_009_WaitGetPoses", 4); + capi_IVRTrackedCamera_002_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraFrameSize", 1); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraFrameSize", 2); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraIntrinisics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_009_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_009_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_009_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_009_GetLastPoses", 4); + capi_IVRTrackedCamera_002_GetCameraIntrinisics(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", 1); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", 2); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", (void *)3); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", (void *)4); - init_thunk(t, this_ptr_value, IVRCompositor_009_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_009_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_009_Submit", 1); - check_ptr_parameter("IVRCompositor_009_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_009_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_009_Submit", 4); + capi_IVRTrackedCamera_002_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraProjection", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraProjection", 1); + check_uint32_parameter("IVRTrackedCamera_002_GetCameraProjection", 2); + check_float_parameter("IVRTrackedCamera_002_GetCameraProjection", 3.0f); + check_float_parameter("IVRTrackedCamera_002_GetCameraProjection", 4.0f); + check_ptr_parameter("IVRTrackedCamera_002_GetCameraProjection", (void *)5); - init_thunk(t, this_ptr_value, IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_ClearLastSubmittedFrame)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_009_ClearLastSubmittedFrame", this_ptr_value); + capi_IVRTrackedCamera_002_AcquireVideoStreamingService(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", 1); + check_ptr_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", (void *)2); - init_thunk(t, this_ptr_value, IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_PostPresentHandoff)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_009_PostPresentHandoff", this_ptr_value); + capi_IVRTrackedCamera_002_ReleaseVideoStreamingService(1); + check_ptr_parameter("IVRTrackedCamera_002_ReleaseVideoStreamingService", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_ReleaseVideoStreamingService", 1); - init_thunk(t, this_ptr_value, IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRCompositor_009_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_009_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_009_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_009_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_009_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_009_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_009_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_009_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_009_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_009_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_009_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_009_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_009_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_009_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_009_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_009_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_009_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_009_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorQuit(); - check_ptr_parameter("IVRCompositor_009_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_IsFullscreen(); - check_ptr_parameter("IVRCompositor_009_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_009_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_009_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_009_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_009_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CanRenderScene(); - check_ptr_parameter("IVRCompositor_009_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_009_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_009_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_009_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_009_CompositorDumpImages", this_ptr_value); + capi_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 1); + check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 2); + check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", (void *)3); + check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 4); + check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", (void *)5); + check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 6); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_009(void) +void test_capi_thunks_IVRTrackedCamera_003(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRTrackedCamera_003_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", (void *)2); + capi_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(1); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_009_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_009_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_009_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_009_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_009_GetProjectionMatrix", 4); + capi_IVRTrackedCamera_003_HasCamera(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_003_HasCamera", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_HasCamera", 1); + check_ptr_parameter("IVRTrackedCamera_003_HasCamera", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)5); + capi_IVRTrackedCamera_003_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraFrameSize", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraFrameSize", 2); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_009_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; clear_parameters(); - capi_IVRSystem_009_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_009_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_009_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_009_ComputeDistortion", 1); - check_float_parameter("IVRSystem_009_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_009_ComputeDistortion", 3.0f); + capi_IVRTrackedCamera_003_GetCameraIntrinsics(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", 2); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", (void *)3); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", (void *)4); - init_thunk(t, this_ptr_value, IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_009_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetEyeToHeadTransform", 1); + capi_IVRTrackedCamera_003_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraProjection", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraProjection", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetCameraProjection", 2); + check_float_parameter("IVRTrackedCamera_003_GetCameraProjection", 3.0f); + check_float_parameter("IVRTrackedCamera_003_GetCameraProjection", 4.0f); + check_ptr_parameter("IVRTrackedCamera_003_GetCameraProjection", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", (void *)2); + capi_IVRTrackedCamera_003_AcquireVideoStreamingService(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", 1); + check_ptr_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_009_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_009_GetD3D9AdapterIndex", this_ptr_value); + capi_IVRTrackedCamera_003_ReleaseVideoStreamingService(1); + check_ptr_parameter("IVRTrackedCamera_003_ReleaseVideoStreamingService", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_003_ReleaseVideoStreamingService", 1); - init_thunk(t, this_ptr_value, IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_009_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetDXGIOutputInfo", (void *)1); + capi_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 2); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", (void *)3); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 4); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", (void *)5); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 6); - init_thunk(t, this_ptr_value, IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_IsDisplayOnDesktop)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_009_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_009_IsDisplayOnDesktop", this_ptr_value); + capi_IVRTrackedCamera_003_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", 2); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRSystem_009_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_009_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_009_SetDisplayVisibility", 1); + capi_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 2); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)3); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)4); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)5); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 6); - init_thunk(t, this_ptr_value, IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 4); + capi_IVRTrackedCamera_003_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 2); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", (void *)3); + check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", (void *)4); + check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 5); - init_thunk(t, this_ptr_value, IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_ResetSeatedZeroPose)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; clear_parameters(); - capi_IVRSystem_009_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_009_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_009_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_009_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_009_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_009_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_009_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_009_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_009_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_009_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_009_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_009_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_009_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_009_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_009_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_009_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_009_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_009_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_009_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetControllerState", 1); - check_ptr_parameter("IVRSystem_009_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_009_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_009_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_009_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_009_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_009_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_009_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_009_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_009_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_009_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_009_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_009_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_009_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_009_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_009_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_009_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_009_AcknowledgeQuit_UserPrompt", this_ptr_value); + capi_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(1, 2); + check_ptr_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", 2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVROverlay_007(void) +void test_capi_thunks_IVRTrackedCamera_004(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVROverlay_007_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRTrackedCamera_004_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; clear_parameters(); - capi_IVROverlay_007_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_007_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_007_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_007_FindOverlay", (void *)2); + capi_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(1); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; clear_parameters(); - capi_IVROverlay_007_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)3); + capi_IVRTrackedCamera_004_HasCamera(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_004_HasCamera", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_HasCamera", 1); + check_ptr_parameter("IVRTrackedCamera_004_HasCamera", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; clear_parameters(); - capi_IVROverlay_007_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_007_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_DestroyOverlay", 1); + capi_IVRTrackedCamera_004_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraFrameSize", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraFrameSize", 2); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; clear_parameters(); - capi_IVROverlay_007_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_007_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetHighQualityOverlay", 1); + capi_IVRTrackedCamera_004_GetCameraIntrinsics(1, 2, (void *)3, (void *)4); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", 2); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", (void *)3); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", (void *)4); - init_thunk(t, this_ptr_value, IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_007_GetHighQualityOverlay)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; clear_parameters(); - capi_IVROverlay_007_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_007_GetHighQualityOverlay", this_ptr_value); + capi_IVRTrackedCamera_004_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraProjection", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraProjection", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetCameraProjection", 2); + check_float_parameter("IVRTrackedCamera_004_GetCameraProjection", 3.0f); + check_float_parameter("IVRTrackedCamera_004_GetCameraProjection", 4.0f); + check_ptr_parameter("IVRTrackedCamera_004_GetCameraProjection", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_007_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVROverlay_007_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_007_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_007_GetOverlayKey", (void *)4); + capi_IVRTrackedCamera_004_AcquireVideoStreamingService(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", 1); + check_ptr_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", (void *)2); - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_007_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; clear_parameters(); - capi_IVROverlay_007_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_007_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_007_GetOverlayName", (void *)4); + capi_IVRTrackedCamera_004_ReleaseVideoStreamingService(1); + check_ptr_parameter("IVRTrackedCamera_004_ReleaseVideoStreamingService", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_004_ReleaseVideoStreamingService", 1); - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVROverlay_007_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_007_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)5); + capi_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 2); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", (void *)3); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 4); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", (void *)5); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 6); - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_007_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVROverlay_007_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_007_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_007_GetOverlayErrorNameFromEnum", 1); + capi_IVRTrackedCamera_004_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", 2); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)5); - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVROverlay_007_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_007_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_007_SetOverlayFlag", 1); + capi_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 2); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)3); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)4); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)5); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 6); - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVROverlay_007_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_007_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_007_GetOverlayFlag", (void *)3); + capi_IVRTrackedCamera_004_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 2); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", (void *)3); + check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", (void *)4); + check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 5); - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; clear_parameters(); - capi_IVROverlay_007_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayColor", 1); - check_float_parameter("IVROverlay_007_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_007_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_007_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_007_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_007_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_007_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowOverlay(1); - check_ptr_parameter("IVROverlay_007_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_HideOverlay(1); - check_ptr_parameter("IVROverlay_007_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_007_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_007_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_007_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_007_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_007_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_007_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_007_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_007_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_007_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_007_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_007_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_007_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_007_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_007_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_007_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_007_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_007_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_007_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_007_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_007_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_007_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_007_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_007_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_007_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_007_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_007_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_007_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_007_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_007_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_007_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_007_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_007_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_007_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_007_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_007_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_007_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_HideKeyboard(); - check_ptr_parameter("IVROverlay_007_HideKeyboard", this_ptr_value); + capi_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(1, 2); + check_ptr_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", 2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRSystem_006(void) +void test_capi_thunks_IVRTrackedCamera_005(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRTrackedCamera_005_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)4); + capi_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(1); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", (void *)2); + capi_IVRTrackedCamera_005_HasCamera(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_005_HasCamera", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_HasCamera", 1); + check_ptr_parameter("IVRTrackedCamera_005_HasCamera", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)5); + capi_IVRTrackedCamera_005_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraFrameSize", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraFrameSize", 2); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_006_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_006_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_006_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_006_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_006_GetProjectionMatrix", 4); + capi_IVRTrackedCamera_005_GetCameraIntrinsics(1, 2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 2); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 3); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", (void *)4); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)5); + capi_IVRTrackedCamera_005_GetCameraProjection(1, 2, 3, 4.0f, 5.0f, (void *)6); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraProjection", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 2); + check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 3); + check_float_parameter("IVRTrackedCamera_005_GetCameraProjection", 4.0f); + check_float_parameter("IVRTrackedCamera_005_GetCameraProjection", 5.0f); + check_ptr_parameter("IVRTrackedCamera_005_GetCameraProjection", (void *)6); - init_thunk(t, this_ptr_value, IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_006_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRSystem_006_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_006_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_006_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_006_ComputeDistortion", 1); - check_float_parameter("IVRSystem_006_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_006_ComputeDistortion", 3.0f); + capi_IVRTrackedCamera_005_AcquireVideoStreamingService(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", 1); + check_ptr_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", (void *)2); - init_thunk(t, this_ptr_value, IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_006_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetEyeToHeadTransform", 1); + capi_IVRTrackedCamera_005_ReleaseVideoStreamingService(1); + check_ptr_parameter("IVRTrackedCamera_005_ReleaseVideoStreamingService", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_005_ReleaseVideoStreamingService", 1); - init_thunk(t, this_ptr_value, IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", (void *)2); + capi_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 2); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", (void *)3); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 4); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", (void *)5); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 6); - init_thunk(t, this_ptr_value, IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_006_GetD3D9AdapterIndex)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_006_GetD3D9AdapterIndex", this_ptr_value); + capi_IVRTrackedCamera_005_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", 2); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)5); - init_thunk(t, this_ptr_value, IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", (void *)2); + capi_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 2); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)3); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)4); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)5); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 6); - init_thunk(t, this_ptr_value, IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_AttachToWindow)(void * hWnd) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRSystem_006_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_006_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_006_AttachToWindow", (void *)1); + capi_IVRTrackedCamera_005_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 2); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", (void *)3); + check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", (void *)4); + check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 5); - init_thunk(t, this_ptr_value, IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; clear_parameters(); - capi_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_006_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass)(TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_006_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_006_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_006_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_006_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_006_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_006_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_006_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_006_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_006_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_006_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_006_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_006_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_006_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_006_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_006_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetControllerState", 1); - check_ptr_parameter("IVRSystem_006_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_006_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_006_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_006_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_006_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_006_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_006_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_006_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_006_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_006_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_006_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_006_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); - VRFirmwareError (__stdcall *capi_IVRSystem_006_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_006_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_006_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_006_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_006_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_006_SetDisplayVisibility", 1); + capi_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(1, 2); + check_ptr_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", 2); VirtualFree(t, 0, MEM_RELEASE); } -void test_capi_thunks_IVRApplications_001(void) +void test_capi_thunks_IVRTrackedCamera_006(void) { struct thunk *t = alloc_thunks(1); - init_thunk(t, this_ptr_value, IVRApplications_001_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + const char * (__stdcall *capi_IVRTrackedCamera_006_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; clear_parameters(); - capi_IVRApplications_001_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_001_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_001_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_001_AddApplicationManifest", 1); + capi_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(1); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraErrorNameFromEnum", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraErrorNameFromEnum", 1); - init_thunk(t, this_ptr_value, IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; clear_parameters(); - capi_IVRApplications_001_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_001_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_001_RemoveApplicationManifest", (void *)1); + capi_IVRTrackedCamera_006_HasCamera(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_006_HasCamera", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_HasCamera", 1); + check_ptr_parameter("IVRTrackedCamera_006_HasCamera", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_001_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; clear_parameters(); - capi_IVRApplications_001_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_001_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_001_IsApplicationInstalled", (void *)1); + capi_IVRTrackedCamera_006_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraFrameSize", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraFrameSize", 2); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationCount)() = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationCount(); - check_ptr_parameter("IVRApplications_001_GetApplicationCount", this_ptr_value); + capi_IVRTrackedCamera_006_GetCameraIntrinsics(1, 2, 3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 2); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 3); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", (void *)4); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByIndex", 3); + capi_IVRTrackedCamera_006_GetCameraProjection(1, 2, 3, 4.0f, 5.0f, (void *)6); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraProjection", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 2); + check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 3); + check_float_parameter("IVRTrackedCamera_006_GetCameraProjection", 4.0f); + check_float_parameter("IVRTrackedCamera_006_GetCameraProjection", 5.0f); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraProjection", (void *)6); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByProcessId", 3); + capi_IVRTrackedCamera_006_AcquireVideoStreamingService(1, (void *)2); + check_ptr_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", 1); + check_ptr_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", (void *)2); - init_thunk(t, this_ptr_value, IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_LaunchApplication)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; clear_parameters(); - capi_IVRApplications_001_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_001_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_LaunchApplication", (void *)1); + capi_IVRTrackedCamera_006_ReleaseVideoStreamingService(1); + check_ptr_parameter("IVRTrackedCamera_006_ReleaseVideoStreamingService", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_006_ReleaseVideoStreamingService", 1); - init_thunk(t, this_ptr_value, IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRApplications_001_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_001_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_001_LaunchDashboardOverlay", (void *)1); + capi_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 2); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", (void *)3); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 4); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", (void *)5); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 6); - init_thunk(t, this_ptr_value, IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; clear_parameters(); - capi_IVRApplications_001_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_001_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_001_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_001_IdentifyApplication", (void *)2); + capi_IVRTrackedCamera_006_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", 2); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)3); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)4); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)5); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_001_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationProcessId", (void *)1); + capi_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 2); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)3); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)4); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)5); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 6); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_001_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_001_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationsErrorNameFromEnum", 1); + capi_IVRTrackedCamera_006_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 2); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", (void *)3); + check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", (void *)4); + check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 5); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_001_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_001_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)5); + capi_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(1, 2); + check_ptr_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", this_ptr_value); + check_uint64_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", 1); + check_uint32_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", 2); - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_001_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); + void (__stdcall *capi_IVRTrackedCamera_006_SetCameraTrackingSpace)(ETrackingUniverseOrigin eUniverse) = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_001_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", (void *)3); + capi_IVRTrackedCamera_006_SetCameraTrackingSpace(1); + check_ptr_parameter("IVRTrackedCamera_006_SetCameraTrackingSpace", this_ptr_value); + check_uint32_parameter("IVRTrackedCamera_006_SetCameraTrackingSpace", 1); - init_thunk(t, this_ptr_value, IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetHomeApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; + init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); + ETrackingUniverseOrigin (__stdcall *capi_IVRTrackedCamera_006_GetCameraTrackingSpace)() = (void *)t; clear_parameters(); - capi_IVRApplications_001_GetHomeApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_001_GetHomeApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetHomeApplication", (void *)1); - check_uint32_parameter("IVRApplications_001_GetHomeApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_SetHomeApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_SetHomeApplication((void *)1); - check_ptr_parameter("IVRApplications_001_SetHomeApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_SetHomeApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_001_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_001_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_001_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_001_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_001_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_001_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_001_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_001_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetTransitionState(); - check_ptr_parameter("IVRApplications_001_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_001_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_001_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_001_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationsTransitionStateNameFromEnum", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperone_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetCalibrationState, 0, FALSE, FALSE); - ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_002_GetCalibrationState)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetCalibrationState(); - check_ptr_parameter("IVRChaperone_002_GetCalibrationState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetSoftBoundsInfo, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_GetSoftBoundsInfo)(ChaperoneSoftBoundsInfo_t * pInfo) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetSoftBoundsInfo((void *)1); - check_ptr_parameter("IVRChaperone_002_GetSoftBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetSoftBoundsInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetHardBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_GetHardBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetHardBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetSeatedBoundsInfo, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_GetSeatedBoundsInfo)(ChaperoneSeatedBoundsInfo_t * pInfo) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetSeatedBoundsInfo((void *)1); - check_ptr_parameter("IVRChaperone_002_GetSeatedBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetSeatedBoundsInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_002_ReloadInfo, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_ReloadInfo)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_ReloadInfo(); - check_ptr_parameter("IVRChaperone_002_ReloadInfo", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_002_SetSceneColor, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_SetSceneColor)(HmdColor_t color) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_SetSceneColor(DEFAULT_COLOR); - check_ptr_parameter("IVRChaperone_002_SetSceneColor", this_ptr_value); - check_HmdColor_parameter("IVRChaperone_002_SetSceneColor", DEFAULT_COLOR); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetBoundsColor, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetBoundsColor((void *)1, 2); - check_ptr_parameter("IVRChaperone_002_GetBoundsColor", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetBoundsColor", (void *)1); - check_uint32_parameter("IVRChaperone_002_GetBoundsColor", 2); - - init_thunk(t, this_ptr_value, IVRChaperone_002_AreBoundsVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_AreBoundsVisible)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_AreBoundsVisible(); - check_ptr_parameter("IVRChaperone_002_AreBoundsVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_ForceBoundsVisible)(bool bForce) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_ForceBoundsVisible(1); - check_ptr_parameter("IVRChaperone_002_ForceBoundsVisible", this_ptr_value); - check_bool_parameter("IVRChaperone_002_ForceBoundsVisible", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_008(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_008_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_008_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_008_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_008_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetVSync(1); - check_ptr_parameter("IVRCompositor_008_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_008_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetVSync(); - check_ptr_parameter("IVRCompositor_008_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_008_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_008_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_008_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetGamma(); - check_ptr_parameter("IVRCompositor_008_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_008_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_008_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_008_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_008_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_008_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_008_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_008_Submit, 5, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_008_Submit)(Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_Submit(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRCompositor_008_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_008_Submit", 1); - check_uint32_parameter("IVRCompositor_008_Submit", 2); - check_ptr_parameter("IVRCompositor_008_Submit", (void *)3); - check_ptr_parameter("IVRCompositor_008_Submit", (void *)4); - check_uint32_parameter("IVRCompositor_008_Submit", 5); - - init_thunk(t, this_ptr_value, IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_008_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_008_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_008_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_008_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_008_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_008_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_008_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_008_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_008_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_008_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_008_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_008_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetSkyboxOverride)(GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetSkyboxOverride(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", this_ptr_value); - check_uint32_parameter("IVRCompositor_008_SetSkyboxOverride", 1); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)2); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)3); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)4); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)5); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)6); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)7); - - init_thunk(t, this_ptr_value, IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_008_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_008_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_008_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorQuit(); - check_ptr_parameter("IVRCompositor_008_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_IsFullscreen(); - check_ptr_parameter("IVRCompositor_008_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_008_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_008_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_008_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_008_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_008_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_008_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CanRenderScene(); - check_ptr_parameter("IVRCompositor_008_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_008_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_008_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_008_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_008_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_008_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_008_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_008_GetLastFrameRenderer", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRNotifications_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRNotifications_001_GetErrorString, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRNotifications_001_GetErrorString)(NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_001_GetErrorString(1, (void *)2, 3); - check_ptr_parameter("IVRNotifications_001_GetErrorString", this_ptr_value); - check_uint32_parameter("IVRNotifications_001_GetErrorString", 1); - check_ptr_parameter("IVRNotifications_001_GetErrorString", (void *)2); - check_uint32_parameter("IVRNotifications_001_GetErrorString", 3); - - init_thunk(t, this_ptr_value, IVRNotifications_001_CreateNotification, 7, FALSE, FALSE); - NotificationError_t (__stdcall *capi_IVRNotifications_001_CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_001_CreateNotification(1, 2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7); - check_ptr_parameter("IVRNotifications_001_CreateNotification", this_ptr_value); - check_uint64_parameter("IVRNotifications_001_CreateNotification", 1); - check_uint64_parameter("IVRNotifications_001_CreateNotification", 2); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)3); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)4); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)5); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)6); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)7); - - init_thunk(t, this_ptr_value, IVRNotifications_001_DismissNotification, 1, FALSE, FALSE); - NotificationError_t (__stdcall *capi_IVRNotifications_001_DismissNotification)(VRNotificationId notificationId) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_001_DismissNotification(1); - check_ptr_parameter("IVRNotifications_001_DismissNotification", this_ptr_value); - check_uint32_parameter("IVRNotifications_001_DismissNotification", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_005_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_005_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_005_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_005_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_005_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_005_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_005_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_005_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_005_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_005_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_005_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_005_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_005_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_005_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_005_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_005_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_005_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_005_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_005_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_005_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_005_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_005_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayColor", 1); - check_float_parameter("IVROverlay_005_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_005_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_005_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_005_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_005_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_005_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_005_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ShowOverlay(1); - check_ptr_parameter("IVROverlay_005_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_HideOverlay(1); - check_ptr_parameter("IVROverlay_005_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_005_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_005_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_005_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_005_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_005_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_005_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_005_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_005_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsFocusOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsFocusOverlay(1); - check_ptr_parameter("IVROverlay_005_IsFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_IsFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_005_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_005_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_005_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_005_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_005_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_005_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_005_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_005_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_005_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_005_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1); - check_ptr_parameter("IVROverlay_005_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_005_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_005_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_005_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_005_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_005_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_005_ShowKeyboard", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_005_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_005_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_005_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_005_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_005_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_HideKeyboard(); - check_ptr_parameter("IVROverlay_005_HideKeyboard", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_LoadRenderModel, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_001_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_LoadRenderModel((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", (void *)1); - check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_001_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_001_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_001_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_001_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_001_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_001_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_001_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_001_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_001_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_001_GetRenderModelCount", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_005_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_005_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_005_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_005_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_005_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_005_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_005_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_005_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_005_ComputeDistortion", 1); - check_float_parameter("IVRSystem_005_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_005_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_005_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_005_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_005_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_005_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_005_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_005_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass)(TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_005_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_005_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_005_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_005_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_005_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_005_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_005_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_005_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_005_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_005_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_005_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_005_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_005_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetControllerState", 1); - check_ptr_parameter("IVRSystem_005_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_005_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_005_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_005_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_005_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_005_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_005_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_005_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_005_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_005_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_005_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_005_DriverDebugRequest", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_007(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_007_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_007_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_007_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_007_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_007_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_SetVSync(1); - check_ptr_parameter("IVRCompositor_007_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_007_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetVSync(); - check_ptr_parameter("IVRCompositor_007_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_007_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_007_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_007_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_007_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetGamma(); - check_ptr_parameter("IVRCompositor_007_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_007_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_007_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_007_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_007_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_007_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_007_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_007_Submit, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_007_Submit)(Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_Submit(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRCompositor_007_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_007_Submit", 1); - check_uint32_parameter("IVRCompositor_007_Submit", 2); - check_ptr_parameter("IVRCompositor_007_Submit", (void *)3); - check_ptr_parameter("IVRCompositor_007_Submit", (void *)4); - - init_thunk(t, this_ptr_value, IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_007_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_007_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_007_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_007_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_007_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_007_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_007_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_007_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_007_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_007_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_007_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_007_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_007_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_007_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CompositorQuit(); - check_ptr_parameter("IVRCompositor_007_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_IsFullscreen(); - check_ptr_parameter("IVRCompositor_007_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_007_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_007_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_007_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_007_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_007_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_007_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CanRenderScene(); - check_ptr_parameter("IVRCompositor_007_CanRenderScene", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_004_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_004_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_004_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_004_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_004_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_004_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_004_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_004_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_004_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_004_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_004_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_004_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_004_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_004_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_004_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_004_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_004_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_004_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_004_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_004_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_004_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_004_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayColor", 1); - check_float_parameter("IVROverlay_004_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_004_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_004_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_004_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_004_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_004_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_004_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ShowOverlay(1); - check_ptr_parameter("IVROverlay_004_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_HideOverlay(1); - check_ptr_parameter("IVROverlay_004_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_004_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_004_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_004_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_004_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_004_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_004_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_004_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_004_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_004_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_004_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_004_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_004_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_004_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_004_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_004_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_004_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_004_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_004_ShowDashboard", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_003_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_003_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_003_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_003_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_003_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_003_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_003_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_003_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_003_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_003_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_003_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_003_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_003_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_003_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_003_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_003_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_003_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_003_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_003_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_003_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_003_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_003_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayColor", 1); - check_float_parameter("IVROverlay_003_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_003_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_003_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_003_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_003_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_003_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_003_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ShowOverlay(1); - check_ptr_parameter("IVROverlay_003_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_HideOverlay(1); - check_ptr_parameter("IVROverlay_003_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_003_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_003_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_003_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_003_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_003_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_003_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_003_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_003_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_003_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_003_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_003_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_003_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_003_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_003_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_003_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_003_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_003_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_003_ShowDashboard", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_002_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_002_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_002_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_002_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_002_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_002_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_002_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_002_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_002_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_002_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_002_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_002_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_002_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_002_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_002_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayColor", 1); - check_float_parameter("IVROverlay_002_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_002_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_002_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_002_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_002_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_002_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_002_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_ShowOverlay(1); - check_ptr_parameter("IVROverlay_002_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_HideOverlay(1); - check_ptr_parameter("IVROverlay_002_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_002_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_002_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_002_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_002_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_002_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_002_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_002_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_002_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_002_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_002_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_002_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_002_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_002_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_002_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_002_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_004_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_004_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_004_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_004_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_004_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_004_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_004_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_004_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_004_ComputeDistortion", 1); - check_float_parameter("IVRSystem_004_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_004_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_004_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_004_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_004_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_004_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_004_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_004_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_004_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_004_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_004_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_004_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_004_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_004_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_004_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_004_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_004_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_004_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_004_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_004_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_004_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetControllerState", 1); - check_ptr_parameter("IVRSystem_004_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_004_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_004_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_004_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_004_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_004_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_004_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_004_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_004_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_004_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_004_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_004_DriverDebugRequest", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_006_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_006_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_006_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_006_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetVSync(1); - check_ptr_parameter("IVRCompositor_006_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_006_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetVSync(); - check_ptr_parameter("IVRCompositor_006_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_006_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_006_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_006_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetGamma(); - check_ptr_parameter("IVRCompositor_006_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetGraphicsDevice)(Compositor_DeviceType eType, void * pDevice) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetGraphicsDevice(1, (void *)2); - check_ptr_parameter("IVRCompositor_006_SetGraphicsDevice", this_ptr_value); - check_uint32_parameter("IVRCompositor_006_SetGraphicsDevice", 1); - check_ptr_parameter("IVRCompositor_006_SetGraphicsDevice", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_006_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_006_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_006_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_006_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_006_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_006_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_006_Submit, 3, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_006_Submit)(Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_Submit(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_006_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_006_Submit", 1); - check_ptr_parameter("IVRCompositor_006_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_006_Submit", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_006_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_006_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_006_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_006_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_006_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_006_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_006_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_006_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_006_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_006_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_006_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_006_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_006_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_006_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CompositorQuit(); - check_ptr_parameter("IVRCompositor_006_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_IsFullscreen(); - check_ptr_parameter("IVRCompositor_006_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_006_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_006_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_006_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_006_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_006_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_006_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CanRenderScene(); - check_ptr_parameter("IVRCompositor_006_CanRenderScene", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_001_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_001_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_001_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_001_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_001_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_001_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_001_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_001_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_001_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_001_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_001_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_001_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_001_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_001_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_001_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_001_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_001_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_001_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_001_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_001_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_001_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_001_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayVisibility)(VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayVisibility(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayVisibility", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayVisibility", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayVisibility", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayVisibility)(VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayVisibility(1, 2); - check_ptr_parameter("IVROverlay_001_SetOverlayVisibility", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayVisibility", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayVisibility", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_ShowOverlay(1); - check_ptr_parameter("IVROverlay_001_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_HideOverlay(1); - check_ptr_parameter("IVROverlay_001_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_001_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_001_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_001_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_001_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_001_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_001_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_001_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_001_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_IsSystemOverlayVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_IsSystemOverlayVisible(); - check_ptr_parameter("IVROverlay_001_IsSystemOverlayVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_IsActiveSystemOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_IsActiveSystemOverlay(1); - check_ptr_parameter("IVROverlay_001_IsActiveSystemOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_IsActiveSystemOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetSystemOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetSystemOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetSystemOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetSystemOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_003_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_003_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_003_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_003_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_003_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_003_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_003_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_003_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_003_ComputeDistortion", 1); - check_float_parameter("IVRSystem_003_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_003_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_003_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_003_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_003_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_003_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_003_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_003_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_LoadRenderModel((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_LoadRenderModel", this_ptr_value); - check_ptr_parameter("IVRSystem_003_LoadRenderModel", (void *)1); - check_ptr_parameter("IVRSystem_003_LoadRenderModel", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_FreeRenderModel((void *)1); - check_ptr_parameter("IVRSystem_003_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRSystem_003_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_003_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_003_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_003_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_003_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_003_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_003_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_003_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_003_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_003_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_003_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_003_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_003_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_003_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetControllerState", 1); - check_ptr_parameter("IVRSystem_003_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_003_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_003_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_HandleControllerOverlayInteractionAsMouse)(Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_HandleControllerOverlayInteractionAsMouse((void *)1, DEFAULT_VECTOR2, DEFAULT_VECTOR2, 4, 5); - check_ptr_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_ptr_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", (void *)1); - check_HmdVector2_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", DEFAULT_VECTOR2); - check_HmdVector2_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", DEFAULT_VECTOR2); - check_uint32_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", 4); - check_uint32_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", 5); - - init_thunk(t, this_ptr_value, IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_003_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_003_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_003_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_005_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_005_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_005_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetVSync(1); - check_ptr_parameter("IVRCompositor_005_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_005_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetVSync(); - check_ptr_parameter("IVRCompositor_005_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_005_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_005_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_005_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetGamma(); - check_ptr_parameter("IVRCompositor_005_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetGraphicsDevice)(Compositor_DeviceType eType, void * pDevice) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetGraphicsDevice(1, (void *)2); - check_ptr_parameter("IVRCompositor_005_SetGraphicsDevice", this_ptr_value); - check_uint32_parameter("IVRCompositor_005_SetGraphicsDevice", 1); - check_ptr_parameter("IVRCompositor_005_SetGraphicsDevice", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_WaitGetPoses)(TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_WaitGetPoses((void *)1, 2); - check_ptr_parameter("IVRCompositor_005_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_005_WaitGetPoses", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_Submit, 3, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_Submit)(Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_Submit(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_005_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_005_Submit", 1); - check_ptr_parameter("IVRCompositor_005_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_005_Submit", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_005_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_GetOverlayDefaults)(Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetOverlayDefaults((void *)1); - check_ptr_parameter("IVRCompositor_005_GetOverlayDefaults", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_GetOverlayDefaults", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetOverlay)(void * pTexture, Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetOverlay((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_005_SetOverlay", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_SetOverlay", (void *)1); - check_ptr_parameter("IVRCompositor_005_SetOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetOverlayRaw)(void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetOverlayRaw((void *)1, 2, 3, 4, (void *)5); - check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", (void *)1); - check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 2); - check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 3); - check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 4); - check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetOverlayFromFile)(const char * pchFilePath, Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetOverlayFromFile((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", (void *)1); - check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_ClearOverlay)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_ClearOverlay(); - check_ptr_parameter("IVRCompositor_005_ClearOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_005_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_005_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_005_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_005_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_005_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_005_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_005_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_005_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_005_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_005_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_005_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_005_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_CompositorQuit(); - check_ptr_parameter("IVRCompositor_005_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_IsFullscreen(); - check_ptr_parameter("IVRCompositor_005_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_ComputeOverlayIntersection)(Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_ComputeOverlayIntersection((void *)1, 2.0f, 3, DEFAULT_VECTOR3, DEFAULT_VECTOR3, (void *)6, (void *)7); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)1); - check_float_parameter("IVRCompositor_005_ComputeOverlayIntersection", 2.0f); - check_uint32_parameter("IVRCompositor_005_ComputeOverlayIntersection", 3); - check_HmdVector3_parameter("IVRCompositor_005_ComputeOverlayIntersection", DEFAULT_VECTOR3); - check_HmdVector3_parameter("IVRCompositor_005_ComputeOverlayIntersection", DEFAULT_VECTOR3); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)6); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)7); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_005_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_005_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_005_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_005_GetTrackingSpace", this_ptr_value); + capi_IVRTrackedCamera_006_GetCameraTrackingSpace(); + check_ptr_parameter("IVRTrackedCamera_006_GetCameraTrackingSpace", this_ptr_value); VirtualFree(t, 0, MEM_RELEASE); } diff --git a/vrclient_x64/tests/main_autogen.c b/vrclient_x64/tests/main_autogen.c index c041f17e..27b6e700 100644 --- a/vrclient_x64/tests/main_autogen.c +++ b/vrclient_x64/tests/main_autogen.c @@ -5,112 +5,112 @@ int main(void) { - test_capi_thunks_IVRSystem_022(); - test_capi_thunks_IVRApplications_007(); - test_capi_thunks_IVRSettings_003(); - test_capi_thunks_IVRChaperone_004(); - test_capi_thunks_IVRChaperoneSetup_006(); - test_capi_thunks_IVRCompositor_027(); - test_capi_thunks_IVRHeadsetView_001(); - test_capi_thunks_IVRNotifications_002(); - test_capi_thunks_IVROverlay_027(); - test_capi_thunks_IVROverlayView_003(); - test_capi_thunks_IVRRenderModels_006(); - test_capi_thunks_IVRExtendedDisplay_001(); - test_capi_thunks_IVRTrackedCamera_006(); - test_capi_thunks_IVRScreenshots_001(); - test_capi_thunks_IVRResources_001(); - test_capi_thunks_IVRDriverManager_001(); - test_capi_thunks_IVRInput_010(); - test_capi_thunks_IVRIOBuffer_002(); - test_capi_thunks_IVRClientCore_003(); - test_capi_thunks_IVROverlay_026(); - test_capi_thunks_IVROverlay_025(); - test_capi_thunks_IVRCompositor_026(); - test_capi_thunks_IVROverlay_024(); - test_capi_thunks_IVRSystem_021(); - test_capi_thunks_IVRChaperone_003(); - test_capi_thunks_IVRControlPanel_006(); - test_capi_thunks_IVRMailbox_001(); - test_capi_thunks_IVRCompositor_024(); - test_capi_thunks_IVROverlay_022(); - test_capi_thunks_IVRInput_007(); - test_capi_thunks_IVRSettings_002(); - test_capi_thunks_IVRCompositor_022(); - test_capi_thunks_IVROverlay_021(); - test_capi_thunks_IVRSystem_020(); - test_capi_thunks_IVRApplications_006(); - test_capi_thunks_IVROverlay_020(); - test_capi_thunks_IVROverlay_019(); - test_capi_thunks_IVRTrackedCamera_005(); - test_capi_thunks_IVRSystem_019(); - test_capi_thunks_IVRInput_006(); - test_capi_thunks_IVRInput_005(); - test_capi_thunks_IVRIOBuffer_001(); - test_capi_thunks_IVRChaperoneSetup_005(); - test_capi_thunks_IVROverlay_018(); - test_capi_thunks_IVRTrackedCamera_004(); - test_capi_thunks_IVRInput_004(); - test_capi_thunks_IVRTrackedCamera_003(); - test_capi_thunks_IVRRenderModels_005(); - test_capi_thunks_IVRInput_003(); - test_capi_thunks_IVRSystem_017(); - test_capi_thunks_IVROverlay_017(); - test_capi_thunks_IVRCompositor_021(); - test_capi_thunks_IVROverlay_016(); - test_capi_thunks_IVRSystem_016(); - test_capi_thunks_IVRCompositor_020(); - test_capi_thunks_IVRClientCore_002(); - test_capi_thunks_IVRSystem_015(); - test_capi_thunks_IVROverlay_014(); - test_capi_thunks_IVRCompositor_019(); - test_capi_thunks_IVRSystem_014(); - test_capi_thunks_IVRCompositor_018(); - test_capi_thunks_IVROverlay_013(); - test_capi_thunks_IVRCompositor_017(); - test_capi_thunks_IVRSystem_012(); - test_capi_thunks_IVRCompositor_016(); - test_capi_thunks_IVRSettings_001(); - test_capi_thunks_IVRApplications_005(); - test_capi_thunks_IVRCompositor_015(); - test_capi_thunks_IVROverlay_012(); - test_capi_thunks_IVRTrackedCamera_002(); - test_capi_thunks_IVRCompositor_014(); - test_capi_thunks_IVROverlay_011(); - test_capi_thunks_IVRCompositor_013(); - test_capi_thunks_IVRSystem_011(); - test_capi_thunks_IVRApplications_004(); - test_capi_thunks_IVROverlay_010(); - test_capi_thunks_IVRRenderModels_004(); - test_capi_thunks_IVRCompositor_012(); - test_capi_thunks_IVRApplications_003(); - test_capi_thunks_IVRCompositor_011(); - test_capi_thunks_IVRRenderModels_002(); - test_capi_thunks_IVRSystem_010(); - test_capi_thunks_IVRApplications_002(); - test_capi_thunks_IVRChaperoneSetup_004(); - test_capi_thunks_IVRCompositor_010(); - test_capi_thunks_IVROverlay_008(); - test_capi_thunks_IVRTrackedCamera_001(); - test_capi_thunks_IVRCompositor_009(); - test_capi_thunks_IVRSystem_009(); - test_capi_thunks_IVROverlay_007(); - test_capi_thunks_IVRSystem_006(); test_capi_thunks_IVRApplications_001(); + test_capi_thunks_IVRApplications_002(); + test_capi_thunks_IVRApplications_003(); + test_capi_thunks_IVRApplications_004(); + test_capi_thunks_IVRApplications_005(); + test_capi_thunks_IVRApplications_006(); + test_capi_thunks_IVRApplications_007(); + test_capi_thunks_IVRChaperoneSetup_004(); + test_capi_thunks_IVRChaperoneSetup_005(); + test_capi_thunks_IVRChaperoneSetup_006(); test_capi_thunks_IVRChaperone_002(); - test_capi_thunks_IVRCompositor_008(); - test_capi_thunks_IVRNotifications_001(); - test_capi_thunks_IVROverlay_005(); - test_capi_thunks_IVRRenderModels_001(); - test_capi_thunks_IVRSystem_005(); - test_capi_thunks_IVRCompositor_007(); - test_capi_thunks_IVROverlay_004(); - test_capi_thunks_IVROverlay_003(); - test_capi_thunks_IVROverlay_002(); - test_capi_thunks_IVRSystem_004(); - test_capi_thunks_IVRCompositor_006(); - test_capi_thunks_IVROverlay_001(); - test_capi_thunks_IVRSystem_003(); + test_capi_thunks_IVRChaperone_003(); + test_capi_thunks_IVRChaperone_004(); + test_capi_thunks_IVRClientCore_002(); + test_capi_thunks_IVRClientCore_003(); test_capi_thunks_IVRCompositor_005(); + test_capi_thunks_IVRCompositor_006(); + test_capi_thunks_IVRCompositor_007(); + test_capi_thunks_IVRCompositor_008(); + test_capi_thunks_IVRCompositor_009(); + test_capi_thunks_IVRCompositor_010(); + test_capi_thunks_IVRCompositor_011(); + test_capi_thunks_IVRCompositor_012(); + test_capi_thunks_IVRCompositor_013(); + test_capi_thunks_IVRCompositor_014(); + test_capi_thunks_IVRCompositor_015(); + test_capi_thunks_IVRCompositor_016(); + test_capi_thunks_IVRCompositor_017(); + test_capi_thunks_IVRCompositor_018(); + test_capi_thunks_IVRCompositor_019(); + test_capi_thunks_IVRCompositor_020(); + test_capi_thunks_IVRCompositor_021(); + test_capi_thunks_IVRCompositor_022(); + test_capi_thunks_IVRCompositor_024(); + test_capi_thunks_IVRCompositor_026(); + test_capi_thunks_IVRCompositor_027(); + test_capi_thunks_IVRControlPanel_006(); + test_capi_thunks_IVRDriverManager_001(); + test_capi_thunks_IVRExtendedDisplay_001(); + test_capi_thunks_IVRHeadsetView_001(); + test_capi_thunks_IVRIOBuffer_001(); + test_capi_thunks_IVRIOBuffer_002(); + test_capi_thunks_IVRInput_003(); + test_capi_thunks_IVRInput_004(); + test_capi_thunks_IVRInput_005(); + test_capi_thunks_IVRInput_006(); + test_capi_thunks_IVRInput_007(); + test_capi_thunks_IVRInput_010(); + test_capi_thunks_IVRMailbox_001(); + test_capi_thunks_IVRNotifications_001(); + test_capi_thunks_IVRNotifications_002(); + test_capi_thunks_IVROverlayView_003(); + test_capi_thunks_IVROverlay_001(); + test_capi_thunks_IVROverlay_002(); + test_capi_thunks_IVROverlay_003(); + test_capi_thunks_IVROverlay_004(); + test_capi_thunks_IVROverlay_005(); + test_capi_thunks_IVROverlay_007(); + test_capi_thunks_IVROverlay_008(); + test_capi_thunks_IVROverlay_010(); + test_capi_thunks_IVROverlay_011(); + test_capi_thunks_IVROverlay_012(); + test_capi_thunks_IVROverlay_013(); + test_capi_thunks_IVROverlay_014(); + test_capi_thunks_IVROverlay_016(); + test_capi_thunks_IVROverlay_017(); + test_capi_thunks_IVROverlay_018(); + test_capi_thunks_IVROverlay_019(); + test_capi_thunks_IVROverlay_020(); + test_capi_thunks_IVROverlay_021(); + test_capi_thunks_IVROverlay_022(); + test_capi_thunks_IVROverlay_024(); + test_capi_thunks_IVROverlay_025(); + test_capi_thunks_IVROverlay_026(); + test_capi_thunks_IVROverlay_027(); + test_capi_thunks_IVRRenderModels_001(); + test_capi_thunks_IVRRenderModels_002(); + test_capi_thunks_IVRRenderModels_004(); + test_capi_thunks_IVRRenderModels_005(); + test_capi_thunks_IVRRenderModels_006(); + test_capi_thunks_IVRResources_001(); + test_capi_thunks_IVRScreenshots_001(); + test_capi_thunks_IVRSettings_001(); + test_capi_thunks_IVRSettings_002(); + test_capi_thunks_IVRSettings_003(); + test_capi_thunks_IVRSystem_003(); + test_capi_thunks_IVRSystem_004(); + test_capi_thunks_IVRSystem_005(); + test_capi_thunks_IVRSystem_006(); + test_capi_thunks_IVRSystem_009(); + test_capi_thunks_IVRSystem_010(); + test_capi_thunks_IVRSystem_011(); + test_capi_thunks_IVRSystem_012(); + test_capi_thunks_IVRSystem_014(); + test_capi_thunks_IVRSystem_015(); + test_capi_thunks_IVRSystem_016(); + test_capi_thunks_IVRSystem_017(); + test_capi_thunks_IVRSystem_019(); + test_capi_thunks_IVRSystem_020(); + test_capi_thunks_IVRSystem_021(); + test_capi_thunks_IVRSystem_022(); + test_capi_thunks_IVRTrackedCamera_001(); + test_capi_thunks_IVRTrackedCamera_002(); + test_capi_thunks_IVRTrackedCamera_003(); + test_capi_thunks_IVRTrackedCamera_004(); + test_capi_thunks_IVRTrackedCamera_005(); + test_capi_thunks_IVRTrackedCamera_006(); printf("All tests executed.\n"); } diff --git a/vrclient_x64/vrclient_x64/winIVRApplications.c b/vrclient_x64/vrclient_x64/winIVRApplications.c index 5ab4e422..881db005 100644 --- a/vrclient_x64/vrclient_x64/winIVRApplications.c +++ b/vrclient_x64/vrclient_x64/winIVRApplications.c @@ -18,331 +18,1286 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRApplications_IVRApplications_007.h" +#include "cppIVRApplications_IVRApplications_001.h" -typedef struct __winIVRApplications_IVRApplications_007 { +typedef struct __winIVRApplications_IVRApplications_001 { vtable_ptr *vtable; void *linux_side; -} winIVRApplications_IVRApplications_007; +} winIVRApplications_IVRApplications_001; -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_AddApplicationManifest, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) { char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + return cppIVRApplications_IVRApplications_001_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char * pchApplicationManifestFullPath) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char * pchApplicationManifestFullPath) { char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + return cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IsApplicationInstalled, 8) +bool __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_IsApplicationInstalled(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_001_IsApplicationInstalled(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(winIVRApplications_IVRApplications_007 *_this) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationCount, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(winIVRApplications_IVRApplications_001 *_this) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationCount(_this->linux_side); + return cppIVRApplications_IVRApplications_001_GetApplicationCount(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_007 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_001 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + return cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + return cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchApplication(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_001_LaunchApplication(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 20) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(winIVRApplications_IVRApplications_007 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); + return cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, const char * pchArgs) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IdentifyApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(_this->linux_side, pchMimeType, pchArgs); + return cppIVRApplications_IVRApplications_001_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationProcessId, 8) +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_001_GetApplicationProcessId(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationError error) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 24) +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyString(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + return cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 16) +bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationProcessId(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRApplicationError error) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetHomeApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(winIVRApplications_IVRApplications_001 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + return cppIVRApplications_IVRApplications_001_GetHomeApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyString(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetHomeApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + return cppIVRApplications_IVRApplications_001_SetHomeApplication(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, bool bAutoLaunch) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + return cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + return cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, bool bAutoLaunch) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetStartingApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(winIVRApplications_IVRApplications_001 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + return cppIVRApplications_IVRApplications_001_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetTransitionState, 4) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(winIVRApplications_IVRApplications_001 *_this) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_001_GetTransitionState(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, const char * pchMimeType) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(_this->linux_side, pchAppKey, pchMimeType); + return cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 16) -bool __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationTransitionState state) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(_this->linux_side, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); + return cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 16) -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(_this->linux_side, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 16) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(_this->linux_side, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 16) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(winIVRApplications_IVRApplications_007 *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(_this->linux_side, unHandle, pchArgs, unArgs); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(winIVRApplications_IVRApplications_007 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationState, 4) -EVRSceneApplicationState __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(winIVRApplications_IVRApplications_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetSceneApplicationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRSceneApplicationState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(winIVRApplications_IVRApplications_007 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(winIVRApplications_IVRApplications_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_007_vtable; +extern vtable_ptr winIVRApplications_IVRApplications_001_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRApplications_IVRApplications_007, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchTemplateApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchInternalProcess) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId) + __ASM_VTABLE(winIVRApplications_IVRApplications_001, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetHomeApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetHomeApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum) ); #ifndef __GNUC__ } #endif -winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007(void *linux_side) +winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001(void *linux_side) { - winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); + winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_007_vtable; + r->vtable = &winIVRApplications_IVRApplications_001_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRApplications_IVRApplications_007(void *object) +void destroy_winIVRApplications_IVRApplications_001(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007_FnTable(void *linux_side) +winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001_FnTable(void *linux_side) { - winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); - struct thunk *thunks = alloc_thunks(30); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 30 * sizeof(*vtable)); + winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); + struct thunk *thunks = alloc_thunks(21); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_007_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_007_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_007_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_007_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_007_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_007_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_007_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_007_GetSceneApplicationState, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_007_LaunchInternalProcess, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 0, FALSE, FALSE); - for (i = 0; i < 30; i++) + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_001_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + for (i = 0; i < 21; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_007_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_001_FnTable(void *object) { - winIVRApplications_IVRApplications_007 *win_object = object; + winIVRApplications_IVRApplications_001 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRApplications_IVRApplications_002.h" + +typedef struct __winIVRApplications_IVRApplications_002 { + vtable_ptr *vtable; + void *linux_side; +} winIVRApplications_IVRApplications_002; + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_AddApplicationManifest, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char * pchApplicationManifestFullPath) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsApplicationInstalled, 8) +bool __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_IsApplicationInstalled(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationCount, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(winIVRApplications_IVRApplications_002 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_002 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_LaunchApplication(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IdentifyApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationProcessId, 8) +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationProcessId(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationError error) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 24) +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyString(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 16) +bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, bool bAutoLaunch) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetStartingApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(winIVRApplications_IVRApplications_002 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetTransitionState, 4) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(winIVRApplications_IVRApplications_002 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetTransitionState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationTransitionState state) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 4) +bool __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_002 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(_this->linux_side); +} + +extern vtable_ptr winIVRApplications_IVRApplications_002_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRApplications_IVRApplications_002, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested) + ); +#ifndef __GNUC__ +} +#endif + +winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002(void *linux_side) +{ + winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_002_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRApplications_IVRApplications_002(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002_FnTable(void *linux_side) +{ + winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); + struct thunk *thunks = alloc_thunks(20); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_002_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); + for (i = 0; i < 20; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_002_FnTable(void *object) +{ + winIVRApplications_IVRApplications_002 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRApplications_IVRApplications_003.h" + +typedef struct __winIVRApplications_IVRApplications_003 { + vtable_ptr *vtable; + void *linux_side; +} winIVRApplications_IVRApplications_003; + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_AddApplicationManifest, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char * pchApplicationManifestFullPath) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsApplicationInstalled, 8) +bool __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_IsApplicationInstalled(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationCount, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(winIVRApplications_IVRApplications_003 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_003 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_LaunchApplication(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IdentifyApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationProcessId, 8) +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationProcessId(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationError error) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 24) +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyString(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 16) +bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 16) +uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, bool bAutoLaunch) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetStartingApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(winIVRApplications_IVRApplications_003 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetTransitionState, 4) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(winIVRApplications_IVRApplications_003 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetTransitionState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationTransitionState state) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 4) +bool __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_003 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(_this->linux_side); +} + +extern vtable_ptr winIVRApplications_IVRApplications_003_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRApplications_IVRApplications_003, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested) + ); +#ifndef __GNUC__ +} +#endif + +winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003(void *linux_side) +{ + winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_003_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRApplications_IVRApplications_003(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003_FnTable(void *linux_side) +{ + winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); + struct thunk *thunks = alloc_thunks(21); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_003_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); + for (i = 0; i < 21; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_003_FnTable(void *object) +{ + winIVRApplications_IVRApplications_003 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRApplications_IVRApplications_004.h" + +typedef struct __winIVRApplications_IVRApplications_004 { + vtable_ptr *vtable; + void *linux_side; +} winIVRApplications_IVRApplications_004; + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_AddApplicationManifest, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char * pchApplicationManifestFullPath) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsApplicationInstalled, 8) +bool __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_IsApplicationInstalled(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationCount, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(winIVRApplications_IVRApplications_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_004 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_LaunchApplication(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IdentifyApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationProcessId, 8) +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationProcessId(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationError error) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 24) +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyString(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 16) +bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 16) +uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, bool bAutoLaunch) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetStartingApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(winIVRApplications_IVRApplications_004 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetTransitionState, 4) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(winIVRApplications_IVRApplications_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetTransitionState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationTransitionState state) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 4) +bool __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchInternalProcess, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(winIVRApplications_IVRApplications_004 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_004_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); +} + +extern vtable_ptr winIVRApplications_IVRApplications_004_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRApplications_IVRApplications_004, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchInternalProcess) + ); +#ifndef __GNUC__ +} +#endif + +winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004(void *linux_side) +{ + winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_004_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRApplications_IVRApplications_004(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004_FnTable(void *linux_side) +{ + winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); + struct thunk *thunks = alloc_thunks(23); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 23 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_004_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); + for (i = 0; i < 23; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_004_FnTable(void *object) +{ + winIVRApplications_IVRApplications_004 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRApplications_IVRApplications_005.h" + +typedef struct __winIVRApplications_IVRApplications_005 { + vtable_ptr *vtable; + void *linux_side; +} winIVRApplications_IVRApplications_005; + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_AddApplicationManifest, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char * pchApplicationManifestFullPath) +{ + char lin_pchApplicationManifestFullPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsApplicationInstalled, 8) +bool __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_IsApplicationInstalled(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationCount, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(winIVRApplications_IVRApplications_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_005 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_LaunchApplication(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 20) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(winIVRApplications_IVRApplications_005 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IdentifyApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationProcessId, 8) +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationProcessId(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationError error) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 24) +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyString(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 16) +bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 16) +uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, bool bAutoLaunch) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetStartingApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(winIVRApplications_IVRApplications_005 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetTransitionState, 4) +EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(winIVRApplications_IVRApplications_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetTransitionState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationTransitionState state) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 4) +bool __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchInternalProcess, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(winIVRApplications_IVRApplications_005 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_005_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); +} + +extern vtable_ptr winIVRApplications_IVRApplications_005_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRApplications_IVRApplications_005, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchTemplateApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchInternalProcess) + ); +#ifndef __GNUC__ +} +#endif + +winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005(void *linux_side) +{ + winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_005_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRApplications_IVRApplications_005(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005_FnTable(void *linux_side) +{ + winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); + struct thunk *thunks = alloc_thunks(24); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_005_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_005_FnTable(void *object) +{ + winIVRApplications_IVRApplications_005 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); @@ -689,1286 +1644,331 @@ void destroy_winIVRApplications_IVRApplications_006_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRApplications_IVRApplications_005.h" +#include "cppIVRApplications_IVRApplications_007.h" -typedef struct __winIVRApplications_IVRApplications_005 { +typedef struct __winIVRApplications_IVRApplications_007 { vtable_ptr *vtable; void *linux_side; -} winIVRApplications_IVRApplications_005; +} winIVRApplications_IVRApplications_007; -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_AddApplicationManifest, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) { char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); + return cppIVRApplications_IVRApplications_007_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char * pchApplicationManifestFullPath) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char * pchApplicationManifestFullPath) { char lin_pchApplicationManifestFullPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); + return cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IsApplicationInstalled, 8) +bool __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_IsApplicationInstalled(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_IsApplicationInstalled(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(winIVRApplications_IVRApplications_005 *_this) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationCount, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(winIVRApplications_IVRApplications_007 *_this) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationCount(_this->linux_side); + return cppIVRApplications_IVRApplications_007_GetApplicationCount(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_005 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_007 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); + return cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); + return cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplication, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchApplication(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_LaunchApplication(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 20) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(winIVRApplications_IVRApplications_005 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 20) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(winIVRApplications_IVRApplications_007 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); + return cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, const char * pchArgs) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(_this->linux_side, pchMimeType, pchArgs); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); + return cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IdentifyApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationProcessId(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationError error) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationProcessId, 8) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(_this->linux_side, error); + return cppIVRApplications_IVRApplications_007_GetApplicationProcessId(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyString(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRApplicationError error) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); + return cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 24) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyString(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); + return cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 16) +bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); + return cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, bool bAutoLaunch) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 16) +uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); + return cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 9) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, bool bAutoLaunch) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(winIVRApplications_IVRApplications_005 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 8) +bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); + return cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(winIVRApplications_IVRApplications_005 *_this) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, const char * pchMimeType) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetTransitionState(_this->linux_side); + return cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(_this->linux_side, pchAppKey, pchMimeType); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 16) +bool __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); + return cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(_this->linux_side, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationTransitionState state) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 16) +bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); + return cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(_this->linux_side, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_005 *_this) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 16) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(_this->linux_side); + return cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(_this->linux_side, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); } -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(winIVRApplications_IVRApplications_005 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 16) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(winIVRApplications_IVRApplications_007 *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) { TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); + return cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(_this->linux_side, unHandle, pchArgs, unArgs); } -extern vtable_ptr winIVRApplications_IVRApplications_005_vtable; +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetStartingApplication, 12) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(winIVRApplications_IVRApplications_007 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_007_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationState, 4) +EVRSceneApplicationState __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(winIVRApplications_IVRApplications_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_007_GetSceneApplicationState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 8) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 8) +const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRSceneApplicationState state) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(_this->linux_side, state); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchInternalProcess, 16) +EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(winIVRApplications_IVRApplications_007 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_007_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 4) +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(winIVRApplications_IVRApplications_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(_this->linux_side); +} + +extern vtable_ptr winIVRApplications_IVRApplications_007_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRApplications_IVRApplications_005, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchTemplateApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchInternalProcess) + __ASM_VTABLE(winIVRApplications_IVRApplications_007, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchTemplateApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchInternalProcess) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId) ); #ifndef __GNUC__ } #endif -winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005(void *linux_side) +winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007(void *linux_side) { - winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); + winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_005_vtable; + r->vtable = &winIVRApplications_IVRApplications_007_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRApplications_IVRApplications_005(void *object) +void destroy_winIVRApplications_IVRApplications_007(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005_FnTable(void *linux_side) +winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007_FnTable(void *linux_side) { - winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); - struct thunk *thunks = alloc_thunks(24); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); + winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); + struct thunk *thunks = alloc_thunks(30); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 30 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_005_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); - for (i = 0; i < 24; i++) + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_007_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_007_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_007_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_007_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_007_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_007_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_007_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_007_GetSceneApplicationState, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_007_LaunchInternalProcess, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 0, FALSE, FALSE); + for (i = 0; i < 30; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRApplications_IVRApplications_005_FnTable(void *object) +void destroy_winIVRApplications_IVRApplications_007_FnTable(void *object) { - winIVRApplications_IVRApplications_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRApplications_IVRApplications_004.h" - -typedef struct __winIVRApplications_IVRApplications_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_004; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(winIVRApplications_IVRApplications_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_004 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyString(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(winIVRApplications_IVRApplications_004 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(winIVRApplications_IVRApplications_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(winIVRApplications_IVRApplications_004 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); -} - -extern vtable_ptr winIVRApplications_IVRApplications_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_004, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchInternalProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004(void *linux_side) -{ - winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004_FnTable(void *linux_side) -{ - winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); - struct thunk *thunks = alloc_thunks(23); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 23 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_004_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); - for (i = 0; i < 23; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRApplications_IVRApplications_004_FnTable(void *object) -{ - winIVRApplications_IVRApplications_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRApplications_IVRApplications_003.h" - -typedef struct __winIVRApplications_IVRApplications_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_003; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(winIVRApplications_IVRApplications_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_003 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyString(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(winIVRApplications_IVRApplications_003 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(winIVRApplications_IVRApplications_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_003, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003(void *linux_side) -{ - winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003_FnTable(void *linux_side) -{ - winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); - struct thunk *thunks = alloc_thunks(21); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_003_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); - for (i = 0; i < 21; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRApplications_IVRApplications_003_FnTable(void *object) -{ - winIVRApplications_IVRApplications_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRApplications_IVRApplications_002.h" - -typedef struct __winIVRApplications_IVRApplications_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_002; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(winIVRApplications_IVRApplications_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_002 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyString(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(winIVRApplications_IVRApplications_002 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(winIVRApplications_IVRApplications_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_002, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002(void *linux_side) -{ - winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002_FnTable(void *linux_side) -{ - winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); - struct thunk *thunks = alloc_thunks(20); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_002_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); - for (i = 0; i < 20; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRApplications_IVRApplications_002_FnTable(void *object) -{ - winIVRApplications_IVRApplications_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRApplications_IVRApplications_001.h" - -typedef struct __winIVRApplications_IVRApplications_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_001; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(winIVRApplications_IVRApplications_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_001 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyString(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetHomeApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(winIVRApplications_IVRApplications_001 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetHomeApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetHomeApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_SetHomeApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(winIVRApplications_IVRApplications_001 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(winIVRApplications_IVRApplications_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -extern vtable_ptr winIVRApplications_IVRApplications_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_001, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetHomeApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetHomeApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001(void *linux_side) -{ - winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001_FnTable(void *linux_side) -{ - winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); - struct thunk *thunks = alloc_thunks(21); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_001_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - for (i = 0; i < 21; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRApplications_IVRApplications_001_FnTable(void *object) -{ - winIVRApplications_IVRApplications_001 *win_object = object; + winIVRApplications_IVRApplications_007 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); diff --git a/vrclient_x64/vrclient_x64/winIVRChaperone.c b/vrclient_x64/vrclient_x64/winIVRChaperone.c index ca79f704..3d0a3729 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperone.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperone.c @@ -18,273 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRChaperone_IVRChaperone_004.h" - -typedef struct __winIVRChaperone_IVRChaperone_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_004; - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetCalibrationState, 4) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(winIVRChaperone_IVRChaperone_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_GetCalibrationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 12) -bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(winIVRChaperone_IVRChaperone_004 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 8) -bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(winIVRChaperone_IVRChaperone_004 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ReloadInfo, 4) -void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(winIVRChaperone_IVRChaperone_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ReloadInfo(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_SetSceneColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t color) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_SetSceneColor(_this->linux_side, color); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetBoundsColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 4) -bool __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 5) -void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this, bool bForce) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(_this->linux_side, bForce); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8) -void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(winIVRChaperone_IVRChaperone_004 *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ResetZeroPose(_this->linux_side, eTrackingUniverseOrigin); -} - -extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperone_IVRChaperone_004, - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetCalibrationState) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ReloadInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_SetSceneColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetBoundsColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_AreBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ResetZeroPose) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004(void *linux_side) -{ - winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperone_IVRChaperone_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004_FnTable(void *linux_side) -{ - winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); - struct thunk *thunks = alloc_thunks(9); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_004_GetCalibrationState, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); - for (i = 0; i < 9; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *object) -{ - winIVRChaperone_IVRChaperone_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRChaperone_IVRChaperone_003.h" - -typedef struct __winIVRChaperone_IVRChaperone_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_003; - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetCalibrationState, 4) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(winIVRChaperone_IVRChaperone_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_GetCalibrationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 12) -bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(winIVRChaperone_IVRChaperone_003 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 8) -bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(winIVRChaperone_IVRChaperone_003 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ReloadInfo, 4) -void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(winIVRChaperone_IVRChaperone_003 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ReloadInfo(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_SetSceneColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t color) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_SetSceneColor(_this->linux_side, color); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetBoundsColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 4) -bool __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 5) -void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this, bool bForce) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(_this->linux_side, bForce); -} - -extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperone_IVRChaperone_003, - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetCalibrationState) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ReloadInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_SetSceneColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetBoundsColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_AreBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003(void *linux_side) -{ - winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperone_IVRChaperone_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003_FnTable(void *linux_side) -{ - winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); - struct thunk *thunks = alloc_thunks(8); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_003_GetCalibrationState, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); - for (i = 0; i < 8; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *object) -{ - winIVRChaperone_IVRChaperone_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - #include "cppIVRChaperone_IVRChaperone_002.h" typedef struct __winIVRChaperone_IVRChaperone_002 { @@ -423,3 +156,270 @@ void destroy_winIVRChaperone_IVRChaperone_002_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } +#include "cppIVRChaperone_IVRChaperone_003.h" + +typedef struct __winIVRChaperone_IVRChaperone_003 { + vtable_ptr *vtable; + void *linux_side; +} winIVRChaperone_IVRChaperone_003; + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetCalibrationState, 4) +ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(winIVRChaperone_IVRChaperone_003 *_this) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_003_GetCalibrationState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 12) +bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(winIVRChaperone_IVRChaperone_003 *_this, float * pSizeX, float * pSizeZ) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 8) +bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(winIVRChaperone_IVRChaperone_003 *_this, HmdQuad_t * rect) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(_this->linux_side, rect); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ReloadInfo, 4) +void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(winIVRChaperone_IVRChaperone_003 *_this) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_003_ReloadInfo(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_SetSceneColor, 20) +void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t color) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_003_SetSceneColor(_this->linux_side, color); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetBoundsColor, 20) +void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_003_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 4) +bool __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 5) +void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this, bool bForce) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(_this->linux_side, bForce); +} + +extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRChaperone_IVRChaperone_003, + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetCalibrationState) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ReloadInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_SetSceneColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetBoundsColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_AreBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible) + ); +#ifndef __GNUC__ +} +#endif + +winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003(void *linux_side) +{ + winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperone_IVRChaperone_003_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_003(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003_FnTable(void *linux_side) +{ + winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); + struct thunk *thunks = alloc_thunks(8); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_003_GetCalibrationState, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); + for (i = 0; i < 8; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *object) +{ + winIVRChaperone_IVRChaperone_003 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRChaperone_IVRChaperone_004.h" + +typedef struct __winIVRChaperone_IVRChaperone_004 { + vtable_ptr *vtable; + void *linux_side; +} winIVRChaperone_IVRChaperone_004; + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetCalibrationState, 4) +ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(winIVRChaperone_IVRChaperone_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_004_GetCalibrationState(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 12) +bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(winIVRChaperone_IVRChaperone_004 *_this, float * pSizeX, float * pSizeZ) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 8) +bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(winIVRChaperone_IVRChaperone_004 *_this, HmdQuad_t * rect) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(_this->linux_side, rect); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ReloadInfo, 4) +void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(winIVRChaperone_IVRChaperone_004 *_this) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_004_ReloadInfo(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_SetSceneColor, 20) +void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t color) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_004_SetSceneColor(_this->linux_side, color); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetBoundsColor, 20) +void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_004_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 4) +bool __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 5) +void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this, bool bForce) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(_this->linux_side, bForce); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8) +void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(winIVRChaperone_IVRChaperone_004 *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) +{ + TRACE("%p\n", _this); + cppIVRChaperone_IVRChaperone_004_ResetZeroPose(_this->linux_side, eTrackingUniverseOrigin); +} + +extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRChaperone_IVRChaperone_004, + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetCalibrationState) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ReloadInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_SetSceneColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetBoundsColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_AreBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ResetZeroPose) + ); +#ifndef __GNUC__ +} +#endif + +winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004(void *linux_side) +{ + winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperone_IVRChaperone_004_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_004(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004_FnTable(void *linux_side) +{ + winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); + struct thunk *thunks = alloc_thunks(9); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_004_GetCalibrationState, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); + for (i = 0; i < 9; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *object) +{ + winIVRChaperone_IVRChaperone_004 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + diff --git a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c index a7bac153..18016e15 100644 --- a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c +++ b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c @@ -18,237 +18,201 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRChaperoneSetup_IVRChaperoneSetup_006.h" +#include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h" -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_006 { +typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_004 { vtable_ptr *vtable; void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_006; +} winIVRChaperoneSetup_IVRChaperoneSetup_004; -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(_this->linux_side, configFile); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(_this->linux_side, configFile); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 4) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float * pSizeX, float * pSizeZ) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float * pSizeX, float * pSizeZ) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * rect) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * rect) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(_this->linux_side, rect); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(_this->linux_side, rect); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float sizeX, float sizeZ) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 12) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float sizeX, float sizeZ) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 12) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdVector2_t * pPointBuffer, uint32_t unPointCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(_this->linux_side, pPointBuffer, unPointCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 8) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 8) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(_this->linux_side, configFile); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(_this->linux_side, configFile); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 12) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(_this->linux_side, pTagsBuffer, unTagCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, char * pBuffer, uint32_t * pnBufferLength) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(_this->linux_side, pBuffer, pnBufferLength); + return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(_this->linux_side, pTagsBuffer, punTagCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, const char * pBuffer, uint32_t nImportFlags) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(_this->linux_side, pBuffer, nImportFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(_this->linux_side); -} - -extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; +extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_006, - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting) + __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_004, + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo) ); #ifndef __GNUC__ } #endif -winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *linux_side) +winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *linux_side) { - winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); + winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); TRACE("-> %p\n", r); - r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; + r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *linux_side) +winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *linux_side) { - winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); - struct thunk *thunks = alloc_thunks(20); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); + winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); + struct thunk *thunks = alloc_thunks(16); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 16 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 0, FALSE, FALSE); - for (i = 0; i < 20; i++) + init_thunk(&thunks[0], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); + for (i = 0; i < 16; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *object) { - winIVRChaperoneSetup_IVRChaperoneSetup_006 *win_object = object; + winIVRChaperoneSetup_IVRChaperoneSetup_004 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); @@ -492,201 +456,237 @@ void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h" +#include "cppIVRChaperoneSetup_IVRChaperoneSetup_006.h" -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_004 { +typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_006 { vtable_ptr *vtable; void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_004; +} winIVRChaperoneSetup_IVRChaperoneSetup_006; -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(_this->linux_side, configFile); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(_this->linux_side, configFile); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 4) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(_this->linux_side); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float * pSizeX, float * pSizeZ) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float * pSizeX, float * pSizeZ) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * rect) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * rect) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(_this->linux_side, rect); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(_this->linux_side, rect); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float sizeX, float sizeZ) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 12) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float sizeX, float sizeZ) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 12) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 12) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdVector2_t * pPointBuffer, uint32_t unPointCount) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(_this->linux_side, pPointBuffer, unPointCount); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 8) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(_this->linux_side, configFile); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 8) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(_this->linux_side, configFile); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 8) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) { TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(_this->linux_side, pTagsBuffer, unTagCount); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); } -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, char * pBuffer, uint32_t * pnBufferLength) { TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(_this->linux_side, pTagsBuffer, punTagCount); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(_this->linux_side, pBuffer, pnBufferLength); } -extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 12) +bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, const char * pBuffer, uint32_t nImportFlags) +{ + TRACE("%p\n", _this); + return cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(_this->linux_side, pBuffer, nImportFlags); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 4) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 4) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 4) +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(_this->linux_side); +} + +extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_004, - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo) + __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_006, + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting) ); #ifndef __GNUC__ } #endif -winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *linux_side) +winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *linux_side) { - winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); + winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); TRACE("-> %p\n", r); - r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; + r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *linux_side) +winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *linux_side) { - winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); - struct thunk *thunks = alloc_thunks(16); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 16 * sizeof(*vtable)); + winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); + struct thunk *thunks = alloc_thunks(20); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); - for (i = 0; i < 16; i++) + init_thunk(&thunks[0], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 0, FALSE, FALSE); + for (i = 0; i < 20; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *object) +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *object) { - winIVRChaperoneSetup_IVRChaperoneSetup_004 *win_object = object; + winIVRChaperoneSetup_IVRChaperoneSetup_006 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); diff --git a/vrclient_x64/vrclient_x64/winIVRClientCore.c b/vrclient_x64/vrclient_x64/winIVRClientCore.c index 91e78c6c..f05495b1 100644 --- a/vrclient_x64/vrclient_x64/winIVRClientCore.c +++ b/vrclient_x64/vrclient_x64/winIVRClientCore.c @@ -18,127 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRClientCore_IVRClientCore_003.h" - -typedef struct __winIVRClientCore_IVRClientCore_003 { - vtable_ptr *vtable; - void *linux_side; - struct client_core_data user_data; -} winIVRClientCore_IVRClientCore_003; - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Init, 12) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_Init(winIVRClientCore_IVRClientCore_003 *_this, EVRApplicationType eApplicationType, const char * pStartupInfo) -{ - TRACE("%p\n", _this); - return ivrclientcore_init(cppIVRClientCore_IVRClientCore_003_Init, _this->linux_side, eApplicationType, pStartupInfo, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Cleanup, 4) -void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(winIVRClientCore_IVRClientCore_003 *_this) -{ - TRACE("%p\n", _this); - ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_003_Cleanup, _this->linux_side, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 8) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(winIVRClientCore_IVRClientCore_003 *_this, const char * pchInterfaceVersion) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(_this->linux_side, pchInterfaceVersion); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetGenericInterface, 12) -void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(winIVRClientCore_IVRClientCore_003 *_this, const char * pchNameAndVersion, EVRInitError * peError) -{ - TRACE("%p\n", _this); - return ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_003_GetGenericInterface, _this->linux_side, pchNameAndVersion, peError, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 4) -bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(winIVRClientCore_IVRClientCore_003 *_this) -{ - TRACE("%p\n", _this); - return ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_003_BIsHmdPresent, _this->linux_side, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 8) -const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(_this->linux_side, eError); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 8) -const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(_this->linux_side, eError); -} - -extern vtable_ptr winIVRClientCore_IVRClientCore_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRClientCore_IVRClientCore_003, - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Init) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Cleanup) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetGenericInterface) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_BIsHmdPresent) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError) - ); -#ifndef __GNUC__ -} -#endif - -winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003(void *linux_side) -{ - winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRClientCore_IVRClientCore_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRClientCore_IVRClientCore_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003_FnTable(void *linux_side) -{ - winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); - struct thunk *thunks = alloc_thunks(7); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRClientCore_IVRClientCore_003_Init, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_003_Cleanup, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE); - for (i = 0; i < 7; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *object) -{ - winIVRClientCore_IVRClientCore_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - #include "cppIVRClientCore_IVRClientCore_002.h" typedef struct __winIVRClientCore_IVRClientCore_002 { @@ -260,3 +139,124 @@ void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } +#include "cppIVRClientCore_IVRClientCore_003.h" + +typedef struct __winIVRClientCore_IVRClientCore_003 { + vtable_ptr *vtable; + void *linux_side; + struct client_core_data user_data; +} winIVRClientCore_IVRClientCore_003; + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Init, 12) +EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_Init(winIVRClientCore_IVRClientCore_003 *_this, EVRApplicationType eApplicationType, const char * pStartupInfo) +{ + TRACE("%p\n", _this); + return ivrclientcore_init(cppIVRClientCore_IVRClientCore_003_Init, _this->linux_side, eApplicationType, pStartupInfo, 3, &_this->user_data); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Cleanup, 4) +void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(winIVRClientCore_IVRClientCore_003 *_this) +{ + TRACE("%p\n", _this); + ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_003_Cleanup, _this->linux_side, 3, &_this->user_data); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 8) +EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(winIVRClientCore_IVRClientCore_003 *_this, const char * pchInterfaceVersion) +{ + TRACE("%p\n", _this); + return cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(_this->linux_side, pchInterfaceVersion); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetGenericInterface, 12) +void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(winIVRClientCore_IVRClientCore_003 *_this, const char * pchNameAndVersion, EVRInitError * peError) +{ + TRACE("%p\n", _this); + return ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_003_GetGenericInterface, _this->linux_side, pchNameAndVersion, peError, 3, &_this->user_data); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 4) +bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(winIVRClientCore_IVRClientCore_003 *_this) +{ + TRACE("%p\n", _this); + return ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_003_BIsHmdPresent, _this->linux_side, 3, &_this->user_data); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 8) +const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) +{ + TRACE("%p\n", _this); + return cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(_this->linux_side, eError); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 8) +const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) +{ + TRACE("%p\n", _this); + return cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(_this->linux_side, eError); +} + +extern vtable_ptr winIVRClientCore_IVRClientCore_003_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRClientCore_IVRClientCore_003, + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Init) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Cleanup) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetGenericInterface) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_BIsHmdPresent) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError) + ); +#ifndef __GNUC__ +} +#endif + +winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003(void *linux_side) +{ + winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); + TRACE("-> %p\n", r); + r->vtable = &winIVRClientCore_IVRClientCore_003_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRClientCore_IVRClientCore_003(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003_FnTable(void *linux_side) +{ + winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); + struct thunk *thunks = alloc_thunks(7); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRClientCore_IVRClientCore_003_Init, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_003_Cleanup, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE); + for (i = 0; i < 7; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *object) +{ + winIVRClientCore_IVRClientCore_003 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + diff --git a/vrclient_x64/vrclient_x64/winIVRCompositor.c b/vrclient_x64/vrclient_x64/winIVRCompositor.c index 4a3800fe..9b16a430 100644 --- a/vrclient_x64/vrclient_x64/winIVRCompositor.c +++ b/vrclient_x64/vrclient_x64/winIVRCompositor.c @@ -18,519 +18,6556 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRCompositor_IVRCompositor_027.h" +#include "cppIVRCompositor_IVRCompositor_005.h" -typedef struct __winIVRCompositor_IVRCompositor_027 { +typedef struct __winIVRCompositor_IVRCompositor_005 { vtable_ptr *vtable; void *linux_side; -} winIVRCompositor_IVRCompositor_027; +} winIVRCompositor_IVRCompositor_005; -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this, ETrackingUniverseOrigin eOrigin) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetLastError, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(winIVRCompositor_IVRCompositor_005 *_this, char * pchBuffer, uint32_t unBufferSize) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->linux_side, eOrigin); + return cppIVRCompositor_IVRCompositor_005_GetLastError(_this->linux_side, pchBuffer, unBufferSize); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetVSync, 5) +void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(winIVRCompositor_IVRCompositor_005 *_this, bool bVSync) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_SetVSync(_this->linux_side, bVSync); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetVSync, 4) +bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + return cppIVRCompositor_IVRCompositor_005_GetVSync(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGamma, 8) +void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(winIVRCompositor_IVRCompositor_005 *_this, float fGamma) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + cppIVRCompositor_IVRCompositor_005_SetGamma(_this->linux_side, fGamma); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_027 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetGamma, 4) +float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + return cppIVRCompositor_IVRCompositor_005_GetGamma(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 12) +void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(winIVRCompositor_IVRCompositor_005 *_this, Compositor_DeviceType eType, void * pDevice) { TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_027_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 27); + cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->linux_side, eType, pDevice); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_WaitGetPoses, 12) +void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(winIVRCompositor_IVRCompositor_005 *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->linux_side, pPoseArray, unPoseArrayCount); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_Submit, 16) +void __thiscall winIVRCompositor_IVRCompositor_005_Submit(winIVRCompositor_IVRCompositor_005 *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_027_PostPresentHandoff, _this->linux_side, 27); + ivrcompositor_005_submit(cppIVRCompositor_IVRCompositor_005_Submit, _this->linux_side, eEye, pTexture, pBounds, 5); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 8) +void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings * pSettings) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->linux_side, pTiming, nFrames); + cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->linux_side, pSettings); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlay, 12) +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(winIVRCompositor_IVRCompositor_005 *_this, void * pTexture, Compositor_OverlaySettings * pSettings) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->linux_side, pTexture, pSettings); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(winIVRCompositor_IVRCompositor_027 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 24) +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(winIVRCompositor_IVRCompositor_005 *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->linux_side, buffer, width, height, depth, pSettings); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 12) +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(winIVRCompositor_IVRCompositor_005 *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings) +{ + char lin_pchFilePath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->linux_side, pchFilePath ? lin_pchFilePath : NULL, pSettings); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearOverlay, 4) +void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_027 *_this, HmdColor_t *_r, bool bBackground) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(winIVRCompositor_IVRCompositor_005 *_this, winCompositor_FrameTiming_091 * pTiming, uint32_t unFramesAgo) { TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; + return cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, bool bFadeGridIn) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->linux_side, fSeconds, bFadeGridIn); + cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, bool bFadeIn) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->linux_side, fSeconds, bFadeIn); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this, Texture_t * pTextures, uint32_t unTextureCount) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 27); + cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->linux_side); + return cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 48) +bool __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->linux_side); + return cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->linux_side, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this, TrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->linux_side); + cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->linux_side, eOrigin); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_027 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->linux_side); + return cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_027 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(winIVRCompositor_IVRCompositor_027 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_027 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 27); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_027 *_this, EVRCompositorTimingMode eTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->linux_side, eTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(winIVRCompositor_IVRCompositor_027 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - char lin_pchRenderModelPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearStageOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 12) -bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(winIVRCompositor_IVRCompositor_027 *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->linux_side, pBenchmarkResults, nSizeOfBenchmarkResults); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(winIVRCompositor_IVRCompositor_027 *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->linux_side, pRenderPosePredictionID, pGamePosePredictionID); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(winIVRCompositor_IVRCompositor_027 *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->linux_side, unPosePredictionID, pPoseArray, unPoseArrayCount); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_027_vtable; +extern vtable_ptr winIVRCompositor_IVRCompositor_005_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_027, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearStageOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetPosesForFrame) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_005, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlay) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearOverlay) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetTrackingSpace) ); #ifndef __GNUC__ } #endif -winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027(void *linux_side) +winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005(void *linux_side) { - winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); + winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_027_vtable; + r->vtable = &winIVRCompositor_IVRCompositor_005_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRCompositor_IVRCompositor_027(void *object) +void destroy_winIVRCompositor_IVRCompositor_005(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027_FnTable(void *linux_side) +winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005_FnTable(void *linux_side) { - winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); - struct thunk *thunks = alloc_thunks(51); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); + winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); + struct thunk *thunks = alloc_thunks(24); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_027_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); - for (i = 0; i < 51; i++) + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_005_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_005_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_005_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_005_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_005_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_005_Submit, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *object) { - winIVRCompositor_IVRCompositor_027 *win_object = object; + winIVRCompositor_IVRCompositor_005 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_006.h" + +typedef struct __winIVRCompositor_IVRCompositor_006 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_006; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetLastError, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(winIVRCompositor_IVRCompositor_006 *_this, char * pchBuffer, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_GetLastError(_this->linux_side, pchBuffer, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetVSync, 5) +void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(winIVRCompositor_IVRCompositor_006 *_this, bool bVSync) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_SetVSync(_this->linux_side, bVSync); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetVSync, 4) +bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_GetVSync(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGamma, 8) +void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(winIVRCompositor_IVRCompositor_006 *_this, float fGamma) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_SetGamma(_this->linux_side, fGamma); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetGamma, 4) +float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_GetGamma(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 12) +void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(winIVRCompositor_IVRCompositor_006 *_this, Compositor_DeviceType eType, void * pDevice) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->linux_side, eType, pDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_WaitGetPoses, 20) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(winIVRCompositor_IVRCompositor_006 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_Submit, 16) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(winIVRCompositor_IVRCompositor_006 *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) +{ + TRACE("%p\n", _this); + return ivrcompositor_006_submit(cppIVRCompositor_IVRCompositor_006_Submit, _this->linux_side, eEye, pTexture, pBounds, 6); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(winIVRCompositor_IVRCompositor_006 *_this, winCompositor_FrameTiming_092 * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this, TrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 4) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(winIVRCompositor_IVRCompositor_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_006_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_006, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CanRenderScene) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006(void *linux_side) +{ + winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_006_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_006(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); + struct thunk *thunks = alloc_thunks(20); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_006_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_006_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_006_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_006_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_006_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_006_Submit, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); + for (i = 0; i < 20; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_006 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_007.h" + +typedef struct __winIVRCompositor_IVRCompositor_007 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_007; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetLastError, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(winIVRCompositor_IVRCompositor_007 *_this, char * pchBuffer, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_GetLastError(_this->linux_side, pchBuffer, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetVSync, 5) +void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(winIVRCompositor_IVRCompositor_007 *_this, bool bVSync) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_SetVSync(_this->linux_side, bVSync); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetVSync, 4) +bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_GetVSync(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetGamma, 8) +void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(winIVRCompositor_IVRCompositor_007 *_this, float fGamma) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_SetGamma(_this->linux_side, fGamma); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetGamma, 4) +float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_GetGamma(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_WaitGetPoses, 20) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(winIVRCompositor_IVRCompositor_007 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_Submit, 20) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(winIVRCompositor_IVRCompositor_007 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) +{ + TRACE("%p\n", _this); + return ivrcompositor_007_submit(cppIVRCompositor_IVRCompositor_007_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, 7); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(winIVRCompositor_IVRCompositor_007 *_this, winCompositor_FrameTiming_098 * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this, TrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 4) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(winIVRCompositor_IVRCompositor_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_007_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_007, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CanRenderScene) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007(void *linux_side) +{ + winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_007_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_007(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); + struct thunk *thunks = alloc_thunks(19); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_007_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_007_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_007_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_007_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_007_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_007_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); + for (i = 0; i < 19; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_007 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_008.h" + +typedef struct __winIVRCompositor_IVRCompositor_008 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_008; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastError, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(winIVRCompositor_IVRCompositor_008 *_this, char * pchBuffer, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetLastError(_this->linux_side, pchBuffer, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetVSync, 5) +void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(winIVRCompositor_IVRCompositor_008 *_this, bool bVSync) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_SetVSync(_this->linux_side, bVSync); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetVSync, 4) +bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetVSync(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetGamma, 8) +void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(winIVRCompositor_IVRCompositor_008 *_this, float fGamma) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_SetGamma(_this->linux_side, fGamma); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetGamma, 4) +float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetGamma(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_WaitGetPoses, 20) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(winIVRCompositor_IVRCompositor_008 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_Submit, 24) +VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_Submit(winIVRCompositor_IVRCompositor_008 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_008_submit(cppIVRCompositor_IVRCompositor_008_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, nSubmitFlags, 8); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(winIVRCompositor_IVRCompositor_008 *_this, winCompositor_FrameTiming_0910 * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 32) +void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) +{ + TRACE("%p\n", _this); + ivrcompositor_008_set_skybox_override(cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride, _this->linux_side, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom, 8); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this, TrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 4) +TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_008 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_008_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_008, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008(void *linux_side) +{ + winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_008_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_008(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); + struct thunk *thunks = alloc_thunks(26); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_008_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_008_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_008_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_008_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_008_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_008_Submit, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); + for (i = 0; i < 26; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_008 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_009.h" + +typedef struct __winIVRCompositor_IVRCompositor_009 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_009; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(winIVRCompositor_IVRCompositor_009 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_009_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 9); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_009_PostPresentHandoff, _this->linux_side, 9); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(winIVRCompositor_IVRCompositor_009 *_this, winCompositor_FrameTiming_0913 * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 9); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(winIVRCompositor_IVRCompositor_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_009, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorDumpImages) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009(void *linux_side) +{ + winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_009_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_009(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); + struct thunk *thunks = alloc_thunks(24); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_009_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_009 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_010.h" + +typedef struct __winIVRCompositor_IVRCompositor_010 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_010; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(winIVRCompositor_IVRCompositor_010 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_010_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 10); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_010_PostPresentHandoff, _this->linux_side, 10); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(winIVRCompositor_IVRCompositor_010 *_this, winCompositor_FrameTiming_0914 * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 10); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(winIVRCompositor_IVRCompositor_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_010, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorDumpImages) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010(void *linux_side) +{ + winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_010_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_010(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); + struct thunk *thunks = alloc_thunks(24); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_010_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_010 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_011.h" + +typedef struct __winIVRCompositor_IVRCompositor_011 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_011; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(winIVRCompositor_IVRCompositor_011 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_011_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 11); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_011_PostPresentHandoff, _this->linux_side, 11); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(winIVRCompositor_IVRCompositor_011 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 11); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(winIVRCompositor_IVRCompositor_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_011, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorDumpImages) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011(void *linux_side) +{ + winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_011_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_011(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); + struct thunk *thunks = alloc_thunks(24); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_011_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_011 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_012.h" + +typedef struct __winIVRCompositor_IVRCompositor_012 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_012; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_012 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(winIVRCompositor_IVRCompositor_012 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_012_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 12); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_012_PostPresentHandoff, _this->linux_side, 12); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(winIVRCompositor_IVRCompositor_012 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 12); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_012_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_012, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012(void *linux_side) +{ + winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_012_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_012(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); + struct thunk *thunks = alloc_thunks(26); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_012_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + for (i = 0; i < 26; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_012 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_013.h" + +typedef struct __winIVRCompositor_IVRCompositor_013 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_013; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_013 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(winIVRCompositor_IVRCompositor_013 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_013_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 13); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_013_PostPresentHandoff, _this->linux_side, 13); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(winIVRCompositor_IVRCompositor_013 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 13); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_013 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_013, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013(void *linux_side) +{ + winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_013_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_013(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); + struct thunk *thunks = alloc_thunks(27); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 27 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_013_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + for (i = 0; i < 27; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_013 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_014.h" + +typedef struct __winIVRCompositor_IVRCompositor_014 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_014; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_014 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(winIVRCompositor_IVRCompositor_014 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_014_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 14); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_014_PostPresentHandoff, _this->linux_side, 14); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(winIVRCompositor_IVRCompositor_014 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 14); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_014 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(winIVRCompositor_IVRCompositor_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(winIVRCompositor_IVRCompositor_014 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->linux_side, bSuspend); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_014, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SuspendRendering) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014(void *linux_side) +{ + winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_014_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_014(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); + struct thunk *thunks = alloc_thunks(29); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 29 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_014_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); + for (i = 0; i < 29; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_014 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_015.h" + +typedef struct __winIVRCompositor_IVRCompositor_015 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_015; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_015 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_015_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 15); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_015_PostPresentHandoff, _this->linux_side, 15); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(winIVRCompositor_IVRCompositor_015 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(winIVRCompositor_IVRCompositor_015 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 15); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_015 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(winIVRCompositor_IVRCompositor_015 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_RequestScreenshot, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(winIVRCompositor_IVRCompositor_015 *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->linux_side, type, pchDestinationFileName, pchVRDestinationFileName); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 4) +EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(winIVRCompositor_IVRCompositor_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_015 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_015, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_RequestScreenshot) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015(void *linux_side) +{ + winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_015_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_015(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); + struct thunk *thunks = alloc_thunks(37); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_015_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 37; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_015 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_016.h" + +typedef struct __winIVRCompositor_IVRCompositor_016 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_016; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_016_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_016 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_016_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_016_PostPresentHandoff, _this->linux_side, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(winIVRCompositor_IVRCompositor_016 *_this, winCompositor_FrameTiming_103 * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(winIVRCompositor_IVRCompositor_016 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_016 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(winIVRCompositor_IVRCompositor_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(winIVRCompositor_IVRCompositor_016 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_016 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_016, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016(void *linux_side) +{ + winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_016_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_016(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); + struct thunk *thunks = alloc_thunks(35); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 35 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_016_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 35; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_016 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_017.h" + +typedef struct __winIVRCompositor_IVRCompositor_017 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_017; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_017_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 17); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_017 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_017_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 17); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_017_PostPresentHandoff, _this->linux_side, 17); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(winIVRCompositor_IVRCompositor_017 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 17); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_017 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(winIVRCompositor_IVRCompositor_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(winIVRCompositor_IVRCompositor_017 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_017 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_017, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017(void *linux_side) +{ + winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_017_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_017(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); + struct thunk *thunks = alloc_thunks(36); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_017_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 36; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_017 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_018.h" + +typedef struct __winIVRCompositor_IVRCompositor_018 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_018; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_018_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 18); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_018 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_018_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 18); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_018_PostPresentHandoff, _this->linux_side, 18); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(winIVRCompositor_IVRCompositor_018 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_018 *_this, HmdColor_t *_r, bool bBackground) +{ + TRACE("%p\n", _this); + *_r = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->linux_side, bBackground); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 18); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_018 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(winIVRCompositor_IVRCompositor_018 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(winIVRCompositor_IVRCompositor_018 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_018 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_018, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018(void *linux_side) +{ + winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_018_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_018(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); + struct thunk *thunks = alloc_thunks(38); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_018_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 38; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_018 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_019.h" + +typedef struct __winIVRCompositor_IVRCompositor_019 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_019; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_019_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_019 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_019_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_019_PostPresentHandoff, _this->linux_side, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(winIVRCompositor_IVRCompositor_019 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_019 *_this, HmdColor_t *_r, bool bBackground) +{ + TRACE("%p\n", _this); + *_r = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->linux_side, bBackground); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_019 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(winIVRCompositor_IVRCompositor_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(winIVRCompositor_IVRCompositor_019 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_019 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 16) +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 19); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_019_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_019, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019(void *linux_side) +{ + winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_019_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_019(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); + struct thunk *thunks = alloc_thunks(40); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_019_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + for (i = 0; i < 40; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_019 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_020.h" + +typedef struct __winIVRCompositor_IVRCompositor_020 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_020; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_020_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 20); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_020 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_020_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 20); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_020_PostPresentHandoff, _this->linux_side, 20); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(winIVRCompositor_IVRCompositor_020 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_020 *_this, HmdColor_t *_r, bool bBackground) +{ + TRACE("%p\n", _this); + *_r = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->linux_side, bBackground); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 20); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_020 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(winIVRCompositor_IVRCompositor_020 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(winIVRCompositor_IVRCompositor_020 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 8) +void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, void * pD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_020 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 16) +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 20); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_020_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_020, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020(void *linux_side) +{ + winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_020_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_020(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); + struct thunk *thunks = alloc_thunks(41); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 41 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_020_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + for (i = 0; i < 41; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_020 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_021.h" + +typedef struct __winIVRCompositor_IVRCompositor_021 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_021; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_021_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 21); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_021 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_021_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 21); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_021_PostPresentHandoff, _this->linux_side, 21); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(winIVRCompositor_IVRCompositor_021 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_021 *_this, HmdColor_t *_r, bool bBackground) +{ + TRACE("%p\n", _this); + *_r = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->linux_side, bBackground); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 21); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_021 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(winIVRCompositor_IVRCompositor_021 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 8) +void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, void * pD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_021 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 16) +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 21); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 5) +void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_021 *_this, bool bExplicitTimingMode) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->linux_side, bExplicitTimingMode); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 4) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_021 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_021_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_021, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021(void *linux_side) +{ + winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_021_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_021(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); + struct thunk *thunks = alloc_thunks(43); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 43 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_021_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); + for (i = 0; i < 43; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_021 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_022.h" + +typedef struct __winIVRCompositor_IVRCompositor_022 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_022; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_022_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 22); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_022 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_022_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 22); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_022_PostPresentHandoff, _this->linux_side, 22); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(winIVRCompositor_IVRCompositor_022 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_022 *_this, HmdColor_t *_r, bool bBackground) +{ + TRACE("%p\n", _this); + *_r = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->linux_side, bBackground); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 22); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_022 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(winIVRCompositor_IVRCompositor_022 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 8) +void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, void * pD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_022 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 16) +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 22); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 8) +void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_022 *_this, EVRCompositorTimingMode eTimingMode) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->linux_side, eTimingMode); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 4) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 4) +bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_022_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_022, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022(void *linux_side) +{ + winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_022_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_022(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_022_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_022 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRCompositor_IVRCompositor_024.h" + +typedef struct __winIVRCompositor_IVRCompositor_024 { + vtable_ptr *vtable; + void *linux_side; +} winIVRCompositor_IVRCompositor_024; + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this, ETrackingUniverseOrigin eOrigin) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->linux_side, eOrigin); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_024_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 24); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_024 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +{ + TRACE("%p\n", _this); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_024_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 24); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_024_PostPresentHandoff, _this->linux_side, 24); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->linux_side, pTiming, nFrames); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(winIVRCompositor_IVRCompositor_024 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_024 *_this, HmdColor_t *_r, bool bBackground) +{ + TRACE("%p\n", _this); + *_r = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->linux_side, bBackground); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, bool bFadeIn) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->linux_side, fSeconds, bFadeIn); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this, Texture_t * pTextures, uint32_t unTextureCount) +{ + TRACE("%p\n", _this); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 24); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_024 *_this, bool bOverride) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(winIVRCompositor_IVRCompositor_024 *_this, bool bSuspend) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->linux_side, bSuspend); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 8) +void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, void * pD3D11ShaderResourceView) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_024 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 16) +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +{ + TRACE("%p\n", _this); + return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 24); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 8) +void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_024 *_this, EVRCompositorTimingMode eTimingMode) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->linux_side, eTimingMode); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 4) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 4) +bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(winIVRCompositor_IVRCompositor_024 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) +{ + char lin_pchRenderModelPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(winIVRCompositor_IVRCompositor_024 *_this) +{ + TRACE("%p\n", _this); + cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->linux_side); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRCompositor_IVRCompositor_024, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearStageOverride) + ); +#ifndef __GNUC__ +} +#endif + +winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024(void *linux_side) +{ + winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_024_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_024(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024_FnTable(void *linux_side) +{ + winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); + struct thunk *thunks = alloc_thunks(48); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_024_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); + for (i = 0; i < 48; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *object) +{ + winIVRCompositor_IVRCompositor_024 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); @@ -1056,6556 +7093,519 @@ void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRCompositor_IVRCompositor_024.h" +#include "cppIVRCompositor_IVRCompositor_027.h" -typedef struct __winIVRCompositor_IVRCompositor_024 { +typedef struct __winIVRCompositor_IVRCompositor_027 { vtable_ptr *vtable; void *linux_side; -} winIVRCompositor_IVRCompositor_024; +} winIVRCompositor_IVRCompositor_027; -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this, ETrackingUniverseOrigin eOrigin) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 8) +void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this, ETrackingUniverseOrigin eOrigin) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->linux_side, eOrigin); + cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->linux_side, eOrigin); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_WaitGetPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) { TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_024_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 24); + return cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoses, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); + return cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_024 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_027 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); + return cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_Submit, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) { TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_024_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 24); + return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_027_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 27); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_024_PostPresentHandoff, _this->linux_side, 24); + ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_027_PostPresentHandoff, _this->linux_side, 27); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTiming, 12) +bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); + return cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimings, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->linux_side, pTiming, nFrames); + return cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->linux_side, pTiming, nFrames); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 4) +float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(winIVRCompositor_IVRCompositor_024 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 12) +void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(winIVRCompositor_IVRCompositor_027 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); + cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeToColor, 25) +void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); + cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_024 *_this, HmdColor_t *_r, bool bBackground) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 9) +HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_027 *_this, HmdColor_t *_r, bool bBackground) { TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->linux_side, bBackground); + *_r = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->linux_side, bBackground); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, bool bFadeIn) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeGrid, 9) +void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, bool bFadeGridIn) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->linux_side, fSeconds, bFadeIn); + cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->linux_side, fSeconds, bFadeGridIn); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 4) +float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this, Texture_t * pTextures, uint32_t unTextureCount) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this, Texture_t * pTextures, uint32_t unTextureCount) { TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 24); + return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 27); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorQuit, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsFullscreen, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 4) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CanRenderScene, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_024 *_this, bool bOverride) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 5) +void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_027 *_this, bool bOverride) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); + cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(winIVRCompositor_IVRCompositor_024 *_this, bool bSuspend) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SuspendRendering, 5) +void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(winIVRCompositor_IVRCompositor_027 *_this, bool bSuspend) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->linux_side, bSuspend); + cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->linux_side, bSuspend); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); + return cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, void * pD3D11ShaderResourceView) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 8) +void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, void * pD3D11ShaderResourceView) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); + cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); + return cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_024 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 12) +bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_027 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); + return cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 8) +void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); + cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, char * pchValue, uint32_t unBufferSize) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 12) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, char * pchValue, uint32_t unBufferSize) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); + return cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 16) +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) { TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 24); + return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 27); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_024 *_this, EVRCompositorTimingMode eTimingMode) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 8) +void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_027 *_this, EVRCompositorTimingMode eTimingMode) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->linux_side, eTimingMode); + cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->linux_side, eTimingMode); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 4) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 4) +bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->linux_side); + return cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(winIVRCompositor_IVRCompositor_024 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 20) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(winIVRCompositor_IVRCompositor_027 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) { char lin_pchRenderModelPath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); + return cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); } -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(winIVRCompositor_IVRCompositor_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearStageOverride, 4) +void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(winIVRCompositor_IVRCompositor_027 *_this) { TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->linux_side); + cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->linux_side); } -extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable; +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 12) +bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(winIVRCompositor_IVRCompositor_027 *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->linux_side, pBenchmarkResults, nSizeOfBenchmarkResults); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 12) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(winIVRCompositor_IVRCompositor_027 *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->linux_side, pRenderPosePredictionID, pGamePosePredictionID); +} + +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16) +EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(winIVRCompositor_IVRCompositor_027 *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->linux_side, unPosePredictionID, pPoseArray, unPoseArrayCount); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_027_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_024, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearStageOverride) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_027, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearStageOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetPosesForFrame) ); #ifndef __GNUC__ } #endif -winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024(void *linux_side) +winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027(void *linux_side) { - winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); + winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_024_vtable; + r->vtable = &winIVRCompositor_IVRCompositor_027_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRCompositor_IVRCompositor_024(void *object) +void destroy_winIVRCompositor_IVRCompositor_027(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024_FnTable(void *linux_side) +winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027_FnTable(void *linux_side) { - winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); - struct thunk *thunks = alloc_thunks(48); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); + winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); + struct thunk *thunks = alloc_thunks(51); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_024_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); - for (i = 0; i < 48; i++) + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_027_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); + for (i = 0; i < 51; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *object) +void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *object) { - winIVRCompositor_IVRCompositor_024 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_022.h" - -typedef struct __winIVRCompositor_IVRCompositor_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_022; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_022_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_022 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_022_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_022_PostPresentHandoff, _this->linux_side, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(winIVRCompositor_IVRCompositor_022 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_022 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_022 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(winIVRCompositor_IVRCompositor_022 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_022 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_022 *_this, EVRCompositorTimingMode eTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->linux_side, eTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_022_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_022, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022(void *linux_side) -{ - winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_022_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_022(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_022_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_022 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_021.h" - -typedef struct __winIVRCompositor_IVRCompositor_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_021; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_021_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_021 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_021_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_021_PostPresentHandoff, _this->linux_side, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(winIVRCompositor_IVRCompositor_021 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_021 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_021 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(winIVRCompositor_IVRCompositor_021 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_021 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 5) -void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_021 *_this, bool bExplicitTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->linux_side, bExplicitTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_021_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_021, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021(void *linux_side) -{ - winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_021_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_021(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); - struct thunk *thunks = alloc_thunks(43); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 43 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_021_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); - for (i = 0; i < 43; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_021 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_020.h" - -typedef struct __winIVRCompositor_IVRCompositor_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_020; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_020_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_020 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_020_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_020_PostPresentHandoff, _this->linux_side, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(winIVRCompositor_IVRCompositor_020 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_020 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_020 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(winIVRCompositor_IVRCompositor_020 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_020 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 20); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_020_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_020, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020(void *linux_side) -{ - winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_020_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_020(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); - struct thunk *thunks = alloc_thunks(41); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 41 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_020_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - for (i = 0; i < 41; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_020 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_019.h" - -typedef struct __winIVRCompositor_IVRCompositor_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_019; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_019_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_019 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_019_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_019_PostPresentHandoff, _this->linux_side, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(winIVRCompositor_IVRCompositor_019 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_019 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_019 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(winIVRCompositor_IVRCompositor_019 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_019 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 19); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_019_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_019, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019(void *linux_side) -{ - winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_019_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_019(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); - struct thunk *thunks = alloc_thunks(40); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_019_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - for (i = 0; i < 40; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_019 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_018.h" - -typedef struct __winIVRCompositor_IVRCompositor_018 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_018; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_018_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_018 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_018_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_018_PostPresentHandoff, _this->linux_side, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(winIVRCompositor_IVRCompositor_018 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_018 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_018 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(winIVRCompositor_IVRCompositor_018 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_018 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_018, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018(void *linux_side) -{ - winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_018_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_018(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); - struct thunk *thunks = alloc_thunks(38); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_018_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 38; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_018 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_017.h" - -typedef struct __winIVRCompositor_IVRCompositor_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_017; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_017_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_017 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_017_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_017_PostPresentHandoff, _this->linux_side, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(winIVRCompositor_IVRCompositor_017 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_017 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(winIVRCompositor_IVRCompositor_017 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_017 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_017, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017(void *linux_side) -{ - winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_017_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_017(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); - struct thunk *thunks = alloc_thunks(36); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_017_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 36; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_017 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_016.h" - -typedef struct __winIVRCompositor_IVRCompositor_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_016; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_016_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_016 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_016_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_016_PostPresentHandoff, _this->linux_side, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(winIVRCompositor_IVRCompositor_016 *_this, winCompositor_FrameTiming_103 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(winIVRCompositor_IVRCompositor_016 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_016 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(winIVRCompositor_IVRCompositor_016 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_016 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_016, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016(void *linux_side) -{ - winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_016_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_016(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); - struct thunk *thunks = alloc_thunks(35); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 35 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_016_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 35; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_016 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_015.h" - -typedef struct __winIVRCompositor_IVRCompositor_015 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_015; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_015 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_015_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_015_PostPresentHandoff, _this->linux_side, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(winIVRCompositor_IVRCompositor_015 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(winIVRCompositor_IVRCompositor_015 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_015 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(winIVRCompositor_IVRCompositor_015 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_RequestScreenshot, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(winIVRCompositor_IVRCompositor_015 *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->linux_side, type, pchDestinationFileName, pchVRDestinationFileName); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 4) -EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_015 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_015, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_RequestScreenshot) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015(void *linux_side) -{ - winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_015_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_015(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); - struct thunk *thunks = alloc_thunks(37); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_015_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 37; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_015 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_014.h" - -typedef struct __winIVRCompositor_IVRCompositor_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_014; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_014 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(winIVRCompositor_IVRCompositor_014 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_014_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_014_PostPresentHandoff, _this->linux_side, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(winIVRCompositor_IVRCompositor_014 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_014 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(winIVRCompositor_IVRCompositor_014 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->linux_side, bSuspend); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_014, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SuspendRendering) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014(void *linux_side) -{ - winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_014_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_014(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); - struct thunk *thunks = alloc_thunks(29); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 29 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_014_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); - for (i = 0; i < 29; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_014 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_013.h" - -typedef struct __winIVRCompositor_IVRCompositor_013 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_013; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_013 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(winIVRCompositor_IVRCompositor_013 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_013_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_013_PostPresentHandoff, _this->linux_side, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(winIVRCompositor_IVRCompositor_013 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_013 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_013, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013(void *linux_side) -{ - winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_013_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_013(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); - struct thunk *thunks = alloc_thunks(27); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 27 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_013_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - for (i = 0; i < 27; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_013 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_012.h" - -typedef struct __winIVRCompositor_IVRCompositor_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_012; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_012 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(winIVRCompositor_IVRCompositor_012 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_012_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_012_PostPresentHandoff, _this->linux_side, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(winIVRCompositor_IVRCompositor_012 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_012, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012(void *linux_side) -{ - winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_012_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_012(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); - struct thunk *thunks = alloc_thunks(26); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_012_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - for (i = 0; i < 26; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_012 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_011.h" - -typedef struct __winIVRCompositor_IVRCompositor_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_011; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(winIVRCompositor_IVRCompositor_011 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_011_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_011_PostPresentHandoff, _this->linux_side, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(winIVRCompositor_IVRCompositor_011 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_011, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorDumpImages) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011(void *linux_side) -{ - winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_011_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_011(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); - struct thunk *thunks = alloc_thunks(24); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_011_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_011 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_010.h" - -typedef struct __winIVRCompositor_IVRCompositor_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_010; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(winIVRCompositor_IVRCompositor_010 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_010_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_010_PostPresentHandoff, _this->linux_side, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(winIVRCompositor_IVRCompositor_010 *_this, winCompositor_FrameTiming_0914 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_010, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorDumpImages) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010(void *linux_side) -{ - winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_010_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_010(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); - struct thunk *thunks = alloc_thunks(24); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_010_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_010 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_009.h" - -typedef struct __winIVRCompositor_IVRCompositor_009 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_009; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(winIVRCompositor_IVRCompositor_009 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_009_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_009_PostPresentHandoff, _this->linux_side, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(winIVRCompositor_IVRCompositor_009 *_this, winCompositor_FrameTiming_0913 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_009, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorDumpImages) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009(void *linux_side) -{ - winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_009_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_009(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); - struct thunk *thunks = alloc_thunks(24); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_009_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_009 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_008.h" - -typedef struct __winIVRCompositor_IVRCompositor_008 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_008; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(winIVRCompositor_IVRCompositor_008 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(winIVRCompositor_IVRCompositor_008 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(winIVRCompositor_IVRCompositor_008 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_WaitGetPoses, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(winIVRCompositor_IVRCompositor_008 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_Submit, 24) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_Submit(winIVRCompositor_IVRCompositor_008 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_008_submit(cppIVRCompositor_IVRCompositor_008_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, nSubmitFlags, 8); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(winIVRCompositor_IVRCompositor_008 *_this, winCompositor_FrameTiming_0910 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 32) -void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) -{ - TRACE("%p\n", _this); - ivrcompositor_008_set_skybox_override(cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride, _this->linux_side, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom, 8); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_008, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008(void *linux_side) -{ - winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_008_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_008(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); - struct thunk *thunks = alloc_thunks(26); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_008_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_008_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_008_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_008_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_008_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_008_Submit, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); - for (i = 0; i < 26; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_008 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_007.h" - -typedef struct __winIVRCompositor_IVRCompositor_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_007; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(winIVRCompositor_IVRCompositor_007 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(winIVRCompositor_IVRCompositor_007 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(winIVRCompositor_IVRCompositor_007 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_WaitGetPoses, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(winIVRCompositor_IVRCompositor_007 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_Submit, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(winIVRCompositor_IVRCompositor_007 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) -{ - TRACE("%p\n", _this); - return ivrcompositor_007_submit(cppIVRCompositor_IVRCompositor_007_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, 7); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(winIVRCompositor_IVRCompositor_007 *_this, winCompositor_FrameTiming_098 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_007, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CanRenderScene) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007(void *linux_side) -{ - winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_007_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_007(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); - struct thunk *thunks = alloc_thunks(19); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_007_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_007_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_007_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_007_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_007_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_007_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); - for (i = 0; i < 19; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_007 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_006.h" - -typedef struct __winIVRCompositor_IVRCompositor_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_006; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(winIVRCompositor_IVRCompositor_006 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(winIVRCompositor_IVRCompositor_006 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(winIVRCompositor_IVRCompositor_006 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 12) -void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(winIVRCompositor_IVRCompositor_006 *_this, Compositor_DeviceType eType, void * pDevice) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->linux_side, eType, pDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_WaitGetPoses, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(winIVRCompositor_IVRCompositor_006 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_Submit, 16) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(winIVRCompositor_IVRCompositor_006 *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) -{ - TRACE("%p\n", _this); - return ivrcompositor_006_submit(cppIVRCompositor_IVRCompositor_006_Submit, _this->linux_side, eEye, pTexture, pBounds, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(winIVRCompositor_IVRCompositor_006 *_this, winCompositor_FrameTiming_092 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_006, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CanRenderScene) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006(void *linux_side) -{ - winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); - struct thunk *thunks = alloc_thunks(20); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_006_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_006_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_006_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_006_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_006_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_006_Submit, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); - for (i = 0; i < 20; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRCompositor_IVRCompositor_005.h" - -typedef struct __winIVRCompositor_IVRCompositor_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_005; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(winIVRCompositor_IVRCompositor_005 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(winIVRCompositor_IVRCompositor_005 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(winIVRCompositor_IVRCompositor_005 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(winIVRCompositor_IVRCompositor_005 *_this, Compositor_DeviceType eType, void * pDevice) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->linux_side, eType, pDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_WaitGetPoses, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(winIVRCompositor_IVRCompositor_005 *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->linux_side, pPoseArray, unPoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_Submit, 16) -void __thiscall winIVRCompositor_IVRCompositor_005_Submit(winIVRCompositor_IVRCompositor_005 *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) -{ - TRACE("%p\n", _this); - ivrcompositor_005_submit(cppIVRCompositor_IVRCompositor_005_Submit, _this->linux_side, eEye, pTexture, pBounds, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 8) -void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings * pSettings) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->linux_side, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlay, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(winIVRCompositor_IVRCompositor_005 *_this, void * pTexture, Compositor_OverlaySettings * pSettings) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->linux_side, pTexture, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 24) -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(winIVRCompositor_IVRCompositor_005 *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->linux_side, buffer, width, height, depth, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(winIVRCompositor_IVRCompositor_005 *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->linux_side, pchFilePath ? lin_pchFilePath : NULL, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearOverlay, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(winIVRCompositor_IVRCompositor_005 *_this, winCompositor_FrameTiming_091 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 48) -bool __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->linux_side, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_005, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlay) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearOverlay) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetTrackingSpace) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005(void *linux_side) -{ - winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); - struct thunk *thunks = alloc_thunks(24); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_005_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_005_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_005_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_005_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_005_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_005_Submit, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_005 *win_object = object; + winIVRCompositor_IVRCompositor_027 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); diff --git a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c index e5f9d87d..a3f8d5e3 100644 --- a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c +++ b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c @@ -18,6 +18,108 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); +#include "cppIVRIOBuffer_IVRIOBuffer_001.h" + +typedef struct __winIVRIOBuffer_IVRIOBuffer_001 { + vtable_ptr *vtable; + void *linux_side; +} winIVRIOBuffer_IVRIOBuffer_001; + +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Open, 24) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Open(winIVRIOBuffer_IVRIOBuffer_001 *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) +{ + TRACE("%p\n", _this); + return cppIVRIOBuffer_IVRIOBuffer_001_Open(_this->linux_side, pchPath, mode, unElementSize, unElements, pulBuffer); +} + +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Close, 12) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) +{ + TRACE("%p\n", _this); + return cppIVRIOBuffer_IVRIOBuffer_001_Close(_this->linux_side, ulBuffer); +} + +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Read, 24) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) +{ + TRACE("%p\n", _this); + return cppIVRIOBuffer_IVRIOBuffer_001_Read(_this->linux_side, ulBuffer, pDst, unBytes, punRead); +} + +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Write, 20) +EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) +{ + TRACE("%p\n", _this); + return cppIVRIOBuffer_IVRIOBuffer_001_Write(_this->linux_side, ulBuffer, pSrc, unBytes); +} + +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 12) +PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) +{ + TRACE("%p\n", _this); + return cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(_this->linux_side, ulBuffer); +} + +extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_001_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRIOBuffer_IVRIOBuffer_001, + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Open) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Close) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Read) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Write) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer) + ); +#ifndef __GNUC__ +} +#endif + +winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001(void *linux_side) +{ + winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); + TRACE("-> %p\n", r); + r->vtable = &winIVRIOBuffer_IVRIOBuffer_001_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *linux_side) +{ + winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); + struct thunk *thunks = alloc_thunks(5); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 5 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRIOBuffer_IVRIOBuffer_001_Open, 5, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRIOBuffer_IVRIOBuffer_001_Close, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRIOBuffer_IVRIOBuffer_001_Read, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRIOBuffer_IVRIOBuffer_001_Write, 3, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); + for (i = 0; i < 5; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *object) +{ + winIVRIOBuffer_IVRIOBuffer_001 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + #include "cppIVRIOBuffer_IVRIOBuffer_002.h" typedef struct __winIVRIOBuffer_IVRIOBuffer_002 { @@ -129,105 +231,3 @@ void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRIOBuffer_IVRIOBuffer_001.h" - -typedef struct __winIVRIOBuffer_IVRIOBuffer_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRIOBuffer_IVRIOBuffer_001; - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Open, 24) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Open(winIVRIOBuffer_IVRIOBuffer_001 *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Open(_this->linux_side, pchPath, mode, unElementSize, unElements, pulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Close, 12) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Close(_this->linux_side, ulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Read, 24) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Read(_this->linux_side, ulBuffer, pDst, unBytes, punRead); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Write, 20) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Write(_this->linux_side, ulBuffer, pSrc, unBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 12) -PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(_this->linux_side, ulBuffer); -} - -extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRIOBuffer_IVRIOBuffer_001, - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Open) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Close) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Read) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Write) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer) - ); -#ifndef __GNUC__ -} -#endif - -winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001(void *linux_side) -{ - winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRIOBuffer_IVRIOBuffer_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *linux_side) -{ - winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); - struct thunk *thunks = alloc_thunks(5); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 5 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRIOBuffer_IVRIOBuffer_001_Open, 5, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRIOBuffer_IVRIOBuffer_001_Close, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRIOBuffer_IVRIOBuffer_001_Read, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRIOBuffer_IVRIOBuffer_001_Write, 3, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); - for (i = 0; i < 5; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *object) -{ - winIVRIOBuffer_IVRIOBuffer_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRInput.c b/vrclient_x64/vrclient_x64/winIVRInput.c index 459fbd6f..8d1186ad 100644 --- a/vrclient_x64/vrclient_x64/winIVRInput.c +++ b/vrclient_x64/vrclient_x64/winIVRInput.c @@ -18,6 +18,1327 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); +#include "cppIVRInput_IVRInput_003.h" + +typedef struct __winIVRInput_IVRInput_003 { + vtable_ptr *vtable; + void *linux_side; +} winIVRInput_IVRInput_003; + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_SetActionManifestPath, 8) +EVRInputError __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(winIVRInput_IVRInput_003 *_this, const char * pchActionManifestPath) +{ + char lin_pchActionManifestPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionSetHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(winIVRInput_IVRInput_003 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionHandle(winIVRInput_IVRInput_003 *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetActionHandle(_this->linux_side, pchActionName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetInputSourceHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(winIVRInput_IVRInput_003 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UpdateActionState, 16) +EVRInputError __thiscall winIVRInput_IVRInput_003_UpdateActionState(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetDigitalActionData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1015 * pActionData, uint32_t unActionDataSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetDigitalActionData(_this->linux_side, action, pActionData, unActionDataSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetAnalogActionData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1015 * pActionData, uint32_t unActionDataSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetPoseActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetPoseActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 * pActionData, uint32_t unActionDataSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionData, 36) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetSkeletalActionData(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pActionData, unActionDataSize, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 32) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pvCompressedData, unCompressedSize, punRequiredCompressedSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UncompressSkeletalActionData, 24) +EVRInputError __thiscall winIVRInput_IVRInput_003_UncompressSkeletalActionData(winIVRInput_IVRInput_003 *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_UncompressSkeletalActionData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peBoneParent, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 28) +EVRInputError __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionOrigins, 28) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginLocalizedName, 20) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 20) +EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowActionOrigins, 20) +EVRInputError __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowBindingsForActionSet, 24) +EVRInputError __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_003_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); +} + +extern vtable_ptr winIVRInput_IVRInput_003_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRInput_IVRInput_003, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetPoseActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UncompressSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowBindingsForActionSet) + ); +#ifndef __GNUC__ +} +#endif + +winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003(void *linux_side) +{ + winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_003_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRInput_IVRInput_003(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003_FnTable(void *linux_side) +{ + winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); + struct thunk *thunks = alloc_thunks(17); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 17 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_003_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_003_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); + for (i = 0; i < 17; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_003_FnTable(void *object) +{ + winIVRInput_IVRInput_003 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRInput_IVRInput_004.h" + +typedef struct __winIVRInput_IVRInput_004 { + vtable_ptr *vtable; + void *linux_side; +} winIVRInput_IVRInput_004; + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_SetActionManifestPath, 8) +EVRInputError __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(winIVRInput_IVRInput_004 *_this, const char * pchActionManifestPath) +{ + char lin_pchActionManifestPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionSetHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(winIVRInput_IVRInput_004 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionHandle(winIVRInput_IVRInput_004 *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetActionHandle(_this->linux_side, pchActionName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetInputSourceHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(winIVRInput_IVRInput_004 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_UpdateActionState, 16) +EVRInputError __thiscall winIVRInput_IVRInput_004_UpdateActionState(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetDigitalActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_004_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 4); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetAnalogActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetPoseActionData, 36) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetPoseActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneData, 36) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 40) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(_this->linux_side, action, eTransformSpace, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 24) +EVRInputError __thiscall winIVRInput_IVRInput_004_DecompressSkeletalBoneData(winIVRInput_IVRInput_004 *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peTransformSpace, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 36) +EVRInputError __thiscall winIVRInput_IVRInput_004_TriggerHapticVibrationAction(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionOrigins, 28) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginLocalizedName, 20) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 20) +EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowActionOrigins, 20) +EVRInputError __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowBindingsForActionSet, 24) +EVRInputError __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_004_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); +} + +extern vtable_ptr winIVRInput_IVRInput_004_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRInput_IVRInput_004, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetPoseActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowBindingsForActionSet) + ); +#ifndef __GNUC__ +} +#endif + +winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004(void *linux_side) +{ + winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_004_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRInput_IVRInput_004(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004_FnTable(void *linux_side) +{ + winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); + struct thunk *thunks = alloc_thunks(18); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_004_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_004_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); + for (i = 0; i < 18; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_004_FnTable(void *object) +{ + winIVRInput_IVRInput_004 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRInput_IVRInput_005.h" + +typedef struct __winIVRInput_IVRInput_005 { + vtable_ptr *vtable; + void *linux_side; +} winIVRInput_IVRInput_005; + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_SetActionManifestPath, 8) +EVRInputError __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(winIVRInput_IVRInput_005 *_this, const char * pchActionManifestPath) +{ + char lin_pchActionManifestPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionSetHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(winIVRInput_IVRInput_005 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionHandle(winIVRInput_IVRInput_005 *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetActionHandle(_this->linux_side, pchActionName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetInputSourceHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(winIVRInput_IVRInput_005 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_UpdateActionState, 16) +EVRInputError __thiscall winIVRInput_IVRInput_005_UpdateActionState(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetDigitalActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_005_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 5); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetAnalogActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetPoseActionData, 36) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetPoseActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalActionData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1322 * pActionData, uint32_t unActionDataSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneCount, 16) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneCount(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, uint32_t * pBoneCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetBoneCount(_this->linux_side, action, pBoneCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneHierarchy, 20) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneName, 24) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneName(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 28) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 16) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalSummaryData, 16) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetSkeletalSummaryData(_this->linux_side, action, pSkeletalSummaryData); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 28) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 24) +EVRInputError __thiscall winIVRInput_IVRInput_005_DecompressSkeletalBoneData(winIVRInput_IVRInput_005 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 36) +EVRInputError __thiscall winIVRInput_IVRInput_005_TriggerHapticVibrationAction(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionOrigins, 28) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginLocalizedName, 24) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 20) +EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowActionOrigins, 20) +EVRInputError __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowBindingsForActionSet, 24) +EVRInputError __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_IsUsingLegacyInput, 4) +bool __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(winIVRInput_IVRInput_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_005_IsUsingLegacyInput(_this->linux_side); +} + +extern vtable_ptr winIVRInput_IVRInput_005_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRInput_IVRInput_005, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetPoseActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_IsUsingLegacyInput) + ); +#ifndef __GNUC__ +} +#endif + +winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005(void *linux_side) +{ + winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_005_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRInput_IVRInput_005(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005_FnTable(void *linux_side) +{ + winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); + struct thunk *thunks = alloc_thunks(25); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 25 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_005_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_005_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_005_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_005_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); + for (i = 0; i < 25; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_005_FnTable(void *object) +{ + winIVRInput_IVRInput_005 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRInput_IVRInput_006.h" + +typedef struct __winIVRInput_IVRInput_006 { + vtable_ptr *vtable; + void *linux_side; +} winIVRInput_IVRInput_006; + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_SetActionManifestPath, 8) +EVRInputError __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(winIVRInput_IVRInput_006 *_this, const char * pchActionManifestPath) +{ + char lin_pchActionManifestPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionSetHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(winIVRInput_IVRInput_006 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionHandle(winIVRInput_IVRInput_006 *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetActionHandle(_this->linux_side, pchActionName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetInputSourceHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(winIVRInput_IVRInput_006 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_UpdateActionState, 16) +EVRInputError __thiscall winIVRInput_IVRInput_006_UpdateActionState(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetDigitalActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_006_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 6); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetAnalogActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 36) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 32) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalActionData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1418 * pActionData, uint32_t unActionDataSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneCount, 16) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneCount(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, uint32_t * pBoneCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetBoneCount(_this->linux_side, action, pBoneCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneHierarchy, 20) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneName, 24) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneName(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 28) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 16) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalSummaryData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 28) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 24) +EVRInputError __thiscall winIVRInput_IVRInput_006_DecompressSkeletalBoneData(winIVRInput_IVRInput_006 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 36) +EVRInputError __thiscall winIVRInput_IVRInput_006_TriggerHapticVibrationAction(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionOrigins, 28) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginLocalizedName, 24) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 20) +EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowActionOrigins, 20) +EVRInputError __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowBindingsForActionSet, 24) +EVRInputError __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_IsUsingLegacyInput, 4) +bool __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(winIVRInput_IVRInput_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_006_IsUsingLegacyInput(_this->linux_side); +} + +extern vtable_ptr winIVRInput_IVRInput_006_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRInput_IVRInput_006, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_IsUsingLegacyInput) + ); +#ifndef __GNUC__ +} +#endif + +winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006(void *linux_side) +{ + winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_006_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRInput_IVRInput_006(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006_FnTable(void *linux_side) +{ + winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); + struct thunk *thunks = alloc_thunks(26); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_006_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_006_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_006_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_006_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRInput_IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); + for (i = 0; i < 26; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_006_FnTable(void *object) +{ + winIVRInput_IVRInput_006 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRInput_IVRInput_007.h" + +typedef struct __winIVRInput_IVRInput_007 { + vtable_ptr *vtable; + void *linux_side; +} winIVRInput_IVRInput_007; + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_SetActionManifestPath, 8) +EVRInputError __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(winIVRInput_IVRInput_007 *_this, const char * pchActionManifestPath) +{ + char lin_pchActionManifestPath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionSetHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(winIVRInput_IVRInput_007 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionHandle(winIVRInput_IVRInput_007 *_this, const char * pchActionName, VRActionHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetActionHandle(_this->linux_side, pchActionName, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetInputSourceHandle, 12) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(winIVRInput_IVRInput_007 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_UpdateActionState, 16) +EVRInputError __thiscall winIVRInput_IVRInput_007_UpdateActionState(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetDigitalActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_007_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 7); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetAnalogActionData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 36) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 32) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalActionData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1916 * pActionData, uint32_t unActionDataSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneCount, 16) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneCount(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, uint32_t * pBoneCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetBoneCount(_this->linux_side, action, pBoneCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneHierarchy, 20) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneName, 24) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneName(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 16) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneData, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalSummaryData, 20) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 24) +EVRInputError __thiscall winIVRInput_IVRInput_007_DecompressSkeletalBoneData(winIVRInput_IVRInput_007 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 36) +EVRInputError __thiscall winIVRInput_IVRInput_007_TriggerHapticVibrationAction(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionOrigins, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginLocalizedName, 24) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 20) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionBindingInfo, 28) +EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_GetActionBindingInfo(_this->linux_side, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowActionOrigins, 20) +EVRInputError __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowBindingsForActionSet, 24) +EVRInputError __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_IsUsingLegacyInput, 4) +bool __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(winIVRInput_IVRInput_007 *_this) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_IsUsingLegacyInput(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_OpenBindingUI, 25) +EVRInputError __thiscall winIVRInput_IVRInput_007_OpenBindingUI(winIVRInput_IVRInput_007 *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRInput_IVRInput_007_OpenBindingUI(_this->linux_side, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); +} + +extern vtable_ptr winIVRInput_IVRInput_007_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRInput_IVRInput_007, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionBindingInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_IsUsingLegacyInput) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_OpenBindingUI) + ); +#ifndef __GNUC__ +} +#endif + +winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007(void *linux_side) +{ + winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_007_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRInput_IVRInput_007(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007_FnTable(void *linux_side) +{ + winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); + struct thunk *thunks = alloc_thunks(28); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_007_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_007_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_007_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_007_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_007_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_007_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_007_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_007_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_007_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_007_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_007_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_007_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_007_GetSkeletalSummaryData, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_007_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_007_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_007_GetActionBindingInfo, 5, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_007_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRInput_IVRInput_007_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRInput_IVRInput_007_IsUsingLegacyInput, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRInput_IVRInput_007_OpenBindingUI, 4, FALSE, FALSE); + for (i = 0; i < 28; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_007_FnTable(void *object) +{ + winIVRInput_IVRInput_007 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + #include "cppIVRInput_IVRInput_010.h" typedef struct __winIVRInput_IVRInput_010 { @@ -365,1324 +1686,3 @@ void destroy_winIVRInput_IVRInput_010_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRInput_IVRInput_007.h" - -typedef struct __winIVRInput_IVRInput_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_007; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(winIVRInput_IVRInput_007 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(winIVRInput_IVRInput_007 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionHandle(winIVRInput_IVRInput_007 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(winIVRInput_IVRInput_007 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_007_UpdateActionState(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_007_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 7); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 36) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 32) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1916 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneCount(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneName(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalSummaryData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_DecompressSkeletalBoneData(winIVRInput_IVRInput_007 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_007_TriggerHapticVibrationAction(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionBindingInfo, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionBindingInfo(_this->linux_side, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(winIVRInput_IVRInput_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_IsUsingLegacyInput(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_OpenBindingUI, 25) -EVRInputError __thiscall winIVRInput_IVRInput_007_OpenBindingUI(winIVRInput_IVRInput_007 *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_OpenBindingUI(_this->linux_side, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); -} - -extern vtable_ptr winIVRInput_IVRInput_007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_007, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionBindingInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_IsUsingLegacyInput) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_OpenBindingUI) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007(void *linux_side) -{ - winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_007_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_007(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); - struct thunk *thunks = alloc_thunks(28); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_007_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_007_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_007_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_007_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_007_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_007_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_007_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_007_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_007_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_007_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_007_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_007_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_007_GetSkeletalSummaryData, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_007_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_007_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_007_GetActionBindingInfo, 5, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_007_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRInput_IVRInput_007_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRInput_IVRInput_007_IsUsingLegacyInput, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRInput_IVRInput_007_OpenBindingUI, 4, FALSE, FALSE); - for (i = 0; i < 28; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_007_FnTable(void *object) -{ - winIVRInput_IVRInput_007 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRInput_IVRInput_006.h" - -typedef struct __winIVRInput_IVRInput_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_006; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(winIVRInput_IVRInput_006 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(winIVRInput_IVRInput_006 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionHandle(winIVRInput_IVRInput_006 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(winIVRInput_IVRInput_006 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_006_UpdateActionState(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_006_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 36) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 32) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1418 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneCount(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneName(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalSummaryData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_DecompressSkeletalBoneData(winIVRInput_IVRInput_006 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_006_TriggerHapticVibrationAction(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(winIVRInput_IVRInput_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_IsUsingLegacyInput(_this->linux_side); -} - -extern vtable_ptr winIVRInput_IVRInput_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_006, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_IsUsingLegacyInput) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006(void *linux_side) -{ - winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); - struct thunk *thunks = alloc_thunks(26); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_006_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_006_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_006_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_006_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRInput_IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); - for (i = 0; i < 26; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_006_FnTable(void *object) -{ - winIVRInput_IVRInput_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRInput_IVRInput_005.h" - -typedef struct __winIVRInput_IVRInput_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_005; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(winIVRInput_IVRInput_005 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(winIVRInput_IVRInput_005 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionHandle(winIVRInput_IVRInput_005 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(winIVRInput_IVRInput_005 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_UpdateActionState(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_005_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetPoseActionData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetPoseActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1322 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneCount(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneName(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalSummaryData, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalSummaryData(_this->linux_side, action, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_DecompressSkeletalBoneData(winIVRInput_IVRInput_005 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_005_TriggerHapticVibrationAction(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(winIVRInput_IVRInput_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_IsUsingLegacyInput(_this->linux_side); -} - -extern vtable_ptr winIVRInput_IVRInput_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_005, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetPoseActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_IsUsingLegacyInput) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005(void *linux_side) -{ - winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); - struct thunk *thunks = alloc_thunks(25); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 25 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_005_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_005_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_005_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_005_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); - for (i = 0; i < 25; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_005_FnTable(void *object) -{ - winIVRInput_IVRInput_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRInput_IVRInput_004.h" - -typedef struct __winIVRInput_IVRInput_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_004; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(winIVRInput_IVRInput_004 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(winIVRInput_IVRInput_004 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionHandle(winIVRInput_IVRInput_004 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(winIVRInput_IVRInput_004 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_004_UpdateActionState(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_004_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetPoseActionData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetPoseActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 40) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(_this->linux_side, action, eTransformSpace, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_004_DecompressSkeletalBoneData(winIVRInput_IVRInput_004 *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_004_TriggerHapticVibrationAction(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginLocalizedName, 20) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -extern vtable_ptr winIVRInput_IVRInput_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_004, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetPoseActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowBindingsForActionSet) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004(void *linux_side) -{ - winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); - struct thunk *thunks = alloc_thunks(18); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_004_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_004_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); - for (i = 0; i < 18; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_004_FnTable(void *object) -{ - winIVRInput_IVRInput_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRInput_IVRInput_003.h" - -typedef struct __winIVRInput_IVRInput_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_003; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(winIVRInput_IVRInput_003 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(winIVRInput_IVRInput_003 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionHandle(winIVRInput_IVRInput_003 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(winIVRInput_IVRInput_003 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_003_UpdateActionState(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetDigitalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetDigitalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetAnalogActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetPoseActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetPoseActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetSkeletalActionData(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pActionData, unActionDataSize, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 32) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UncompressSkeletalActionData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_003_UncompressSkeletalActionData(winIVRInput_IVRInput_003 *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_UncompressSkeletalActionData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peBoneParent, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 28) -EVRInputError __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginLocalizedName, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -extern vtable_ptr winIVRInput_IVRInput_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_003, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetPoseActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UncompressSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowBindingsForActionSet) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003(void *linux_side) -{ - winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); - struct thunk *thunks = alloc_thunks(17); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 17 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_003_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_003_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); - for (i = 0; i < 17; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_003_FnTable(void *object) -{ - winIVRInput_IVRInput_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRNotifications.c b/vrclient_x64/vrclient_x64/winIVRNotifications.c index 52bc6eb4..378c4f53 100644 --- a/vrclient_x64/vrclient_x64/winIVRNotifications.c +++ b/vrclient_x64/vrclient_x64/winIVRNotifications.c @@ -18,81 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRNotifications_IVRNotifications_002.h" - -typedef struct __winIVRNotifications_IVRNotifications_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRNotifications_IVRNotifications_002; - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_CreateNotification, 40) -EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(winIVRNotifications_IVRNotifications_002 *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_002_CreateNotification(_this->linux_side, ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); -} - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotification, 8) -EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(winIVRNotifications_IVRNotifications_002 *_this, VRNotificationId notificationId) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_002_RemoveNotification(_this->linux_side, notificationId); -} - -extern vtable_ptr winIVRNotifications_IVRNotifications_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRNotifications_IVRNotifications_002, - VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_CreateNotification) - VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_RemoveNotification) - ); -#ifndef __GNUC__ -} -#endif - -winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002(void *linux_side) -{ - winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRNotifications_IVRNotifications_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRNotifications_IVRNotifications_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002_FnTable(void *linux_side) -{ - winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); - struct thunk *thunks = alloc_thunks(2); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRNotifications_IVRNotifications_002_CreateNotification, 7, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); - for (i = 0; i < 2; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *object) -{ - winIVRNotifications_IVRNotifications_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - #include "cppIVRNotifications_IVRNotifications_001.h" typedef struct __winIVRNotifications_IVRNotifications_001 { @@ -177,3 +102,78 @@ void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } +#include "cppIVRNotifications_IVRNotifications_002.h" + +typedef struct __winIVRNotifications_IVRNotifications_002 { + vtable_ptr *vtable; + void *linux_side; +} winIVRNotifications_IVRNotifications_002; + +DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_CreateNotification, 40) +EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(winIVRNotifications_IVRNotifications_002 *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) +{ + TRACE("%p\n", _this); + return cppIVRNotifications_IVRNotifications_002_CreateNotification(_this->linux_side, ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); +} + +DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotification, 8) +EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(winIVRNotifications_IVRNotifications_002 *_this, VRNotificationId notificationId) +{ + TRACE("%p\n", _this); + return cppIVRNotifications_IVRNotifications_002_RemoveNotification(_this->linux_side, notificationId); +} + +extern vtable_ptr winIVRNotifications_IVRNotifications_002_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRNotifications_IVRNotifications_002, + VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_CreateNotification) + VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_RemoveNotification) + ); +#ifndef __GNUC__ +} +#endif + +winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002(void *linux_side) +{ + winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); + TRACE("-> %p\n", r); + r->vtable = &winIVRNotifications_IVRNotifications_002_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRNotifications_IVRNotifications_002(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002_FnTable(void *linux_side) +{ + winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); + struct thunk *thunks = alloc_thunks(2); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRNotifications_IVRNotifications_002_CreateNotification, 7, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); + for (i = 0; i < 2; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *object) +{ + winIVRNotifications_IVRNotifications_002 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + diff --git a/vrclient_x64/vrclient_x64/winIVROverlay.c b/vrclient_x64/vrclient_x64/winIVROverlay.c index 29e5778b..68bcc730 100644 --- a/vrclient_x64/vrclient_x64/winIVROverlay.c +++ b/vrclient_x64/vrclient_x64/winIVROverlay.c @@ -18,7020 +18,7715 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVROverlay_IVROverlay_027.h" +#include "cppIVROverlay_IVROverlay_001.h" -typedef struct __winIVROverlay_IVROverlay_027 { +typedef struct __winIVROverlay_IVROverlay_001 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_027; +} winIVROverlay_IVROverlay_001; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_FindOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_FindOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_FindOverlay(winIVROverlay_IVROverlay_001 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_001_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_CreateOverlay, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(winIVROverlay_IVROverlay_001 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_001_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_DestroyOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_DestroyOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_001_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayKey(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayName(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayName(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_001 *_this, VROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayImageData(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFlag, 17) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_001_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_027 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayFlag, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_001_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRenderingPid(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_001_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayRenderingPid(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_001_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFlag(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_001_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlag(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_001_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlags(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayColor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayColor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayAlpha(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayAlpha(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformType, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_001_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexelAspect(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexelAspect(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlaySortOrder(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlaySortOrder(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayVisibility, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_001_GetOverlayVisibility(_this->linux_side, ulOverlayHandle, peOverlayVisibility); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayVisibility, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_001_SetOverlayVisibility(_this->linux_side, ulOverlayHandle, eOverlayVisibility); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCurvature(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ShowOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + return cppIVROverlay_IVROverlay_001_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayCurvature(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HideOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_HideOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + return cppIVROverlay_IVROverlay_001_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); + return cppIVROverlay_IVROverlay_001_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); + return cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureBounds(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureBounds(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformType(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTexture, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return ivroverlay_001_set_overlay_texture(cppIVROverlay_IVROverlay_001_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 1); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayRaw, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayRaw(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_001_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformProjection, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformProjection(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_HideOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_027_IsOverlayVisible(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_WaitFrameSync, 8) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(winIVROverlay_IVROverlay_027 *_this, uint32_t nTimeoutMs) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_WaitFrameSync(_this->linux_side, nTimeoutMs); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1267 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayInputMethod(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayInputMethod(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayMouseScale(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayMouseScale(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_027_ComputeOverlayIntersection(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_027_IsHoverTargetOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_027_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 27); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRaw(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFromFile(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFromFile, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_001_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(winIVROverlay_IVROverlay_001 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureSize(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateDashboardOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_027_IsDashboardVisible(winIVROverlay_IVROverlay_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_027_ShowDashboard(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboard(winIVROverlay_IVROverlay_027 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_027_GetKeyboardText(winIVROverlay_IVROverlay_027 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_027_HideKeyboard(winIVROverlay_IVROverlay_027 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_027_ShowMessageOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_027_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_027_CloseMessageOverlay(winIVROverlay_IVROverlay_027 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_027_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_027_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_001_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_027, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformProjection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_WaitFrameSync) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_001, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayVisibility) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayVisibility) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027(void *linux_side) +winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001(void *linux_side) { - winIVROverlay_IVROverlay_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_027)); + winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_027_vtable; + r->vtable = &winIVROverlay_IVROverlay_001_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_027(void *object) +void destroy_winIVROverlay_IVROverlay_001(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027_FnTable(void *linux_side) +winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_027)); - struct thunk *thunks = alloc_thunks(80); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); + winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); + struct thunk *thunks = alloc_thunks(40); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_027_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_027_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_027_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_027_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_027_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_027_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_027_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_027_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_027_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_027_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_027_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_027_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_027_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_027_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_027_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_027_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_027_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_027_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_027_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_027_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_027_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_027_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, 2, TRUE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_027_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_027_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_027_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_027_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_027_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_027_SetOverlayTransformProjection, 5, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_027_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_027_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_027_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_027_WaitFrameSync, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_027_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_027_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_027_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_027_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_027_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_027_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_027_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_027_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_027_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_027_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_027_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_027_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_027_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_027_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_027_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_027_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_027_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_027_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_027_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_027_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_027_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_027_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 80; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_001_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_001_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); + for (i = 0; i < 40; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_027_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_001_FnTable(void *object) { - winIVROverlay_IVROverlay_027 *win_object = object; + winIVROverlay_IVROverlay_001 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_026.h" +#include "cppIVROverlay_IVROverlay_002.h" -typedef struct __winIVROverlay_IVROverlay_026 { +typedef struct __winIVROverlay_IVROverlay_002 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_026; +} winIVROverlay_IVROverlay_002; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_FindOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_FindOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_FindOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_002_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateOverlay, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_002_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_DestroyOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_002_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayKey(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_002 *_this, VROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayImageData(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFlag, 17) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_002_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_026 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayFlag, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_002_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_002_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_002_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_002_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_002_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_002_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_002_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformType, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_002_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ShowOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + return cppIVROverlay_IVROverlay_002_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HideOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_HideOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + return cppIVROverlay_IVROverlay_002_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); + return cppIVROverlay_IVROverlay_002_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); + return cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTexture, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_002_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 2); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ClearOverlayTexture, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_002_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayRaw, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayRaw(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_002_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformProjection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_HideOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_WaitFrameSync, 8) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(winIVROverlay_IVROverlay_026 *_this, uint32_t nTimeoutMs) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_WaitFrameSync(_this->linux_side, nTimeoutMs); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_026_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRaw(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFromFile, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_002_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(winIVROverlay_IVROverlay_002 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_002_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(winIVROverlay_IVROverlay_026 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboard(winIVROverlay_IVROverlay_026 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(winIVROverlay_IVROverlay_026 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_026_ShowMessageOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_026_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_002_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_026, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_WaitFrameSync) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_002, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026(void *linux_side) +winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002(void *linux_side) { - winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); + winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_026_vtable; + r->vtable = &winIVROverlay_IVROverlay_002_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_026(void *object) +void destroy_winIVROverlay_IVROverlay_002(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026_FnTable(void *linux_side) +winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); + struct thunk *thunks = alloc_thunks(42); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_026_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_026_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_002_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_002_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + for (i = 0; i < 42; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_026_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_002_FnTable(void *object) { - winIVROverlay_IVROverlay_026 *win_object = object; + winIVROverlay_IVROverlay_002 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_025.h" +#include "cppIVROverlay_IVROverlay_003.h" -typedef struct __winIVROverlay_IVROverlay_025 { +typedef struct __winIVROverlay_IVROverlay_003 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_025; +} winIVROverlay_IVROverlay_003; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_FindOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_FindOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_FindOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_003_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateOverlay, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_003_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_DestroyOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_003_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayKey(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayKey(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_003_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayImageData(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayName(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_003_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_025 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayImageData, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayImageData(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_003_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_003 *_this, VROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFlag, 17) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_003_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayFlag, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_003_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_003_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_003_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_003_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_003_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_003_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_003_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformType, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_003_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + return cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + return cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_003_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HideOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_HideOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_003_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_003_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTexture, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_003_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 3); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ClearOverlayTexture, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_003_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayRaw, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayRaw(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + return cppIVROverlay_IVROverlay_003_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformProjection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_HideOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_025_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 25); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRaw(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFromFile, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_003_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(winIVROverlay_IVROverlay_003 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_003_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(winIVROverlay_IVROverlay_025 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + cppIVROverlay_IVROverlay_003_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboard(winIVROverlay_IVROverlay_025 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(winIVROverlay_IVROverlay_025 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_025_ShowMessageOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_025_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_003_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_025, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_003, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowDashboard) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025(void *linux_side) +winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003(void *linux_side) { - winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); + winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_025_vtable; + r->vtable = &winIVROverlay_IVROverlay_003_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_025(void *object) +void destroy_winIVROverlay_IVROverlay_003(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025_FnTable(void *linux_side) +winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); - struct thunk *thunks = alloc_thunks(79); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 79 * sizeof(*vtable)); + winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_025_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_025_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 79; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_003_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_003_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); + for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_025_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_003_FnTable(void *object) { - winIVROverlay_IVROverlay_025 *win_object = object; + winIVROverlay_IVROverlay_003 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_024.h" +#include "cppIVROverlay_IVROverlay_004.h" -typedef struct __winIVROverlay_IVROverlay_024 { +typedef struct __winIVROverlay_IVROverlay_004 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_024; +} winIVROverlay_IVROverlay_004; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_FindOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_FindOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_FindOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_004_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateOverlay, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_004_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_DestroyOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_004_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayKey(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayKey(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_004_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayImageData(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayName(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_004_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_024 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayImageData, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayImageData(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_004_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_004 *_this, VROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFlag, 17) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_004_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayFlag, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_004_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_004_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_004_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_004_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_004_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_004_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_004_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformType, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + return cppIVROverlay_IVROverlay_004_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + return cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_004_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HideOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_HideOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_004_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_004_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTexture, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_004_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 4); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ClearOverlayTexture, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + return cppIVROverlay_IVROverlay_004_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayRaw, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayRaw(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_004_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_HideOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_024_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRaw(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFromFile, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_004_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(winIVROverlay_IVROverlay_004 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_004_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(winIVROverlay_IVROverlay_024 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + cppIVROverlay_IVROverlay_004_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboard(winIVROverlay_IVROverlay_024 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(winIVROverlay_IVROverlay_024 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_024_ShowMessageOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_024_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_004_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_024, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_004, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowDashboard) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024(void *linux_side) +winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004(void *linux_side) { - winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); + winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_024_vtable; + r->vtable = &winIVROverlay_IVROverlay_004_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_024(void *object) +void destroy_winIVROverlay_IVROverlay_004(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024_FnTable(void *linux_side) +winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); - struct thunk *thunks = alloc_thunks(78); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 78 * sizeof(*vtable)); + winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); + struct thunk *thunks = alloc_thunks(48); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_024_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_024_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 78; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_004_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_004_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); + for (i = 0; i < 48; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_024_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_004_FnTable(void *object) { - winIVROverlay_IVROverlay_024 *win_object = object; + winIVROverlay_IVROverlay_004 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_022.h" +#include "cppIVROverlay_IVROverlay_005.h" -typedef struct __winIVROverlay_IVROverlay_022 { +typedef struct __winIVROverlay_IVROverlay_005 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_022; +} winIVROverlay_IVROverlay_005; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_FindOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_FindOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_FindOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_005_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateOverlay, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_005_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_DestroyOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_005_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayKey(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayKey(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_005_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayImageData(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayName(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_005_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_022 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayImageData, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayImageData(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_005_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_005 *_this, VROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFlag, 17) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_005_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayFlag, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_005_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_005_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayColor, 24) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_005_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_005_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAlpha, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_005_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_005_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayGamma, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_005_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformType, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + return cppIVROverlay_IVROverlay_005_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + return cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_005_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideOverlay, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_HideOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + return cppIVROverlay_IVROverlay_005_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + return cppIVROverlay_IVROverlay_005_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsFocusOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_005_IsFocusOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTexture, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_005_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 5); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ClearOverlayTexture, 12) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); + return cppIVROverlay_IVROverlay_005_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayRaw, 28) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayRaw(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); + return cppIVROverlay_IVROverlay_005_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_HideOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_022_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRaw(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFromFile, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_005_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 20) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(winIVROverlay_IVROverlay_005 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_005_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(winIVROverlay_IVROverlay_022 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 16) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + cppIVROverlay_IVROverlay_005_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowKeyboard, 25) +VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowKeyboard(winIVROverlay_IVROverlay_005 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_005_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(winIVROverlay_IVROverlay_005 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_005_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(winIVROverlay_IVROverlay_005 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_005_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboard(winIVROverlay_IVROverlay_022 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(winIVROverlay_IVROverlay_022 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_022_ShowMessageOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_022_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_005_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_022, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_005, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideKeyboard) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022(void *linux_side) +winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005(void *linux_side) { - winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); + winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_022_vtable; + r->vtable = &winIVROverlay_IVROverlay_005_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_022(void *object) +void destroy_winIVROverlay_IVROverlay_005(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022_FnTable(void *linux_side) +winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); + struct thunk *thunks = alloc_thunks(52); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 52 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_022_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_022_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_005_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_005_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); + for (i = 0; i < 52; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_022_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_005_FnTable(void *object) { - winIVROverlay_IVROverlay_022 *win_object = object; + winIVROverlay_IVROverlay_005 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_021.h" +#include "cppIVROverlay_IVROverlay_007.h" -typedef struct __winIVROverlay_IVROverlay_021 { +typedef struct __winIVROverlay_IVROverlay_007 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_021; +} winIVROverlay_IVROverlay_007; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_FindOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_FindOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_007_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_007_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_007_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayKey(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayKey(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_007_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayImageData(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayName(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_007_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_021 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayImageData(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_007_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_007 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_007_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_007_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_007_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_007_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_007_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_007_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); + return cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); + return cppIVROverlay_IVROverlay_007_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + return cppIVROverlay_IVROverlay_007_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_HideOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + return cppIVROverlay_IVROverlay_007_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_007_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_HideOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_007_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 7); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_007_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayRaw(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_007_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_021_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRaw(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_007_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(winIVROverlay_IVROverlay_007 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_007_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(winIVROverlay_IVROverlay_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + cppIVROverlay_IVROverlay_007_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboard(winIVROverlay_IVROverlay_007 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_007_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(winIVROverlay_IVROverlay_007 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_007_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(winIVROverlay_IVROverlay_007 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(_this->linux_side); + cppIVROverlay_IVROverlay_007_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboard(winIVROverlay_IVROverlay_021 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(winIVROverlay_IVROverlay_021 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(winIVROverlay_IVROverlay_021 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_021_ShowMessageOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(winIVROverlay_IVROverlay_021 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_021_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_007_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_021, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_007, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideKeyboard) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021(void *linux_side) +winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007(void *linux_side) { - winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); + winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_021_vtable; + r->vtable = &winIVROverlay_IVROverlay_007_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_021(void *object) +void destroy_winIVROverlay_IVROverlay_007(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021_FnTable(void *linux_side) +winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); - struct thunk *thunks = alloc_thunks(76); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 76 * sizeof(*vtable)); + winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); + struct thunk *thunks = alloc_thunks(57); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 57 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_021_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_021_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 76; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_007_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_007_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); + for (i = 0; i < 57; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_021_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_007_FnTable(void *object) { - winIVROverlay_IVROverlay_021 *win_object = object; + winIVROverlay_IVROverlay_007 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_020.h" +#include "cppIVROverlay_IVROverlay_008.h" -typedef struct __winIVROverlay_IVROverlay_020 { +typedef struct __winIVROverlay_IVROverlay_008 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_020; +} winIVROverlay_IVROverlay_008; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_FindOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_FindOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_008_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_008_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_008_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayKey(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayKey(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_008_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayImageData(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayName(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_008_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_020 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayImageData(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_008_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_008 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_008_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_008_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_008_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_008_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_008_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_008_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_008_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + return cppIVROverlay_IVROverlay_008_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_HideOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + return cppIVROverlay_IVROverlay_008_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_008_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 16) +bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_HideOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_008_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 8); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_008_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayRaw(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_008_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_020_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRaw(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_008_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(winIVROverlay_IVROverlay_008 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_008_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(winIVROverlay_IVROverlay_020 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + cppIVROverlay_IVROverlay_008_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboard(winIVROverlay_IVROverlay_008 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_008_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(winIVROverlay_IVROverlay_008 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_008_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_020 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(winIVROverlay_IVROverlay_008 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(_this->linux_side); + cppIVROverlay_IVROverlay_008_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboard(winIVROverlay_IVROverlay_020 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(winIVROverlay_IVROverlay_020 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_020_ShowMessageOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_020_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_008_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_020, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_008, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020(void *linux_side) +winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008(void *linux_side) { - winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); + winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_020_vtable; + r->vtable = &winIVROverlay_IVROverlay_008_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_020(void *object) +void destroy_winIVROverlay_IVROverlay_008(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020_FnTable(void *linux_side) +winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); - struct thunk *thunks = alloc_thunks(80); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); + winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); + struct thunk *thunks = alloc_thunks(60); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 60 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_020_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_020_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 80; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_008_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_008_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 60; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_020_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_008_FnTable(void *object) { - winIVROverlay_IVROverlay_020 *win_object = object; + winIVROverlay_IVROverlay_008 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_019.h" +#include "cppIVROverlay_IVROverlay_010.h" -typedef struct __winIVROverlay_IVROverlay_019 { +typedef struct __winIVROverlay_IVROverlay_010 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_019; +} winIVROverlay_IVROverlay_010; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_FindOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_FindOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_010_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_010_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_010_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayKey(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayKey(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_010_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayName(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_010_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayImageData(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_010_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayImageData(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_010 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_019 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_010_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_010_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_010_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_010_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_010_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_010_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_010_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + return cppIVROverlay_IVROverlay_010_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_HideOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + return cppIVROverlay_IVROverlay_010_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_010_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_HideOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_010_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 10); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_010_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayRaw(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_010_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_019_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRaw(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_010_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(winIVROverlay_IVROverlay_010 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_010_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(winIVROverlay_IVROverlay_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + cppIVROverlay_IVROverlay_010_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_010 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboard(winIVROverlay_IVROverlay_010 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_010_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(winIVROverlay_IVROverlay_010 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_010_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboard(winIVROverlay_IVROverlay_019 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(winIVROverlay_IVROverlay_010 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + cppIVROverlay_IVROverlay_010_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(winIVROverlay_IVROverlay_019 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetKeyboardText(_this->linux_side, pchText, cchText); + cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_019_ShowMessageOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_019_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_010_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_019, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_010, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019(void *linux_side) +winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010(void *linux_side) { - winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); + winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_019_vtable; + r->vtable = &winIVROverlay_IVROverlay_010_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_019(void *object) +void destroy_winIVROverlay_IVROverlay_010(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019_FnTable(void *linux_side) +winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); + struct thunk *thunks = alloc_thunks(63); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 63 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_019_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_019_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_010_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_010_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 63; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_019_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_010_FnTable(void *object) { - winIVROverlay_IVROverlay_019 *win_object = object; + winIVROverlay_IVROverlay_010 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_018.h" +#include "cppIVROverlay_IVROverlay_011.h" -typedef struct __winIVROverlay_IVROverlay_018 { +typedef struct __winIVROverlay_IVROverlay_011 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_018; +} winIVROverlay_IVROverlay_011; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_FindOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_FindOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_011_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_011_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayKey(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayKey(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_011_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayName(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_011_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayImageData(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_011_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayImageData(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_011 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_018 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_011_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_011_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_011_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_011_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_011_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_011_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + return cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + return cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_011_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_HideOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_011_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_011_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_HideOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_011_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 11); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_011_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRaw(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_011_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, vCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_018_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRaw(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_011_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTexture, 40) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_011_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(winIVROverlay_IVROverlay_011 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_011_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(winIVROverlay_IVROverlay_018 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + cppIVROverlay_IVROverlay_011_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_011 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_018 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboard(winIVROverlay_IVROverlay_011 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_011_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboard(winIVROverlay_IVROverlay_018 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(winIVROverlay_IVROverlay_011 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_011_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(winIVROverlay_IVROverlay_018 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(winIVROverlay_IVROverlay_011 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetKeyboardText(_this->linux_side, pchText, cchText); + cppIVROverlay_IVROverlay_011_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(winIVROverlay_IVROverlay_018 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_018_ShowMessageOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_018_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_011_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_018, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_011, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018(void *linux_side) +winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011(void *linux_side) { - winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); + winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_018_vtable; + r->vtable = &winIVROverlay_IVROverlay_011_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_018(void *object) +void destroy_winIVROverlay_IVROverlay_011(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018_FnTable(void *linux_side) +winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); + struct thunk *thunks = alloc_thunks(67); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 67 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_018_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_018_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_011_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_011_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 67; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_018_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_011_FnTable(void *object) { - winIVROverlay_IVROverlay_018 *win_object = object; + winIVROverlay_IVROverlay_011 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVROverlay_IVROverlay_012.h" + +typedef struct __winIVROverlay_IVROverlay_012 { + vtable_ptr *vtable; + void *linux_side; +} winIVROverlay_IVROverlay_012; + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_FindOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_DestroyOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayKey(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayName(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayImageData(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_012 *_this, EVROverlayError error) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_ShowOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_HideOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_HideOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_IsOverlayVisible(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_012_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 12); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRaw(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + char lin_pchFilePath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTexture, 40) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(winIVROverlay_IVROverlay_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_IsDashboardVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayToShow) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_012_ShowDashboard(_this->linux_side, pchOverlayToShow); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboard(winIVROverlay_IVROverlay_012 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(winIVROverlay_IVROverlay_012 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_012_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(winIVROverlay_IVROverlay_012 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_012_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +extern vtable_ptr winIVROverlay_IVROverlay_012_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVROverlay_IVROverlay_012, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay) + ); +#ifndef __GNUC__ +} +#endif + +winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012(void *linux_side) +{ + winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_012_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVROverlay_IVROverlay_012(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012_FnTable(void *linux_side) +{ + winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); + struct thunk *thunks = alloc_thunks(68); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 68 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_012_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_012_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 68; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_012_FnTable(void *object) +{ + winIVROverlay_IVROverlay_012 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVROverlay_IVROverlay_013.h" + +typedef struct __winIVROverlay_IVROverlay_013 { + vtable_ptr *vtable; + void *linux_side; +} winIVROverlay_IVROverlay_013; + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_FindOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_DestroyOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayKey(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayName(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayImageData(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_013 *_this, EVROverlayError error) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_ShowOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_HideOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_HideOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_IsOverlayVisible(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_013_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 13); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRaw(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + char lin_pchFilePath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexture, 40) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(winIVROverlay_IVROverlay_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_IsDashboardVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayToShow) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_013_ShowDashboard(_this->linux_side, pchOverlayToShow); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_013 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboard(winIVROverlay_IVROverlay_013 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(winIVROverlay_IVROverlay_013 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(winIVROverlay_IVROverlay_013 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_013_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +extern vtable_ptr winIVROverlay_IVROverlay_013_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVROverlay_IVROverlay_013, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask) + ); +#ifndef __GNUC__ +} +#endif + +winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013(void *linux_side) +{ + winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_013_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVROverlay_IVROverlay_013(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013_FnTable(void *linux_side) +{ + winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); + struct thunk *thunks = alloc_thunks(73); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 73 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_013_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_013_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); + for (i = 0; i < 73; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_013_FnTable(void *object) +{ + winIVROverlay_IVROverlay_013 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVROverlay_IVROverlay_014.h" + +typedef struct __winIVROverlay_IVROverlay_014 { + vtable_ptr *vtable; + void *linux_side; +} winIVROverlay_IVROverlay_014; + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_FindOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_DestroyOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayKey(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayName(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayImageData(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_014 *_this, EVROverlayError error) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ShowOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_HideOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_HideOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_IsOverlayVisible(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_014_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 14); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRaw(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + char lin_pchFilePath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(winIVROverlay_IVROverlay_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_IsDashboardVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayToShow) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_014_ShowDashboard(_this->linux_side, pchOverlayToShow); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboard(winIVROverlay_IVROverlay_014 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(winIVROverlay_IVROverlay_014 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(winIVROverlay_IVROverlay_014 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_014_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_014_ShowMessageOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_014_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +extern vtable_ptr winIVROverlay_IVROverlay_014_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVROverlay_IVROverlay_014, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowMessageOverlay) + ); +#ifndef __GNUC__ +} +#endif + +winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014(void *linux_side) +{ + winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_014_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVROverlay_IVROverlay_014(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014_FnTable(void *linux_side) +{ + winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); + struct thunk *thunks = alloc_thunks(75); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 75 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_014_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_014_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); + for (i = 0; i < 75; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_014_FnTable(void *object) +{ + winIVROverlay_IVROverlay_014 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVROverlay_IVROverlay_016.h" + +typedef struct __winIVROverlay_IVROverlay_016 { + vtable_ptr *vtable; + void *linux_side; +} winIVROverlay_IVROverlay_016; + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_FindOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_DestroyOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayKey(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayImageData(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_016 *_this, EVROverlayError error) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 28) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ShowOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_HideOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_HideOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_IsOverlayVisible(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 16) +bool __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulNewFocusOverlay) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_016_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRaw(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +{ + char lin_pchFilePath[PATH_MAX]; + vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(winIVROverlay_IVROverlay_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_IsDashboardVisible(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayToShow) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_016_ShowDashboard(_this->linux_side, pchOverlayToShow); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboard(winIVROverlay_IVROverlay_016 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(winIVROverlay_IVROverlay_016 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(winIVROverlay_IVROverlay_016 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_016_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_016_ShowMessageOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_016_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(winIVROverlay_IVROverlay_016 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_016_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_016_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVROverlay_IVROverlay_016, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CloseMessageOverlay) + ); +#ifndef __GNUC__ +} +#endif + +winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016(void *linux_side) +{ + winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_016_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVROverlay_IVROverlay_016(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016_FnTable(void *linux_side) +{ + winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); + struct thunk *thunks = alloc_thunks(81); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 81 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_016_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_016_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 81; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_016_FnTable(void *object) +{ + winIVROverlay_IVROverlay_016 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); @@ -7844,7715 +8539,7020 @@ void destroy_winIVROverlay_IVROverlay_017_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_016.h" +#include "cppIVROverlay_IVROverlay_018.h" -typedef struct __winIVROverlay_IVROverlay_016 { +typedef struct __winIVROverlay_IVROverlay_018 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_016; +} winIVROverlay_IVROverlay_018; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_FindOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_FindOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_018_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); + return cppIVROverlay_IVROverlay_018_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayKey(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayKey(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_018_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_018_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); + return cppIVROverlay_IVROverlay_018_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayImageData(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayImageData(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_018_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_016 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_018 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_018_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_018_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_018_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_018_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_018_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_018_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 28) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); + return cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); + return cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_018_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); + return cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_HideOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_HideOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, vCenter, fRadius); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_016_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 16); + return cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_018_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 18); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRaw(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_018_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRaw(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_018_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_018_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_018_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(winIVROverlay_IVROverlay_016 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(winIVROverlay_IVROverlay_018 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_018_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_018_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_016 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_018 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboard(winIVROverlay_IVROverlay_016 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboard(winIVROverlay_IVROverlay_018 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_018_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(winIVROverlay_IVROverlay_016 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(winIVROverlay_IVROverlay_018 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_018_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(winIVROverlay_IVROverlay_016 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(winIVROverlay_IVROverlay_018 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_018_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + return cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_018_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_016_ShowMessageOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_018_ShowMessageOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + return cppIVROverlay_IVROverlay_018_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(winIVROverlay_IVROverlay_016 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(winIVROverlay_IVROverlay_018 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_CloseMessageOverlay(_this->linux_side); + cppIVROverlay_IVROverlay_018_CloseMessageOverlay(_this->linux_side); } -extern vtable_ptr winIVROverlay_IVROverlay_016_vtable; +extern vtable_ptr winIVROverlay_IVROverlay_018_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_016, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CloseMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_018, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016(void *linux_side) +winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018(void *linux_side) { - winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); + winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_016_vtable; + r->vtable = &winIVROverlay_IVROverlay_018_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_016(void *object) +void destroy_winIVROverlay_IVROverlay_018(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016_FnTable(void *linux_side) +winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); - struct thunk *thunks = alloc_thunks(81); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 81 * sizeof(*vtable)); + winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_016_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_016_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 81; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_018_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_018_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_016_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_018_FnTable(void *object) { - winIVROverlay_IVROverlay_016 *win_object = object; + winIVROverlay_IVROverlay_018 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_014.h" +#include "cppIVROverlay_IVROverlay_019.h" -typedef struct __winIVROverlay_IVROverlay_014 { +typedef struct __winIVROverlay_IVROverlay_019 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_014; +} winIVROverlay_IVROverlay_019; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_FindOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_FindOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_019_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_019_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayKey(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayKey(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_019_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayName(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_019_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayImageData(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_019_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_014 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayImageData(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_019_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_019 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_019_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_019_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_019_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_019_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_019_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_019_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 28) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_019_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_HideOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_019_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_HideOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_019_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_019_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_014_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 14); + return cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRaw(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_019_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_019_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRaw(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_019_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_019_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); + return cppIVROverlay_IVROverlay_019_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(winIVROverlay_IVROverlay_014 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(winIVROverlay_IVROverlay_019 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_019_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_019_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_014 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_019 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboard(winIVROverlay_IVROverlay_014 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboard(winIVROverlay_IVROverlay_019 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_019_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(winIVROverlay_IVROverlay_014 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(winIVROverlay_IVROverlay_019 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_019_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(winIVROverlay_IVROverlay_014 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(winIVROverlay_IVROverlay_019 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_019_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + return cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); + return cppIVROverlay_IVROverlay_019_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_014_ShowMessageOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_019_ShowMessageOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); + return cppIVROverlay_IVROverlay_019_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); } -extern vtable_ptr winIVROverlay_IVROverlay_014_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(winIVROverlay_IVROverlay_019 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_019_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_019_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_014, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowMessageOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_019, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014(void *linux_side) +winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019(void *linux_side) { - winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); + winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_014_vtable; + r->vtable = &winIVROverlay_IVROverlay_019_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_014(void *object) +void destroy_winIVROverlay_IVROverlay_019(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014_FnTable(void *linux_side) +winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); - struct thunk *thunks = alloc_thunks(75); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 75 * sizeof(*vtable)); + winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_014_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_014_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); - for (i = 0; i < 75; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_019_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_019_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_014_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_019_FnTable(void *object) { - winIVROverlay_IVROverlay_014 *win_object = object; + winIVROverlay_IVROverlay_019 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_013.h" +#include "cppIVROverlay_IVROverlay_020.h" -typedef struct __winIVROverlay_IVROverlay_013 { +typedef struct __winIVROverlay_IVROverlay_020 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_013; +} winIVROverlay_IVROverlay_020; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_FindOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_FindOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_020_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_020_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayKey(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_020_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayKey(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_020_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayName(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayImageData(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_020_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayImageData(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_020 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_013 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_020_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_020_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_020_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_020_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_020_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); + return cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); + return cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); + return cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); + return cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 28) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_020_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_HideOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_020_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_HideOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_020_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_020_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 4) +VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulNewFocusOverlay) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_013_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 13); + return cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRaw(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_020_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 20); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_020_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRaw(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_020_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_020_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexture, 40) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); + return cppIVROverlay_IVROverlay_020_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(winIVROverlay_IVROverlay_013 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(winIVROverlay_IVROverlay_020 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_020_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_020_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_013 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_020 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboard(winIVROverlay_IVROverlay_013 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboard(winIVROverlay_IVROverlay_020 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_020_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(winIVROverlay_IVROverlay_013 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(winIVROverlay_IVROverlay_020 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_020_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(winIVROverlay_IVROverlay_013 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(winIVROverlay_IVROverlay_020 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_020_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); + return cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); } -extern vtable_ptr winIVROverlay_IVROverlay_013_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_020_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_020_ShowMessageOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_020_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(winIVROverlay_IVROverlay_020 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_020_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_020_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_013, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask) + __ASM_VTABLE(winIVROverlay_IVROverlay_020, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013(void *linux_side) +winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020(void *linux_side) { - winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); + winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_013_vtable; + r->vtable = &winIVROverlay_IVROverlay_020_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_013(void *object) +void destroy_winIVROverlay_IVROverlay_020(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013_FnTable(void *linux_side) +winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); - struct thunk *thunks = alloc_thunks(73); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 73 * sizeof(*vtable)); + winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); + struct thunk *thunks = alloc_thunks(80); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_013_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_013_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); - for (i = 0; i < 73; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_020_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_020_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 80; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_013_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_020_FnTable(void *object) { - winIVROverlay_IVROverlay_013 *win_object = object; + winIVROverlay_IVROverlay_020 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_012.h" +#include "cppIVROverlay_IVROverlay_021.h" -typedef struct __winIVROverlay_IVROverlay_012 { +typedef struct __winIVROverlay_IVROverlay_021 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_012; +} winIVROverlay_IVROverlay_021; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_FindOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_FindOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_021_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_021_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayKey(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_021_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayKey(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_021_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayName(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayImageData(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_021_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayImageData(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_021 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_012 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_021_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_021_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_021_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_021_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_021_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_021_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_021_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 28) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_021_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_HideOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_021_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_HideOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_021_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_021_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_012_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 12); + return cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRaw(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_021_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 21); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_021_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRaw(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_021_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_021_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTexture, 40) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); + return cppIVROverlay_IVROverlay_021_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); + return cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(winIVROverlay_IVROverlay_012 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(winIVROverlay_IVROverlay_021 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_021_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_ShowDashboard(_this->linux_side, pchOverlayToShow); + cppIVROverlay_IVROverlay_021_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_012 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_021 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboard(winIVROverlay_IVROverlay_012 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboard(winIVROverlay_IVROverlay_021 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_021_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(winIVROverlay_IVROverlay_012 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(winIVROverlay_IVROverlay_021 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_021_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(winIVROverlay_IVROverlay_012 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(winIVROverlay_IVROverlay_021 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_021_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); } -extern vtable_ptr winIVROverlay_IVROverlay_012_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_021_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_021_ShowMessageOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_021_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(winIVROverlay_IVROverlay_021 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_021_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_021_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_012, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_021, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012(void *linux_side) +winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021(void *linux_side) { - winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); + winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_012_vtable; + r->vtable = &winIVROverlay_IVROverlay_021_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_012(void *object) +void destroy_winIVROverlay_IVROverlay_021(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012_FnTable(void *linux_side) +winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); - struct thunk *thunks = alloc_thunks(68); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 68 * sizeof(*vtable)); + winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); + struct thunk *thunks = alloc_thunks(76); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 76 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_012_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_012_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 68; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_021_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_021_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 76; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_012_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_021_FnTable(void *object) { - winIVROverlay_IVROverlay_012 *win_object = object; + winIVROverlay_IVROverlay_021 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_011.h" +#include "cppIVROverlay_IVROverlay_022.h" -typedef struct __winIVROverlay_IVROverlay_011 { +typedef struct __winIVROverlay_IVROverlay_022 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_011; +} winIVROverlay_IVROverlay_022; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_FindOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_FindOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_022_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_022_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayKey(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_022_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayKey(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_022_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayName(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayImageData(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_022_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayImageData(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_022 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_011 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); + return cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_022_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_022_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_022_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_022_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_022_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_022_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_022_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_022_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 28) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_022_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_HideOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_022_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_HideOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_022_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_011_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 11); + return cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRaw(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursor, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_022_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 22); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRaw(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_022_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTexture, 40) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); + return cppIVROverlay_IVROverlay_022_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); + return cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(winIVROverlay_IVROverlay_011 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(winIVROverlay_IVROverlay_022 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_022_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_011 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(_this->linux_side); + cppIVROverlay_IVROverlay_022_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboard(winIVROverlay_IVROverlay_011 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_022 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboard, 33) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboard(winIVROverlay_IVROverlay_022 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_022_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(winIVROverlay_IVROverlay_011 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 41) +EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(winIVROverlay_IVROverlay_011 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(winIVROverlay_IVROverlay_022 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_HideKeyboard(_this->linux_side); + return cppIVROverlay_IVROverlay_022_GetKeyboardText(_this->linux_side, pchText, cchText); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(winIVROverlay_IVROverlay_022 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + cppIVROverlay_IVROverlay_022_HideKeyboard(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); } -extern vtable_ptr winIVROverlay_IVROverlay_011_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_022_ShowMessageOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_022_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(winIVROverlay_IVROverlay_022 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_022_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_022_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_011, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_022, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011(void *linux_side) +winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022(void *linux_side) { - winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); + winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_011_vtable; + r->vtable = &winIVROverlay_IVROverlay_022_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_011(void *object) +void destroy_winIVROverlay_IVROverlay_022(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011_FnTable(void *linux_side) +winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); - struct thunk *thunks = alloc_thunks(67); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 67 * sizeof(*vtable)); + winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_011_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_011_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 67; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_022_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_022_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_011_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_022_FnTable(void *object) { - winIVROverlay_IVROverlay_011 *win_object = object; + winIVROverlay_IVROverlay_022 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_010.h" +#include "cppIVROverlay_IVROverlay_024.h" -typedef struct __winIVROverlay_IVROverlay_010 { +typedef struct __winIVROverlay_IVROverlay_024 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_010; +} winIVROverlay_IVROverlay_024; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_FindOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_FindOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_024_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_024_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayKey(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_024_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayKey(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_024_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayName(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayImageData(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_024_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayImageData(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_024 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_010 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_024_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_024_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_024_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_024_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_024_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_024_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_024_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_024_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_024_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); + return cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); + return cppIVROverlay_IVROverlay_024_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_HideOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); + return cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_024_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_HideOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_024_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_010_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 10); + return cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayRaw(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursor, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_024_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 24); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRaw(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_024_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_024_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(winIVROverlay_IVROverlay_010 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(winIVROverlay_IVROverlay_024 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_024_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_010 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(_this->linux_side); + return cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboard(winIVROverlay_IVROverlay_010 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + cppIVROverlay_IVROverlay_024_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(winIVROverlay_IVROverlay_010 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_024 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(winIVROverlay_IVROverlay_010 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboard, 36) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboard(winIVROverlay_IVROverlay_024 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_HideKeyboard(_this->linux_side); + return cppIVROverlay_IVROverlay_024_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + return cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(winIVROverlay_IVROverlay_024 *_this, char * pchText, uint32_t cchText) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + return cppIVROverlay_IVROverlay_024_GetKeyboardText(_this->linux_side, pchText, cchText); } -extern vtable_ptr winIVROverlay_IVROverlay_010_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(winIVROverlay_IVROverlay_024 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_024_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_024_ShowMessageOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_024_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(winIVROverlay_IVROverlay_024 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_024_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_024_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_010, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_024, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010(void *linux_side) +winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024(void *linux_side) { - winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); + winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_010_vtable; + r->vtable = &winIVROverlay_IVROverlay_024_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_010(void *object) +void destroy_winIVROverlay_IVROverlay_024(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010_FnTable(void *linux_side) +winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); - struct thunk *thunks = alloc_thunks(63); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 63 * sizeof(*vtable)); + winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); + struct thunk *thunks = alloc_thunks(78); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 78 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_010_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_010_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 63; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_024_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_024_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 78; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_010_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_024_FnTable(void *object) { - winIVROverlay_IVROverlay_010 *win_object = object; + winIVROverlay_IVROverlay_024 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_008.h" +#include "cppIVROverlay_IVROverlay_025.h" -typedef struct __winIVROverlay_IVROverlay_008 { +typedef struct __winIVROverlay_IVROverlay_025 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_008; +} winIVROverlay_IVROverlay_025; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_FindOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_FindOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_025_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_025_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayKey(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_025_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayKey(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_025_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayName(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayImageData(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_025_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayImageData(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_025 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_008 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_025_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_025_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_025_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_025_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_025_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_025_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_025_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_025_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_025_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_HideOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); + return cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + return cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformProjection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_025_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_HideOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_025_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_025_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_008_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 8); + return cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayRaw(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursor, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_025_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 25); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRaw(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_025_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_025_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(winIVROverlay_IVROverlay_008 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(winIVROverlay_IVROverlay_025 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_025_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboard(winIVROverlay_IVROverlay_008 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(winIVROverlay_IVROverlay_008 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetKeyboardText(_this->linux_side, pchText, cchText); + cppIVROverlay_IVROverlay_025_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(winIVROverlay_IVROverlay_008 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_025 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_HideKeyboard(_this->linux_side); + return cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboard, 36) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboard(winIVROverlay_IVROverlay_025 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); + return cppIVROverlay_IVROverlay_025_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); + return cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); } -extern vtable_ptr winIVROverlay_IVROverlay_008_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(winIVROverlay_IVROverlay_025 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(winIVROverlay_IVROverlay_025 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_025_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_025_ShowMessageOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_025_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(winIVROverlay_IVROverlay_025 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_025_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_025_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_008, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay) + __ASM_VTABLE(winIVROverlay_IVROverlay_025, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008(void *linux_side) +winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025(void *linux_side) { - winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); + winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_008_vtable; + r->vtable = &winIVROverlay_IVROverlay_025_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_008(void *object) +void destroy_winIVROverlay_IVROverlay_025(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008_FnTable(void *linux_side) +winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); - struct thunk *thunks = alloc_thunks(60); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 60 * sizeof(*vtable)); + winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); + struct thunk *thunks = alloc_thunks(79); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 79 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_008_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_008_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 60; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_025_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_025_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 79; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_008_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_025_FnTable(void *object) { - winIVROverlay_IVROverlay_008 *win_object = object; + winIVROverlay_IVROverlay_025 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_007.h" +#include "cppIVROverlay_IVROverlay_026.h" -typedef struct __winIVROverlay_IVROverlay_007 { +typedef struct __winIVROverlay_IVROverlay_026 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_007; +} winIVROverlay_IVROverlay_026; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_FindOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_FindOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_026_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_026_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayKey(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_026_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayKey(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_026_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayName(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayImageData(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_026_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayImageData(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_026 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_007 *_this, EVROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_026_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_026_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_026_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_026_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_026_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_026_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_026_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); + return cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); + return cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_026_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_026_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_HideOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + return cppIVROverlay_IVROverlay_026_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulNewFocusOverlay) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); + return cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); + return cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformProjection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); + return cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_007_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 7); + return cppIVROverlay_IVROverlay_026_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_HideOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_HideOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayRaw(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_026_IsOverlayVisible(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_WaitFrameSync, 8) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(winIVROverlay_IVROverlay_026 *_this, uint32_t nTimeoutMs) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_WaitFrameSync(_this->linux_side, nTimeoutMs); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursor, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_026_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 26); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRaw(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_026_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_026_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(winIVROverlay_IVROverlay_007 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(winIVROverlay_IVROverlay_026 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_026_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboard(winIVROverlay_IVROverlay_007 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); + return cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(winIVROverlay_IVROverlay_007 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetKeyboardText(_this->linux_side, pchText, cchText); + cppIVROverlay_IVROverlay_026_ShowDashboard(_this->linux_side, pchOverlayToShow); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(winIVROverlay_IVROverlay_007 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_026 *_this) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_HideKeyboard(_this->linux_side); + return cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(_this->linux_side); } -extern vtable_ptr winIVROverlay_IVROverlay_007_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboard, 36) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboard(winIVROverlay_IVROverlay_026 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(winIVROverlay_IVROverlay_026 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(winIVROverlay_IVROverlay_026 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_026_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_026_ShowMessageOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_026_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(winIVROverlay_IVROverlay_026 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_026_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_026_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_007, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideKeyboard) + __ASM_VTABLE(winIVROverlay_IVROverlay_026, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_WaitFrameSync) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007(void *linux_side) +winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026(void *linux_side) { - winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); + winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_007_vtable; + r->vtable = &winIVROverlay_IVROverlay_026_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_007(void *object) +void destroy_winIVROverlay_IVROverlay_026(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007_FnTable(void *linux_side) +winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); - struct thunk *thunks = alloc_thunks(57); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 57 * sizeof(*vtable)); + winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_007_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_007_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); - for (i = 0; i < 57; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_026_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_026_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_007_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_026_FnTable(void *object) { - winIVROverlay_IVROverlay_007 *win_object = object; + winIVROverlay_IVROverlay_026 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVROverlay_IVROverlay_005.h" +#include "cppIVROverlay_IVROverlay_027.h" -typedef struct __winIVROverlay_IVROverlay_005 { +typedef struct __winIVROverlay_IVROverlay_027 { vtable_ptr *vtable; void *linux_side; -} winIVROverlay_IVROverlay_005; +} winIVROverlay_IVROverlay_027; -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_FindOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_FindOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_FindOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); + return cppIVROverlay_IVROverlay_027_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateOverlay, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); + return cppIVROverlay_IVROverlay_027_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_DestroyOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_DestroyOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_DestroyOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_DestroyOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayKey, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayKey(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayName, 24) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayName(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(_this->linux_side); + return cppIVROverlay_IVROverlay_027_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayKey(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayName, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayName(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_027_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayName(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayImageData, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayImageData(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); + return cppIVROverlay_IVROverlay_027_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayImageData, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayImageData(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, 8) +const char * __thiscall winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_027 *_this, EVROverlayError error) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); + return cppIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_005 *_this, VROverlayError error) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayRenderingPid, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRenderingPid(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(_this->linux_side, error); + return cppIVROverlay_IVROverlay_027_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayRenderingPid, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayRenderingPid(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); + return cppIVROverlay_IVROverlay_027_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayFlag, 17) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFlag(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); + return cppIVROverlay_IVROverlay_027_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayFlag, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlag(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); + return cppIVROverlay_IVROverlay_027_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayFlags, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlags(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); + return cppIVROverlay_IVROverlay_027_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayColor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); + return cppIVROverlay_IVROverlay_027_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayColor, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayColor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); + return cppIVROverlay_IVROverlay_027_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayAlpha(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); + return cppIVROverlay_IVROverlay_027_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayAlpha, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayAlpha(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); + return cppIVROverlay_IVROverlay_027_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexelAspect(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); + return cppIVROverlay_IVROverlay_027_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTexelAspect, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexelAspect(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); + return cppIVROverlay_IVROverlay_027_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlaySortOrder(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_027_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlaySortOrder, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlaySortOrder(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); + return cppIVROverlay_IVROverlay_027_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); + return cppIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCurvature(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); + return cppIVROverlay_IVROverlay_027_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayCurvature, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayCurvature(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_027_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); + return cppIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); + return cppIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ShowOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_HideOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureBounds(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_HideOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureBounds, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureBounds(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsOverlayVisible(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformType, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformType(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); + return cppIVROverlay_IVROverlay_027_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); + return cppIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); + return cppIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); + return cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); + return cppIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); + return cppIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsFocusOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsFocusOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformCursor, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) { TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_005_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 5); + return cppIVROverlay_IVROverlay_027_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformProjection, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformProjection(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayRaw(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); + return cppIVROverlay_IVROverlay_027_ShowOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_HideOverlay, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_HideOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_HideOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsOverlayVisible, 12) +bool __thiscall winIVROverlay_IVROverlay_027_IsOverlayVisible(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_IsOverlayVisible(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_WaitFrameSync, 8) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(winIVROverlay_IVROverlay_027 *_this, uint32_t nTimeoutMs) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_WaitFrameSync(_this->linux_side, nTimeoutMs); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_PollNextOverlayEvent, 20) +bool __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1267 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayInputMethod(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayInputMethod, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayInputMethod(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayMouseScale(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayMouseScale, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayMouseScale(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ComputeOverlayIntersection, 20) +bool __thiscall winIVROverlay_IVROverlay_027_ComputeOverlayIntersection(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsHoverTargetOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_027_IsHoverTargetOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, 24) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCursor, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursor(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTexture, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) +{ + TRACE("%p\n", _this); + return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_027_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 27); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ClearOverlayTexture, 12) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayRaw, 28) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayRaw(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayFromFile, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetOverlayFromFile(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) { char lin_pchFilePath[PATH_MAX]; vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); + return cppIVROverlay_IVROverlay_027_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTexture, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexture(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); + return cppIVROverlay_IVROverlay_027_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(winIVROverlay_IVROverlay_005 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsDashboardVisible(_this->linux_side); + return cppIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureSize, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureSize(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); + return cppIVROverlay_IVROverlay_027_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateDashboardOverlay, 20) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_CreateDashboardOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); + return cppIVROverlay_IVROverlay_027_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsDashboardVisible, 4) +bool __thiscall winIVROverlay_IVROverlay_027_IsDashboardVisible(winIVROverlay_IVROverlay_027 *_this) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); + return cppIVROverlay_IVROverlay_027_IsDashboardVisible(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayToShow) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay, 12) +bool __thiscall winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_ShowDashboard(_this->linux_side, pchOverlayToShow); + return cppIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowKeyboard, 25) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowKeyboard(winIVROverlay_IVROverlay_005 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode); + return cppIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(winIVROverlay_IVROverlay_005 *_this, char * pchText, uint32_t cchText) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, 16) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) { TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetKeyboardText(_this->linux_side, pchText, cchText); + return cppIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); } -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(winIVROverlay_IVROverlay_005 *_this) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowDashboard, 8) +void __thiscall winIVROverlay_IVROverlay_027_ShowDashboard(winIVROverlay_IVROverlay_027 *_this, const char * pchOverlayToShow) { TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_HideKeyboard(_this->linux_side); + cppIVROverlay_IVROverlay_027_ShowDashboard(_this->linux_side, pchOverlayToShow); } -extern vtable_ptr winIVROverlay_IVROverlay_005_vtable; +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, 4) +TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_027 *_this) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowKeyboard, 36) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboard(winIVROverlay_IVROverlay_027 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay, 44) +EVROverlayError __thiscall winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetKeyboardText, 12) +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetKeyboardText(winIVROverlay_IVROverlay_027 *_this, char * pchText, uint32_t cchText) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_GetKeyboardText(_this->linux_side, pchText, cchText); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_HideKeyboard, 4) +void __thiscall winIVROverlay_IVROverlay_027_HideKeyboard(winIVROverlay_IVROverlay_027 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_027_HideKeyboard(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, 12) +void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_027 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, 28) +void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_027 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowMessageOverlay, 28) +VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_027_ShowMessageOverlay(winIVROverlay_IVROverlay_027 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) +{ + TRACE("%p\n", _this); + return cppIVROverlay_IVROverlay_027_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CloseMessageOverlay, 4) +void __thiscall winIVROverlay_IVROverlay_027_CloseMessageOverlay(winIVROverlay_IVROverlay_027 *_this) +{ + TRACE("%p\n", _this); + cppIVROverlay_IVROverlay_027_CloseMessageOverlay(_this->linux_side); +} + +extern vtable_ptr winIVROverlay_IVROverlay_027_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVROverlay_IVROverlay_005, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideKeyboard) + __ASM_VTABLE(winIVROverlay_IVROverlay_027, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformProjection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_WaitFrameSync) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CloseMessageOverlay) ); #ifndef __GNUC__ } #endif -winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005(void *linux_side) +winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027(void *linux_side) { - winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); + winIVROverlay_IVROverlay_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_027)); TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_005_vtable; + r->vtable = &winIVROverlay_IVROverlay_027_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVROverlay_IVROverlay_005(void *object) +void destroy_winIVROverlay_IVROverlay_027(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005_FnTable(void *linux_side) +winIVROverlay_IVROverlay_027 *create_winIVROverlay_IVROverlay_027_FnTable(void *linux_side) { - winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); - struct thunk *thunks = alloc_thunks(52); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 52 * sizeof(*vtable)); + winIVROverlay_IVROverlay_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_027)); + struct thunk *thunks = alloc_thunks(80); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_005_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_005_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); - for (i = 0; i < 52; i++) + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_027_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_027_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_027_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_027_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_027_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_027_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_027_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_027_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_027_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_027_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_027_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_027_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_027_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_027_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_027_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_027_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_027_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_027_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_027_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_027_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_027_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_027_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, 2, TRUE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_027_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_027_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_027_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_027_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_027_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_027_SetOverlayTransformProjection, 5, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_027_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_027_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_027_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_027_WaitFrameSync, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_027_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_027_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_027_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_027_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_027_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_027_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_027_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_027_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_027_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_027_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_027_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_027_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_027_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_027_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_027_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_027_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_027_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_027_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_027_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_027_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_027_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_027_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 80; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVROverlay_IVROverlay_005_FnTable(void *object) +void destroy_winIVROverlay_IVROverlay_027_FnTable(void *object) { - winIVROverlay_IVROverlay_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVROverlay_IVROverlay_004.h" - -typedef struct __winIVROverlay_IVROverlay_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_004; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_FindOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayKey(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayName(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayImageData, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayImageData(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_004 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_HideOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_004_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayRaw(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(winIVROverlay_IVROverlay_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_004_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -extern vtable_ptr winIVROverlay_IVROverlay_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_004, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowDashboard) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004(void *linux_side) -{ - winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); - struct thunk *thunks = alloc_thunks(48); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_004_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_004_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); - for (i = 0; i < 48; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_004_FnTable(void *object) -{ - winIVROverlay_IVROverlay_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVROverlay_IVROverlay_003.h" - -typedef struct __winIVROverlay_IVROverlay_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_003; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_FindOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayKey(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayName(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayImageData, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayImageData(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_003 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_HideOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_003_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 3); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayRaw(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(winIVROverlay_IVROverlay_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_003_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -extern vtable_ptr winIVROverlay_IVROverlay_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_003, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowDashboard) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003(void *linux_side) -{ - winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_003_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_003_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_003_FnTable(void *object) -{ - winIVROverlay_IVROverlay_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVROverlay_IVROverlay_002.h" - -typedef struct __winIVROverlay_IVROverlay_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_002; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_FindOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_002 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_HideOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_002_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 2); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayRaw(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(winIVROverlay_IVROverlay_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -extern vtable_ptr winIVROverlay_IVROverlay_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_002, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002(void *linux_side) -{ - winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); - struct thunk *thunks = alloc_thunks(42); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_002_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_002_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - for (i = 0; i < 42; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_002_FnTable(void *object) -{ - winIVROverlay_IVROverlay_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVROverlay_IVROverlay_001.h" - -typedef struct __winIVROverlay_IVROverlay_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_001; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_FindOverlay(winIVROverlay_IVROverlay_001 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(winIVROverlay_IVROverlay_001 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_001 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayVisibility, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayVisibility(_this->linux_side, ulOverlayHandle, peOverlayVisibility); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayVisibility, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayVisibility(_this->linux_side, ulOverlayHandle, eOverlayVisibility); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_HideOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTexture, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_001_set_overlay_texture(cppIVROverlay_IVROverlay_001_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 1); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayRaw(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(winIVROverlay_IVROverlay_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -extern vtable_ptr winIVROverlay_IVROverlay_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_001, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayVisibility) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayVisibility) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001(void *linux_side) -{ - winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); - struct thunk *thunks = alloc_thunks(40); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_001_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_001_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); - for (i = 0; i < 40; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_001_FnTable(void *object) -{ - winIVROverlay_IVROverlay_001 *win_object = object; + winIVROverlay_IVROverlay_027 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); diff --git a/vrclient_x64/vrclient_x64/winIVRRenderModels.c b/vrclient_x64/vrclient_x64/winIVRRenderModels.c index e80f6a43..abc3609a 100644 --- a/vrclient_x64/vrclient_x64/winIVRRenderModels.c +++ b/vrclient_x64/vrclient_x64/winIVRRenderModels.c @@ -18,6 +18,666 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); +#include "cppIVRRenderModels_IVRRenderModels_001.h" + +typedef struct __winIVRRenderModels_IVRRenderModels_001 { + vtable_ptr *vtable; + void *linux_side; +} winIVRRenderModels_IVRRenderModels_001; + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 12) +bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, const char * pchRenderModelName, winRenderModel_t_0910 * pRenderModel) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, winRenderModel_t_0910 * pRenderModel) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(_this->linux_side, pRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 16) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(winIVRRenderModels_IVRRenderModels_001 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 4) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_001 *_this) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(_this->linux_side); +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_001_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_001, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount) + ); +#ifndef __GNUC__ +} +#endif + +winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_001_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_001(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); + struct thunk *thunks = alloc_thunks(4); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); + for (i = 0; i < 4; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *object) +{ + winIVRRenderModels_IVRRenderModels_001 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRRenderModels_IVRRenderModels_002.h" + +typedef struct __winIVRRenderModels_IVRRenderModels_002 { + vtable_ptr *vtable; + void *linux_side; +} winIVRRenderModels_IVRRenderModels_002; + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 12) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, winRenderModel_t_0915 ** ppRenderModel) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(_this->linux_side, pchRenderModelName, ppRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_t_0915 * pRenderModel) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(_this->linux_side, pRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadTexture, 12) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(winIVRRenderModels_IVRRenderModels_002 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0915 ** ppTexture) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_LoadTexture(_this->linux_side, textureId, ppTexture); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeTexture, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_TextureMap_t_0915 * pTexture) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_002_FreeTexture(_this->linux_side, pTexture); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 16) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 4) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_002 *_this) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 8) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(_this->linux_side, pchRenderModelName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentName, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentName(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 12) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentState, 20) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pComponentState); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 12) +bool __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_002_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_002, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent) + ); +#ifndef __GNUC__ +} +#endif + +winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_002_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_002(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); + struct thunk *thunks = alloc_thunks(12); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *object) +{ + winIVRRenderModels_IVRRenderModels_002 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRRenderModels_IVRRenderModels_004.h" + +typedef struct __winIVRRenderModels_IVRRenderModels_004 { + vtable_ptr *vtable; + void *linux_side; +} winIVRRenderModels_IVRRenderModels_004; + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 12) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, winRenderModel_t_0918 ** ppRenderModel) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_t_0918 * pRenderModel) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(_this->linux_side, pRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 12) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0918 ** ppTexture) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(_this->linux_side, textureId, ppTexture); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTexture, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_TextureMap_t_0918 * pTexture) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_004_FreeTexture(_this->linux_side, pTexture); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 16) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) +{ + TRACE("%p\n", _this); + return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 4); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_004 *_this, void * pD3D11Texture2D) +{ + TRACE("%p\n", _this); + ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 4); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 16) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 4) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 8) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(_this->linux_side, pchRenderModelName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentName, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentName(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 12) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentState, 24) +bool __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 12) +bool __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_004_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_004, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent) + ); +#ifndef __GNUC__ +} +#endif + +winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_004_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_004(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); + struct thunk *thunks = alloc_thunks(14); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); + for (i = 0; i < 14; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *object) +{ + winIVRRenderModels_IVRRenderModels_004 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRRenderModels_IVRRenderModels_005.h" + +typedef struct __winIVRRenderModels_IVRRenderModels_005 { + vtable_ptr *vtable; + void *linux_side; +} winIVRRenderModels_IVRRenderModels_005; + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 12) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, winRenderModel_t_1015 ** ppRenderModel) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_t_1015 * pRenderModel) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(_this->linux_side, pRenderModel); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 12) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1015 ** ppTexture) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(_this->linux_side, textureId, ppTexture); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTexture, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_TextureMap_t_1015 * pTexture) +{ + TRACE("%p\n", _this); + cppIVRRenderModels_IVRRenderModels_005_FreeTexture(_this->linux_side, pTexture); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 16) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) +{ + TRACE("%p\n", _this); + return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 5); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 12) +EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void * pDstTexture) +{ + TRACE("%p\n", _this); + return ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, _this->linux_side, textureId, pDstTexture, 5); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 8) +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_005 *_this, void * pD3D11Texture2D) +{ + TRACE("%p\n", _this); + ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 5); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 16) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 4) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 8) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(_this->linux_side, pchRenderModelName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentName, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentName(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 12) +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentState, 24) +bool __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 12) +bool __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(_this->linux_side, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 20) +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(_this->linux_side, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 8) +const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(winIVRRenderModels_IVRRenderModels_005 *_this, EVRRenderModelError error) +{ + TRACE("%p\n", _this); + return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(_this->linux_side, error); +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_005_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_005, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum) + ); +#ifndef __GNUC__ +} +#endif + +winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_005_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_005(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *linux_side) +{ + winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); + struct thunk *thunks = alloc_thunks(18); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); + for (i = 0; i < 18; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *object) +{ + winIVRRenderModels_IVRRenderModels_005 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + #include "cppIVRRenderModels_IVRRenderModels_006.h" typedef struct __winIVRRenderModels_IVRRenderModels_006 { @@ -246,663 +906,3 @@ void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRRenderModels_IVRRenderModels_005.h" - -typedef struct __winIVRRenderModels_IVRRenderModels_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_005; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, winRenderModel_t_1015 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_t_1015 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1015 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_TextureMap_t_1015 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 16) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void * pDstTexture) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, _this->linux_side, textureId, pDstTexture, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_005 *_this, void * pD3D11Texture2D) -{ - TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentName(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentState, 24) -bool __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(_this->linux_side, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(_this->linux_side, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 8) -const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(winIVRRenderModels_IVRRenderModels_005 *_this, EVRRenderModelError error) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(_this->linux_side, error); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_005, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); - struct thunk *thunks = alloc_thunks(18); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - for (i = 0; i < 18; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *object) -{ - winIVRRenderModels_IVRRenderModels_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRRenderModels_IVRRenderModels_004.h" - -typedef struct __winIVRRenderModels_IVRRenderModels_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_004; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, winRenderModel_t_0918 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_t_0918 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0918 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_TextureMap_t_0918 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 16) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_004 *_this, void * pD3D11Texture2D) -{ - TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentName(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentState, 24) -bool __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_004, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); - struct thunk *thunks = alloc_thunks(14); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); - for (i = 0; i < 14; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *object) -{ - winIVRRenderModels_IVRRenderModels_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRRenderModels_IVRRenderModels_002.h" - -typedef struct __winIVRRenderModels_IVRRenderModels_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_002; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, winRenderModel_t_0915 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_t_0915 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadTexture, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(winIVRRenderModels_IVRRenderModels_002 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0915 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_LoadTexture(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_TextureMap_t_0915 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentName(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentState, 20) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_002, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); - struct thunk *thunks = alloc_thunks(12); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); - for (i = 0; i < 12; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *object) -{ - winIVRRenderModels_IVRRenderModels_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRRenderModels_IVRRenderModels_001.h" - -typedef struct __winIVRRenderModels_IVRRenderModels_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_001; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, const char * pchRenderModelName, winRenderModel_t_0910 * pRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, winRenderModel_t_0910 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(winIVRRenderModels_IVRRenderModels_001 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(_this->linux_side); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_001, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); - struct thunk *thunks = alloc_thunks(4); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); - for (i = 0; i < 4; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *object) -{ - winIVRRenderModels_IVRRenderModels_001 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRSettings.c b/vrclient_x64/vrclient_x64/winIVRSettings.c index 60f2e435..28e167a7 100644 --- a/vrclient_x64/vrclient_x64/winIVRSettings.c +++ b/vrclient_x64/vrclient_x64/winIVRSettings.c @@ -18,156 +18,165 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRSettings_IVRSettings_003.h" +#include "cppIVRSettings_IVRSettings_001.h" -typedef struct __winIVRSettings_IVRSettings_003 { +typedef struct __winIVRSettings_IVRSettings_001 { vtable_ptr *vtable; void *linux_side; -} winIVRSettings_IVRSettings_003; +} winIVRSettings_IVRSettings_001; -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 8) -const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_003 *_this, EVRSettingsError eError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 8) +const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_001 *_this, EVRSettingsError eError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(_this->linux_side, eError); + return cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(_this->linux_side, eError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetBool, 17) -void __thiscall winIVRSettings_IVRSettings_003_SetBool(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_Sync, 9) +bool __thiscall winIVRSettings_IVRSettings_001_Sync(winIVRSettings_IVRSettings_001 *_this, bool bForce, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); + return cppIVRSettings_IVRSettings_001_Sync(_this->linux_side, bForce, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetInt32, 20) -void __thiscall winIVRSettings_IVRSettings_003_SetInt32(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetBool, 17) +bool __thiscall winIVRSettings_IVRSettings_001_GetBool(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); + return cppIVRSettings_IVRSettings_001_GetBool(_this->linux_side, pchSection, pchSettingsKey, bDefaultValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetFloat, 20) -void __thiscall winIVRSettings_IVRSettings_003_SetFloat(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetBool, 17) +void __thiscall winIVRSettings_IVRSettings_001_SetBool(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); + cppIVRSettings_IVRSettings_001_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetString, 20) -void __thiscall winIVRSettings_IVRSettings_003_SetString(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetInt32, 20) +int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); + return cppIVRSettings_IVRSettings_001_GetInt32(_this->linux_side, pchSection, pchSettingsKey, nDefaultValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetBool, 16) -bool __thiscall winIVRSettings_IVRSettings_003_GetBool(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetInt32, 20) +void __thiscall winIVRSettings_IVRSettings_001_SetInt32(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetBool(_this->linux_side, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_001_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetInt32, 16) -int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetFloat, 20) +float __thiscall winIVRSettings_IVRSettings_001_GetFloat(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetInt32(_this->linux_side, pchSection, pchSettingsKey, peError); + return cppIVRSettings_IVRSettings_001_GetFloat(_this->linux_side, pchSection, pchSettingsKey, flDefaultValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetFloat, 16) -float __thiscall winIVRSettings_IVRSettings_003_GetFloat(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetFloat, 20) +void __thiscall winIVRSettings_IVRSettings_001_SetFloat(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetFloat(_this->linux_side, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_001_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetString, 24) -void __thiscall winIVRSettings_IVRSettings_003_GetString(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetString, 28) +void __thiscall winIVRSettings_IVRSettings_001_GetString(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, peError); + cppIVRSettings_IVRSettings_001_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, pchDefaultValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveSection, 12) -void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetString, 20) +void __thiscall winIVRSettings_IVRSettings_001_SetString(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveSection(_this->linux_side, pchSection, peError); + cppIVRSettings_IVRSettings_001_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16) -void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveSection, 12) +void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); + cppIVRSettings_IVRSettings_001_RemoveSection(_this->linux_side, pchSection, peError); } -extern vtable_ptr winIVRSettings_IVRSettings_003_vtable; +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16) +void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) +{ + TRACE("%p\n", _this); + cppIVRSettings_IVRSettings_001_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); +} + +extern vtable_ptr winIVRSettings_IVRSettings_001_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRSettings_IVRSettings_003, - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveSection) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveKeyInSection) + __ASM_VTABLE(winIVRSettings_IVRSettings_001, + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_Sync) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveSection) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveKeyInSection) ); #ifndef __GNUC__ } #endif -winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003(void *linux_side) +winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001(void *linux_side) { - winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); + winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); TRACE("-> %p\n", r); - r->vtable = &winIVRSettings_IVRSettings_003_vtable; + r->vtable = &winIVRSettings_IVRSettings_001_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRSettings_IVRSettings_003(void *object) +void destroy_winIVRSettings_IVRSettings_001(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003_FnTable(void *linux_side) +winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001_FnTable(void *linux_side) { - winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); - struct thunk *thunks = alloc_thunks(11); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 11 * sizeof(*vtable)); + winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); + struct thunk *thunks = alloc_thunks(12); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_003_SetBool, 4, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_003_SetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_003_SetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_003_SetString, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_003_GetBool, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_003_GetInt32, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_003_GetFloat, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_003_GetString, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_003_RemoveSection, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); - for (i = 0; i < 11; i++) + init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_001_Sync, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_001_GetBool, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_001_SetBool, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_001_GetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_001_SetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_001_GetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_001_SetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_001_GetString, 6, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_001_SetString, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_001_RemoveSection, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE); + for (i = 0; i < 12; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSettings_IVRSettings_003_FnTable(void *object) +void destroy_winIVRSettings_IVRSettings_001_FnTable(void *object) { - winIVRSettings_IVRSettings_003 *win_object = object; + winIVRSettings_IVRSettings_001 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); @@ -339,165 +348,156 @@ void destroy_winIVRSettings_IVRSettings_002_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRSettings_IVRSettings_001.h" +#include "cppIVRSettings_IVRSettings_003.h" -typedef struct __winIVRSettings_IVRSettings_001 { +typedef struct __winIVRSettings_IVRSettings_003 { vtable_ptr *vtable; void *linux_side; -} winIVRSettings_IVRSettings_001; +} winIVRSettings_IVRSettings_003; -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 8) -const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_001 *_this, EVRSettingsError eError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 8) +const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_003 *_this, EVRSettingsError eError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(_this->linux_side, eError); + return cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(_this->linux_side, eError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_Sync, 9) -bool __thiscall winIVRSettings_IVRSettings_001_Sync(winIVRSettings_IVRSettings_001 *_this, bool bForce, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetBool, 17) +void __thiscall winIVRSettings_IVRSettings_003_SetBool(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_Sync(_this->linux_side, bForce, peError); + cppIVRSettings_IVRSettings_003_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetBool, 17) -bool __thiscall winIVRSettings_IVRSettings_001_GetBool(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetInt32, 20) +void __thiscall winIVRSettings_IVRSettings_003_SetInt32(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetBool(_this->linux_side, pchSection, pchSettingsKey, bDefaultValue, peError); + cppIVRSettings_IVRSettings_003_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetBool, 17) -void __thiscall winIVRSettings_IVRSettings_001_SetBool(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetFloat, 20) +void __thiscall winIVRSettings_IVRSettings_003_SetFloat(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); + cppIVRSettings_IVRSettings_003_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetInt32, 20) -int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetString, 20) +void __thiscall winIVRSettings_IVRSettings_003_SetString(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetInt32(_this->linux_side, pchSection, pchSettingsKey, nDefaultValue, peError); + cppIVRSettings_IVRSettings_003_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetInt32, 20) -void __thiscall winIVRSettings_IVRSettings_001_SetInt32(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetBool, 16) +bool __thiscall winIVRSettings_IVRSettings_003_GetBool(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); + return cppIVRSettings_IVRSettings_003_GetBool(_this->linux_side, pchSection, pchSettingsKey, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetFloat, 20) -float __thiscall winIVRSettings_IVRSettings_001_GetFloat(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetInt32, 16) +int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetFloat(_this->linux_side, pchSection, pchSettingsKey, flDefaultValue, peError); + return cppIVRSettings_IVRSettings_003_GetInt32(_this->linux_side, pchSection, pchSettingsKey, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetFloat, 20) -void __thiscall winIVRSettings_IVRSettings_001_SetFloat(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetFloat, 16) +float __thiscall winIVRSettings_IVRSettings_003_GetFloat(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); + return cppIVRSettings_IVRSettings_003_GetFloat(_this->linux_side, pchSection, pchSettingsKey, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetString, 28) -void __thiscall winIVRSettings_IVRSettings_001_GetString(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetString, 24) +void __thiscall winIVRSettings_IVRSettings_003_GetString(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, pchDefaultValue, peError); + cppIVRSettings_IVRSettings_003_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetString, 20) -void __thiscall winIVRSettings_IVRSettings_001_SetString(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveSection, 12) +void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); + cppIVRSettings_IVRSettings_003_RemoveSection(_this->linux_side, pchSection, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveSection, 12) -void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, EVRSettingsError * peError) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16) +void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) { TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveSection(_this->linux_side, pchSection, peError); + cppIVRSettings_IVRSettings_003_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); } -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16) -void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -extern vtable_ptr winIVRSettings_IVRSettings_001_vtable; +extern vtable_ptr winIVRSettings_IVRSettings_003_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRSettings_IVRSettings_001, - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_Sync) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveSection) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveKeyInSection) + __ASM_VTABLE(winIVRSettings_IVRSettings_003, + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveSection) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveKeyInSection) ); #ifndef __GNUC__ } #endif -winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001(void *linux_side) +winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003(void *linux_side) { - winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); + winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); TRACE("-> %p\n", r); - r->vtable = &winIVRSettings_IVRSettings_001_vtable; + r->vtable = &winIVRSettings_IVRSettings_003_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRSettings_IVRSettings_001(void *object) +void destroy_winIVRSettings_IVRSettings_003(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001_FnTable(void *linux_side) +winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003_FnTable(void *linux_side) { - winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); - struct thunk *thunks = alloc_thunks(12); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); + winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); + struct thunk *thunks = alloc_thunks(11); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 11 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_001_Sync, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_001_GetBool, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_001_SetBool, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_001_GetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_001_SetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_001_GetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_001_SetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_001_GetString, 6, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_001_SetString, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_001_RemoveSection, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE); - for (i = 0; i < 12; i++) + init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_003_SetBool, 4, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_003_SetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_003_SetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_003_SetString, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_003_GetBool, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_003_GetInt32, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_003_GetFloat, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_003_GetString, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_003_RemoveSection, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); + for (i = 0; i < 11; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; r->vtable = (void *)vtable; return r; } -void destroy_winIVRSettings_IVRSettings_001_FnTable(void *object) +void destroy_winIVRSettings_IVRSettings_003_FnTable(void *object) { - winIVRSettings_IVRSettings_001 *win_object = object; + winIVRSettings_IVRSettings_003 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); diff --git a/vrclient_x64/vrclient_x64/winIVRSystem.c b/vrclient_x64/vrclient_x64/winIVRSystem.c index 4d409268..0d94515c 100644 --- a/vrclient_x64/vrclient_x64/winIVRSystem.c +++ b/vrclient_x64/vrclient_x64/winIVRSystem.c @@ -18,467 +18,2540 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRSystem_IVRSystem_022.h" +#include "cppIVRSystem_IVRSystem_003.h" -typedef struct __winIVRSystem_IVRSystem_022 { +typedef struct __winIVRSystem_IVRSystem_003 { vtable_ptr *vtable; void *linux_side; -} winIVRSystem_IVRSystem_022; +} winIVRSystem_IVRSystem_003; -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_022 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetWindowBounds, 20) +void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(winIVRSystem_IVRSystem_003 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_003_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(winIVRSystem_IVRSystem_022 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_003 *_this, uint32_t * pnWidth, uint32_t * pnHeight) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 24) +void __thiscall winIVRSystem_IVRSystem_003_GetEyeOutputViewport(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(winIVRSystem_IVRSystem_003 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_003_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_003_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(winIVRSystem_IVRSystem_003 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(_this->linux_side, eEye); + *_r = cppIVRSystem_IVRSystem_003_ComputeDistortion(_this->linux_side, eEye, fU, fV); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_022 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(winIVRSystem_IVRSystem_022 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(winIVRSystem_IVRSystem_022 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_022_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(winIVRSystem_IVRSystem_022 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(_this->linux_side, eEye); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_003 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_003 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 12) +void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(winIVRSystem_IVRSystem_003 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 3); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_AttachToWindow, 8) +bool __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(winIVRSystem_IVRSystem_003 *_this, void * hWnd) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_003_AttachToWindow(_this->linux_side, hWnd); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(winIVRSystem_IVRSystem_003 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_022 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_LoadRenderModel, 12) +bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(winIVRSystem_IVRSystem_003 *_this, const char * pchRenderModelName, winRenderModel_t_091 * pRenderModel) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + return cppIVRSystem_IVRSystem_003_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_FreeRenderModel, 8) +void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(winIVRSystem_IVRSystem_003 *_this, winRenderModel_t_091 * pRenderModel) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + cppIVRSystem_IVRSystem_003_FreeRenderModel(_this->linux_side, pRenderModel); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(winIVRSystem_IVRSystem_022 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 8) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + return cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_022 *_this, ETrackedControllerRole unDeviceType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + return cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_r = cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + return cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_003 *_this, TrackedPropertyError error) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + return cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_022 *_this, ETrackedPropertyError error) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEvent, 8) +bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(winIVRSystem_IVRSystem_003 *_this, VREvent_t * pEvent) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(_this->linux_side, error); + return cppIVRSystem_IVRSystem_003_PollNextEvent(_this->linux_side, pEvent); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(winIVRSystem_IVRSystem_022 *_this, winVREvent_t_1267 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEventWithPose, 16) +bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + return cppIVRSystem_IVRSystem_003_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1267 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVREventType eType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(_this->linux_side, eType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVREventType eType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(winIVRSystem_IVRSystem_003 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(winIVRSystem_IVRSystem_022 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_r = cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(_this->linux_side, eEye); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 * pControllerState, uint32_t unControllerStateSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + return cppIVRSystem_IVRSystem_003_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_003_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRButtonId eButtonId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRButtonId eButtonId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + return cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRControllerAxisType eAxisType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRControllerAxisType eAxisType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + return cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(winIVRSystem_IVRSystem_022 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 140) +bool __thiscall winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(winIVRSystem_IVRSystem_003 *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsInputAvailable(_this->linux_side); + return cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, overlaySettings, vecWindowClientPositionOnScreen, vecWindowClientSize, unControllerDeviceIndex, eOutputType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_022 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(winIVRSystem_IVRSystem_003 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(_this->linux_side); + return cppIVRSystem_IVRSystem_003_CaptureInputFocus(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(winIVRSystem_IVRSystem_022 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(winIVRSystem_IVRSystem_003 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_ShouldApplicationPause(_this->linux_side); + cppIVRSystem_IVRSystem_003_ReleaseInputFocus(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_022 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_003 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(_this->linux_side); + return cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 12) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(winIVRSystem_IVRSystem_022 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRuntimeVersion, 4) -const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetRuntimeVersion(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_022_vtable; +extern vtable_ptr winIVRSystem_IVRSystem_003_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRSystem_IVRSystem_022, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRuntimeVersion) + __ASM_VTABLE(winIVRSystem_IVRSystem_003, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_LoadRenderModel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess) ); #ifndef __GNUC__ } #endif -winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022(void *linux_side) +winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003(void *linux_side) { - winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); + winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_022_vtable; + r->vtable = &winIVRSystem_IVRSystem_003_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRSystem_IVRSystem_022(void *object) +void destroy_winIVRSystem_IVRSystem_003(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022_FnTable(void *linux_side) +winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003_FnTable(void *linux_side) { - winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); + winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); + struct thunk *thunks = alloc_thunks(38); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_003_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + for (i = 0; i < 38; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_003_FnTable(void *object) +{ + winIVRSystem_IVRSystem_003 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_004.h" + +typedef struct __winIVRSystem_IVRSystem_004 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_004; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetWindowBounds, 20) +void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(winIVRSystem_IVRSystem_004 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_004 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 24) +void __thiscall winIVRSystem_IVRSystem_004_GetEyeOutputViewport(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(winIVRSystem_IVRSystem_004 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_004_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(winIVRSystem_IVRSystem_004 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_004_ComputeDistortion(_this->linux_side, eEye, fU, fV); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_004 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 12) +void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(winIVRSystem_IVRSystem_004 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 4); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_AttachToWindow, 8) +bool __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(winIVRSystem_IVRSystem_004 *_this, void * hWnd) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_AttachToWindow(_this->linux_side, hWnd); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(winIVRSystem_IVRSystem_004 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 8) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_004 *_this, TrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEvent, 8) +bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(winIVRSystem_IVRSystem_004 *_this, VREvent_t * pEvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_PollNextEvent(_this->linux_side, pEvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEventWithPose, 16) +bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(winIVRSystem_IVRSystem_004 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(winIVRSystem_IVRSystem_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(winIVRSystem_IVRSystem_004 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_004_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_004 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_004_DriverDebugRequest(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_004_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +extern vtable_ptr winIVRSystem_IVRSystem_004_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_004, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_DriverDebugRequest) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004(void *linux_side) +{ + winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_004_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_004(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); + struct thunk *thunks = alloc_thunks(36); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_004_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); + for (i = 0; i < 36; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_004_FnTable(void *object) +{ + winIVRSystem_IVRSystem_004 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_005.h" + +typedef struct __winIVRSystem_IVRSystem_005 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_005; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetWindowBounds, 20) +void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(winIVRSystem_IVRSystem_005 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_005 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 24) +void __thiscall winIVRSystem_IVRSystem_005_GetEyeOutputViewport(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(winIVRSystem_IVRSystem_005 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_005_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(winIVRSystem_IVRSystem_005 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_005_ComputeDistortion(_this->linux_side, eEye, fU, fV); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_005 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 12) +void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(winIVRSystem_IVRSystem_005 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 5); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_AttachToWindow, 8) +bool __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(winIVRSystem_IVRSystem_005 *_this, void * hWnd) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_AttachToWindow(_this->linux_side, hWnd); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(winIVRSystem_IVRSystem_005 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 8) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_005 *_this, TrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEvent, 8) +bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(winIVRSystem_IVRSystem_005 *_this, VREvent_t * pEvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_PollNextEvent(_this->linux_side, pEvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEventWithPose, 16) +bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(winIVRSystem_IVRSystem_005 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(winIVRSystem_IVRSystem_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(winIVRSystem_IVRSystem_005 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_005_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_005 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_005_DriverDebugRequest(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_005_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +extern vtable_ptr winIVRSystem_IVRSystem_005_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_005, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_DriverDebugRequest) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005(void *linux_side) +{ + winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_005_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_005(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); + struct thunk *thunks = alloc_thunks(37); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_005_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); + for (i = 0; i < 37; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_005_FnTable(void *object) +{ + winIVRSystem_IVRSystem_005 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_006.h" + +typedef struct __winIVRSystem_IVRSystem_006 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_006; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetWindowBounds, 20) +void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(winIVRSystem_IVRSystem_006 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_006 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 24) +void __thiscall winIVRSystem_IVRSystem_006_GetEyeOutputViewport(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(winIVRSystem_IVRSystem_006 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(winIVRSystem_IVRSystem_006 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_ComputeDistortion(_this->linux_side, eEye, fU, fV); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_006 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 12) +void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(winIVRSystem_IVRSystem_006 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info2(cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 6); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_AttachToWindow, 8) +bool __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(winIVRSystem_IVRSystem_006 *_this, void * hWnd) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_AttachToWindow(_this->linux_side, hWnd); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(winIVRSystem_IVRSystem_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 8) +TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_006 *_this, TrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEvent, 8) +bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(winIVRSystem_IVRSystem_006 *_this, VREvent_t * pEvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_PollNextEvent(_this->linux_side, pEvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEventWithPose, 16) +bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(winIVRSystem_IVRSystem_006 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(winIVRSystem_IVRSystem_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(winIVRSystem_IVRSystem_006 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_006_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_006_DriverDebugRequest(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 8) +VRFirmwareError __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(winIVRSystem_IVRSystem_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(winIVRSystem_IVRSystem_006 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_006_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +extern vtable_ptr winIVRSystem_IVRSystem_006_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_006, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_SetDisplayVisibility) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006(void *linux_side) +{ + winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_006_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_006(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); + struct thunk *thunks = alloc_thunks(42); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_006_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); + for (i = 0; i < 42; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_006_FnTable(void *object) +{ + winIVRSystem_IVRSystem_006 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_009.h" + +typedef struct __winIVRSystem_IVRSystem_009 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_009; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_009 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(winIVRSystem_IVRSystem_009 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(winIVRSystem_IVRSystem_009 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(winIVRSystem_IVRSystem_009 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_ComputeDistortion(_this->linux_side, eEye, fU, fV); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_009 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(winIVRSystem_IVRSystem_009 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 9); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(winIVRSystem_IVRSystem_009 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_009 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(winIVRSystem_IVRSystem_009 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_009 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEvent, 8) +bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(winIVRSystem_IVRSystem_009 *_this, VREvent_t * pEvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_PollNextEvent(_this->linux_side, pEvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEventWithPose, 16) +bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(winIVRSystem_IVRSystem_009 *_this, HiddenAreaMesh_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_009_DriverDebugRequest(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_009 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_009_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_009, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009(void *linux_side) +{ + winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_009_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_009(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); + struct thunk *thunks = alloc_thunks(42); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_009_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 42; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_009_FnTable(void *object) +{ + winIVRSystem_IVRSystem_009 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_010.h" + +typedef struct __winIVRSystem_IVRSystem_010 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_010; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_010 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(winIVRSystem_IVRSystem_010 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(winIVRSystem_IVRSystem_010 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(winIVRSystem_IVRSystem_010 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_ComputeDistortion(_this->linux_side, eEye, fU, fV); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_010 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(winIVRSystem_IVRSystem_010 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 10); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(winIVRSystem_IVRSystem_010 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_010 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(winIVRSystem_IVRSystem_010 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_010 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_010 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEvent, 8) +bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(winIVRSystem_IVRSystem_010 *_this, VREvent_t * pEvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_PollNextEvent(_this->linux_side, pEvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEventWithPose, 16) +bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(winIVRSystem_IVRSystem_010 *_this, HiddenAreaMesh_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_010_DriverDebugRequest(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_010 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 5) +void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_010 *_this, bool bEnable) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(_this->linux_side, bEnable); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 8) +void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_010 *_this, int nFidelityLevel) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); +} + +extern vtable_ptr winIVRSystem_IVRSystem_010_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_010, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010(void *linux_side) +{ + winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_010_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_010(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_022_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_010_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; @@ -486,485 +2559,3277 @@ winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022_FnTable(void *linu return r; } -void destroy_winIVRSystem_IVRSystem_022_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_010_FnTable(void *object) { - winIVRSystem_IVRSystem_022 *win_object = object; + winIVRSystem_IVRSystem_010 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRSystem_IVRSystem_021.h" +#include "cppIVRSystem_IVRSystem_011.h" -typedef struct __winIVRSystem_IVRSystem_021 { +typedef struct __winIVRSystem_IVRSystem_011 { vtable_ptr *vtable; void *linux_side; -} winIVRSystem_IVRSystem_021; +} winIVRSystem_IVRSystem_011; -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_021 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_011 *_this, uint32_t * pnWidth, uint32_t * pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(winIVRSystem_IVRSystem_021 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(winIVRSystem_IVRSystem_011 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_r = cppIVRSystem_IVRSystem_011_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(winIVRSystem_IVRSystem_011 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_011_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(winIVRSystem_IVRSystem_011 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(_this->linux_side, eEye); + *_r = cppIVRSystem_IVRSystem_011_ComputeDistortion(_this->linux_side, eEye, fU, fV); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_021 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r, EVREye eEye) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(winIVRSystem_IVRSystem_021 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(winIVRSystem_IVRSystem_021 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_021_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(winIVRSystem_IVRSystem_021 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(_this->linux_side, eEye); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_011 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(winIVRSystem_IVRSystem_011 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 11); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(winIVRSystem_IVRSystem_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(winIVRSystem_IVRSystem_011 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(winIVRSystem_IVRSystem_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_021 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(winIVRSystem_IVRSystem_021 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_021 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_r = cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_011 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + return cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + return cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_021 *_this, ETrackedPropertyError error) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(winIVRSystem_IVRSystem_011 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(_this->linux_side, error); + cppIVRSystem_IVRSystem_011_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(winIVRSystem_IVRSystem_021 *_this, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_011 *_this, ETrackedControllerRole unDeviceType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + return cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVREventType eType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(_this->linux_side, eType); + return cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(winIVRSystem_IVRSystem_021 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + return cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_011 *_this, ETrackedPropertyError error) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(winIVRSystem_IVRSystem_011 *_this, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + return cppIVRSystem_IVRSystem_011_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRButtonId eButtonId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + return cppIVRSystem_IVRSystem_011_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRControllerAxisType eAxisType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVREventType eType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + return cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(_this->linux_side, eType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(winIVRSystem_IVRSystem_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(winIVRSystem_IVRSystem_011 *_this, HiddenAreaMesh_t *_r, EVREye eEye) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsInputAvailable(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(_this->linux_side); + return cppIVRSystem_IVRSystem_011_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(winIVRSystem_IVRSystem_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_ShouldApplicationPause(_this->linux_side); + return cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(_this->linux_side); + cppIVRSystem_IVRSystem_011_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRButtonId eButtonId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRControllerAxisType eAxisType) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(_this->linux_side); + return cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 12) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(winIVRSystem_IVRSystem_021 *_this, char * pchBuffer, uint32_t unBufferSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(winIVRSystem_IVRSystem_011 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); + return cppIVRSystem_IVRSystem_011_CaptureInputFocus(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRuntimeVersion, 4) -const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(winIVRSystem_IVRSystem_021 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(winIVRSystem_IVRSystem_011 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetRuntimeVersion(_this->linux_side); + cppIVRSystem_IVRSystem_011_ReleaseInputFocus(_this->linux_side); } -extern vtable_ptr winIVRSystem_IVRSystem_021_vtable; +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_011 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_011_DriverDebugRequest(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_011 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 5) +void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_011 *_this, bool bEnable) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(_this->linux_side, bEnable); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 8) +void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_011 *_this, int nFidelityLevel) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); +} + +extern vtable_ptr winIVRSystem_IVRSystem_011_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRSystem_IVRSystem_021, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRuntimeVersion) + __ASM_VTABLE(winIVRSystem_IVRSystem_011, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange) ); #ifndef __GNUC__ } #endif -winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021(void *linux_side) +winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011(void *linux_side) { - winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); + winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_021_vtable; + r->vtable = &winIVRSystem_IVRSystem_011_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRSystem_IVRSystem_021(void *object) +void destroy_winIVRSystem_IVRSystem_011(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021_FnTable(void *linux_side) +winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011_FnTable(void *linux_side) { - winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); + winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_011_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_011_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_011_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_011_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_011_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_011_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_011_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_011_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_011_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_011_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_011_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_011_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_011_FnTable(void *object) +{ + winIVRSystem_IVRSystem_011 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_012.h" + +typedef struct __winIVRSystem_IVRSystem_012 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_012; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_012 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(winIVRSystem_IVRSystem_012 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(winIVRSystem_IVRSystem_012 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ComputeDistortion, 20) +DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(winIVRSystem_IVRSystem_012 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_ComputeDistortion(_this->linux_side, eEye, fU, fV); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_012 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(winIVRSystem_IVRSystem_012 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 12); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(winIVRSystem_IVRSystem_012 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_012 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(winIVRSystem_IVRSystem_012 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_012 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_012 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(winIVRSystem_IVRSystem_012 *_this, winVREvent_t_103 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 12) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(winIVRSystem_IVRSystem_012 *_this, HiddenAreaMesh_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerState, 12) +bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_012_DriverDebugRequest(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_012 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_012_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_012, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012(void *linux_side) +{ + winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_012_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_012(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); + struct thunk *thunks = alloc_thunks(44); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_012_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 44; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_012_FnTable(void *object) +{ + winIVRSystem_IVRSystem_012 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_014.h" + +typedef struct __winIVRSystem_IVRSystem_014 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_014; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_014 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionMatrix, 24) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(winIVRSystem_IVRSystem_014 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_014_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_014 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(winIVRSystem_IVRSystem_014 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 14); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(winIVRSystem_IVRSystem_014 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_014 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(winIVRSystem_IVRSystem_014 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_014 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_014 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(winIVRSystem_IVRSystem_014 *_this, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(winIVRSystem_IVRSystem_014 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_014_DriverDebugRequest(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_014 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_014_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_014, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014(void *linux_side) +{ + winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_014_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_014(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); + struct thunk *thunks = alloc_thunks(44); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_014_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 44; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_014_FnTable(void *object) +{ + winIVRSystem_IVRSystem_014 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_015.h" + +typedef struct __winIVRSystem_IVRSystem_015 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_015; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_015 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionMatrix, 20) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(winIVRSystem_IVRSystem_015 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_015_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_015 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(winIVRSystem_IVRSystem_015 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 15); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(winIVRSystem_IVRSystem_015 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_015 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(winIVRSystem_IVRSystem_015 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_015 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_015 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(winIVRSystem_IVRSystem_015 *_this, winVREvent_t_107 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(winIVRSystem_IVRSystem_015 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_015_DriverDebugRequest(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_015 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_015_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_015, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015(void *linux_side) +{ + winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_015_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_015(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); + struct thunk *thunks = alloc_thunks(44); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_015_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 44; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_015_FnTable(void *object) +{ + winIVRSystem_IVRSystem_015 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_016.h" + +typedef struct __winIVRSystem_IVRSystem_016 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_016; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_016 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionMatrix, 20) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(winIVRSystem_IVRSystem_016 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_016_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_016 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(winIVRSystem_IVRSystem_016 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetOutputDevice, 12) +void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(winIVRSystem_IVRSystem_016 *_this, uint64_t * pnDevice, ETextureType textureType) +{ + TRACE("%p\n", _this); + ivrsystem_016_get_output_device(cppIVRSystem_IVRSystem_016_GetOutputDevice, _this->linux_side, pnDevice, textureType, 16); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(winIVRSystem_IVRSystem_016 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_016 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(winIVRSystem_IVRSystem_016 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_016 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_016 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(winIVRSystem_IVRSystem_016 *_this, winVREvent_t_109 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(winIVRSystem_IVRSystem_016 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_016_DriverDebugRequest(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_016 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_016_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_016, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016(void *linux_side) +{ + winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_016_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_016(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); + struct thunk *thunks = alloc_thunks(45); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_016_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 45; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_016_FnTable(void *object) +{ + winIVRSystem_IVRSystem_016 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_017.h" + +typedef struct __winIVRSystem_IVRSystem_017 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_017; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_017 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionMatrix, 20) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(winIVRSystem_IVRSystem_017 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_017_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_017 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(winIVRSystem_IVRSystem_017 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 17); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetOutputDevice, 16) +void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(winIVRSystem_IVRSystem_017 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + TRACE("%p\n", _this); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_017_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 17); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(winIVRSystem_IVRSystem_017 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_017 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(winIVRSystem_IVRSystem_017 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_017 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_017 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(winIVRSystem_IVRSystem_017 *_this, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(winIVRSystem_IVRSystem_017 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_CaptureInputFocus, 4) +bool __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_CaptureInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ReleaseInputFocus, 4) +void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_ReleaseInputFocus(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 4) +bool __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_017_DriverDebugRequest(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_017 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_017_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_017, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017(void *linux_side) +{ + winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_017_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_017(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); + struct thunk *thunks = alloc_thunks(45); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_017_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 45; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_017_FnTable(void *object) +{ + winIVRSystem_IVRSystem_017 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRSystem_IVRSystem_019.h" + +typedef struct __winIVRSystem_IVRSystem_019 { + vtable_ptr *vtable; + void *linux_side; +} winIVRSystem_IVRSystem_019; + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_019 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionMatrix, 20) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(winIVRSystem_IVRSystem_019 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_019_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r, EVREye eEye) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(_this->linux_side, eEye); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_019 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(winIVRSystem_IVRSystem_019 *_this, int32_t * pnAdapterIndex) +{ + TRACE("%p\n", _this); + get_dxgi_output_info(cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetOutputDevice, 16) +void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(winIVRSystem_IVRSystem_019 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +{ + TRACE("%p\n", _this); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_019_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 19); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(winIVRSystem_IVRSystem_019 *_this, bool bIsVisibleOnDesktop) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_019 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(winIVRSystem_IVRSystem_019 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_019 *_this, ETrackedControllerRole unDeviceType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 28) +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_019 *_this, ETrackedPropertyError error) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(_this->linux_side, error); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(winIVRSystem_IVRSystem_019 *_this, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVREventType eType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(winIVRSystem_IVRSystem_019 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return _r; +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRButtonId eButtonId) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRControllerAxisType eAxisType) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsInputAvailable, 4) +bool __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_IsInputAvailable(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 4) +bool __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationPause, 4) +bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_ShouldApplicationPause(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 4) +bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_DriverDebugRequest, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_019_DriverDebugRequest(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(_this->linux_side); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 4) +void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_019 *_this) +{ + TRACE("%p\n", _this); + cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_019_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRSystem_IVRSystem_019, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt) + ); +#ifndef __GNUC__ +} +#endif + +winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019(void *linux_side) +{ + winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_019_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRSystem_IVRSystem_019(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019_FnTable(void *linux_side) +{ + winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); struct thunk *thunks = alloc_thunks(47); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_021_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_019_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); for (i = 0; i < 47; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; @@ -972,9 +5837,9 @@ winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021_FnTable(void *linu return r; } -void destroy_winIVRSystem_IVRSystem_021_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_019_FnTable(void *object) { - winIVRSystem_IVRSystem_021 *win_object = object; + winIVRSystem_IVRSystem_019 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); @@ -1476,476 +6341,476 @@ void destroy_winIVRSystem_IVRSystem_020_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRSystem_IVRSystem_019.h" +#include "cppIVRSystem_IVRSystem_021.h" -typedef struct __winIVRSystem_IVRSystem_019 { +typedef struct __winIVRSystem_IVRSystem_021 { vtable_ptr *vtable; void *linux_side; -} winIVRSystem_IVRSystem_019; +} winIVRSystem_IVRSystem_021; -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_019 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_021 *_this, uint32_t * pnWidth, uint32_t * pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(winIVRSystem_IVRSystem_019 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionMatrix, 20) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(winIVRSystem_IVRSystem_021 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_r = cppIVRSystem_IVRSystem_021_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_021_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + return cppIVRSystem_IVRSystem_021_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r, EVREye eEye) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r, EVREye eEye) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(_this->linux_side, eEye); + *_r = cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(_this->linux_side, eEye); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_019 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_021 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + return cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(_this->linux_side); + return cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(winIVRSystem_IVRSystem_019 *_this, int32_t * pnAdapterIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(winIVRSystem_IVRSystem_021 *_this, int32_t * pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 19); + get_dxgi_output_info(cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 21); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(winIVRSystem_IVRSystem_019 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetOutputDevice, 16) +void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(winIVRSystem_IVRSystem_021 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_019_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 19); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_021_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 21); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(_this->linux_side); + return cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(winIVRSystem_IVRSystem_019 *_this, bool bIsVisibleOnDesktop) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(winIVRSystem_IVRSystem_021 *_this, bool bIsVisibleOnDesktop) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + return cppIVRSystem_IVRSystem_021_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 4) +void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(_this->linux_side); + cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_019 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_021 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + return cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + return cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(winIVRSystem_IVRSystem_019 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(winIVRSystem_IVRSystem_021 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_021_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_019 *_this, ETrackedControllerRole unDeviceType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_021 *_this, ETrackedControllerRole unDeviceType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + return cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_r = cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 28) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); + return cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + return cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_019 *_this, ETrackedPropertyError error) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_021 *_this, ETrackedPropertyError error) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(_this->linux_side, error); + return cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(winIVRSystem_IVRSystem_019 *_this, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(winIVRSystem_IVRSystem_021 *_this, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + return cppIVRSystem_IVRSystem_021_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_021_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVREventType eType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVREventType eType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(_this->linux_side, eType); + return cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(_this->linux_side, eType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(winIVRSystem_IVRSystem_019 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(winIVRSystem_IVRSystem_021 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(_this->linux_side, eEye, type); + *_r = cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(_this->linux_side, eEye, type); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + return cppIVRSystem_IVRSystem_021_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_021_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRButtonId eButtonId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRButtonId eButtonId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + return cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRControllerAxisType eAxisType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRControllerAxisType eAxisType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + return cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsInputAvailable, 4) +bool __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsInputAvailable(_this->linux_side); + return cppIVRSystem_IVRSystem_021_IsInputAvailable(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 4) +bool __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(_this->linux_side); + return cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationPause, 4) +bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_ShouldApplicationPause(_this->linux_side); + return cppIVRSystem_IVRSystem_021_ShouldApplicationPause(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 4) +bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(_this->linux_side); + return cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_019_DriverDebugRequest(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + return cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 12) +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(winIVRSystem_IVRSystem_021 *_this, char * pchBuffer, uint32_t unBufferSize) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(_this->linux_side); + return cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_019 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRuntimeVersion, 4) +const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(winIVRSystem_IVRSystem_021 *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(_this->linux_side); + return cppIVRSystem_IVRSystem_021_GetRuntimeVersion(_this->linux_side); } -extern vtable_ptr winIVRSystem_IVRSystem_019_vtable; +extern vtable_ptr winIVRSystem_IVRSystem_021_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRSystem_IVRSystem_019, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt) + __ASM_VTABLE(winIVRSystem_IVRSystem_021, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRuntimeVersion) ); #ifndef __GNUC__ } #endif -winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019(void *linux_side) +winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021(void *linux_side) { - winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); + winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_019_vtable; + r->vtable = &winIVRSystem_IVRSystem_021_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRSystem_IVRSystem_019(void *object) +void destroy_winIVRSystem_IVRSystem_021(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019_FnTable(void *linux_side) +winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021_FnTable(void *linux_side) { - winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); + winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); struct thunk *thunks = alloc_thunks(47); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_019_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_021_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); for (i = 0; i < 47; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; @@ -1953,2791 +6818,476 @@ winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019_FnTable(void *linu return r; } -void destroy_winIVRSystem_IVRSystem_019_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_021_FnTable(void *object) { - winIVRSystem_IVRSystem_019 *win_object = object; + winIVRSystem_IVRSystem_021 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); HeapFree(GetProcessHeap(), 0, win_object); } -#include "cppIVRSystem_IVRSystem_017.h" +#include "cppIVRSystem_IVRSystem_022.h" -typedef struct __winIVRSystem_IVRSystem_017 { +typedef struct __winIVRSystem_IVRSystem_022 { vtable_ptr *vtable; void *linux_side; -} winIVRSystem_IVRSystem_017; +} winIVRSystem_IVRSystem_022; -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_017 *_this, uint32_t * pnWidth, uint32_t * pnHeight) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 12) +void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_022 *_this, uint32_t * pnWidth, uint32_t * pnHeight) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); + cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(winIVRSystem_IVRSystem_017 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionMatrix, 20) +HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(winIVRSystem_IVRSystem_022 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); + *_r = cppIVRSystem_IVRSystem_022_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionRaw, 24) +void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); + cppIVRSystem_IVRSystem_022_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ComputeDistortion, 20) +bool __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); + return cppIVRSystem_IVRSystem_022_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r, EVREye eEye) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 12) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r, EVREye eEye) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(_this->linux_side, eEye); + *_r = cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(_this->linux_side, eEye); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_017 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 12) +bool __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_022 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); + return cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 4) +int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(_this->linux_side); + return cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(winIVRSystem_IVRSystem_017 *_this, int32_t * pnAdapterIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 8) +void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(winIVRSystem_IVRSystem_022 *_this, int32_t * pnAdapterIndex) { TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 17); + get_dxgi_output_info(cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 22); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(winIVRSystem_IVRSystem_017 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetOutputDevice, 16) +void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(winIVRSystem_IVRSystem_022 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) { TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_017_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 17); + ivrsystem_get_output_device(cppIVRSystem_IVRSystem_022_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 22); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 4) +bool __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(_this->linux_side); + return cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(winIVRSystem_IVRSystem_017 *_this, bool bIsVisibleOnDesktop) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_SetDisplayVisibility, 5) +bool __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(winIVRSystem_IVRSystem_022 *_this, bool bIsVisibleOnDesktop) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); + return cppIVRSystem_IVRSystem_022_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 20) +void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); + cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); + *_r = cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_017 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 20) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_022 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); + return cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 8) +EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); + return cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(winIVRSystem_IVRSystem_017 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ApplyTransform, 16) +void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(winIVRSystem_IVRSystem_022 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); + cppIVRSystem_IVRSystem_022_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_017 *_this, ETrackedControllerRole unDeviceType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 8) +TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_022 *_this, ETrackedControllerRole unDeviceType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); + return cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 8) +ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 8) +ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 8) +bool __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 16) +bool __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 16) +float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 16) +int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 16) +uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + return cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 20) +HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); + *_r = cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 28) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); + return cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_017 *_this, ETrackedPropertyError error) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 24) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(_this->linux_side, error); + return cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(winIVRSystem_IVRSystem_017 *_this, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_022 *_this, ETrackedPropertyError error) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); + return cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(_this->linux_side, error); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEvent, 12) +bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(winIVRSystem_IVRSystem_022 *_this, winVREvent_t_1267 * pEvent, uint32_t uncbVREvent) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_022_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVREventType eType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEventWithPose, 20) +bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1267 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(_this->linux_side, eType); + return cppIVRSystem_IVRSystem_022_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(winIVRSystem_IVRSystem_017 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVREventType eType) { TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(_this->linux_side, eEye, type); + return cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(_this->linux_side, eType); +} + +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 16) +HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(winIVRSystem_IVRSystem_022 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) +{ + TRACE("%p\n", _this); + *_r = cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(_this->linux_side, eEye, type); return _r; } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerState, 16) +bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 * pControllerState, uint32_t unControllerStateSize) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); + return cppIVRSystem_IVRSystem_022_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 24) +bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1267 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); + return cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_TriggerHapticPulse, 14) +void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); + cppIVRSystem_IVRSystem_022_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRButtonId eButtonId) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRButtonId eButtonId) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); + return cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRControllerAxisType eAxisType) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 8) +const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRControllerAxisType eAxisType) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); + return cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsInputAvailable, 4) +bool __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_CaptureInputFocus(_this->linux_side); + return cppIVRSystem_IVRSystem_022_IsInputAvailable(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 4) +bool __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ReleaseInputFocus(_this->linux_side); + return cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationPause, 4) +bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(_this->linux_side); + return cppIVRSystem_IVRSystem_022_ShouldApplicationPause(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_017_DriverDebugRequest(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 4) +bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); + return cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 8) +EVRFirmwareError __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) { TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); + return cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 4) +void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_022 *_this) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(_this->linux_side); + cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(_this->linux_side); } -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_017 *_this) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 12) +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(winIVRSystem_IVRSystem_022 *_this, char * pchBuffer, uint32_t unBufferSize) { TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(_this->linux_side); + return cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); } -extern vtable_ptr winIVRSystem_IVRSystem_017_vtable; +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRuntimeVersion, 4) +const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(winIVRSystem_IVRSystem_022 *_this) +{ + TRACE("%p\n", _this); + return cppIVRSystem_IVRSystem_022_GetRuntimeVersion(_this->linux_side); +} + +extern vtable_ptr winIVRSystem_IVRSystem_022_vtable; #ifndef __GNUC__ void __asm_dummy_vtables(void) { #endif - __ASM_VTABLE(winIVRSystem_IVRSystem_017, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt) + __ASM_VTABLE(winIVRSystem_IVRSystem_022, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRuntimeVersion) ); #ifndef __GNUC__ } #endif -winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017(void *linux_side) +winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022(void *linux_side) { - winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); + winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_017_vtable; + r->vtable = &winIVRSystem_IVRSystem_022_vtable; r->linux_side = linux_side; return r; } -void destroy_winIVRSystem_IVRSystem_017(void *object) +void destroy_winIVRSystem_IVRSystem_022(void *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } -winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017_FnTable(void *linux_side) +winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022_FnTable(void *linux_side) { - winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); - struct thunk *thunks = alloc_thunks(45); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_017_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 45; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_017_FnTable(void *object) -{ - winIVRSystem_IVRSystem_017 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_016.h" - -typedef struct __winIVRSystem_IVRSystem_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_016; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_016 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(winIVRSystem_IVRSystem_016 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_016 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(winIVRSystem_IVRSystem_016 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetOutputDevice, 12) -void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(winIVRSystem_IVRSystem_016 *_this, uint64_t * pnDevice, ETextureType textureType) -{ - TRACE("%p\n", _this); - ivrsystem_016_get_output_device(cppIVRSystem_IVRSystem_016_GetOutputDevice, _this->linux_side, pnDevice, textureType, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(winIVRSystem_IVRSystem_016 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_016 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(winIVRSystem_IVRSystem_016 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_016 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_016 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(winIVRSystem_IVRSystem_016 *_this, winVREvent_t_109 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(winIVRSystem_IVRSystem_016 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_016_DriverDebugRequest(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_016_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_016, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016(void *linux_side) -{ - winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_016_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_016(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); - struct thunk *thunks = alloc_thunks(45); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_016_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 45; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_016_FnTable(void *object) -{ - winIVRSystem_IVRSystem_016 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_015.h" - -typedef struct __winIVRSystem_IVRSystem_015 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_015; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_015 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(winIVRSystem_IVRSystem_015 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_015 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(winIVRSystem_IVRSystem_015 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(winIVRSystem_IVRSystem_015 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_015 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(winIVRSystem_IVRSystem_015 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_015 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_015 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(winIVRSystem_IVRSystem_015 *_this, winVREvent_t_107 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(winIVRSystem_IVRSystem_015 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_015_DriverDebugRequest(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_015_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_015, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015(void *linux_side) -{ - winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_015_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_015(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); - struct thunk *thunks = alloc_thunks(44); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_015_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 44; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_015_FnTable(void *object) -{ - winIVRSystem_IVRSystem_015 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_014.h" - -typedef struct __winIVRSystem_IVRSystem_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_014; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_014 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(winIVRSystem_IVRSystem_014 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_014 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(winIVRSystem_IVRSystem_014 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(winIVRSystem_IVRSystem_014 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_014 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(winIVRSystem_IVRSystem_014 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_014 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_014 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(winIVRSystem_IVRSystem_014 *_this, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(winIVRSystem_IVRSystem_014 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_014_DriverDebugRequest(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_014, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014(void *linux_side) -{ - winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_014_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_014(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); - struct thunk *thunks = alloc_thunks(44); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_014_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 44; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_014_FnTable(void *object) -{ - winIVRSystem_IVRSystem_014 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_012.h" - -typedef struct __winIVRSystem_IVRSystem_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_012; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_012 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(winIVRSystem_IVRSystem_012 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(winIVRSystem_IVRSystem_012 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(winIVRSystem_IVRSystem_012 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_012 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(winIVRSystem_IVRSystem_012 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(winIVRSystem_IVRSystem_012 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_012 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(winIVRSystem_IVRSystem_012 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_012 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_012 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(winIVRSystem_IVRSystem_012 *_this, winVREvent_t_103 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(winIVRSystem_IVRSystem_012 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_012_DriverDebugRequest(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_012, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012(void *linux_side) -{ - winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_012_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_012(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); - struct thunk *thunks = alloc_thunks(44); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_012_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 44; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_012_FnTable(void *object) -{ - winIVRSystem_IVRSystem_012 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_011.h" - -typedef struct __winIVRSystem_IVRSystem_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_011; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_011 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(winIVRSystem_IVRSystem_011 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(winIVRSystem_IVRSystem_011 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(winIVRSystem_IVRSystem_011 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_011 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(winIVRSystem_IVRSystem_011 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(winIVRSystem_IVRSystem_011 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_011 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(winIVRSystem_IVRSystem_011 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_011 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_011 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(winIVRSystem_IVRSystem_011 *_this, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(winIVRSystem_IVRSystem_011 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_011_DriverDebugRequest(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 5) -void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_011 *_this, bool bEnable) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(_this->linux_side, bEnable); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 8) -void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_011 *_this, int nFidelityLevel) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); -} - -extern vtable_ptr winIVRSystem_IVRSystem_011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_011, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011(void *linux_side) -{ - winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_011_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_011(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); + winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); struct thunk *thunks = alloc_thunks(46); struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); int i; TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_011_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_011_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_011_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_011_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_011_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_011_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_011_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_011_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_011_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_011_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_011_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_011_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_022_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); for (i = 0; i < 46; i++) vtable[i] = &thunks[i]; r->linux_side = linux_side; @@ -4745,2559 +7295,9 @@ winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011_FnTable(void *linu return r; } -void destroy_winIVRSystem_IVRSystem_011_FnTable(void *object) +void destroy_winIVRSystem_IVRSystem_022_FnTable(void *object) { - winIVRSystem_IVRSystem_011 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_010.h" - -typedef struct __winIVRSystem_IVRSystem_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_010; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_010 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(winIVRSystem_IVRSystem_010 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(winIVRSystem_IVRSystem_010 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(winIVRSystem_IVRSystem_010 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_010 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(winIVRSystem_IVRSystem_010 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(winIVRSystem_IVRSystem_010 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_010 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(winIVRSystem_IVRSystem_010 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_010 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_010 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(winIVRSystem_IVRSystem_010 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(winIVRSystem_IVRSystem_010 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_010_DriverDebugRequest(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 5) -void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_010 *_this, bool bEnable) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(_this->linux_side, bEnable); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 8) -void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_010 *_this, int nFidelityLevel) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); -} - -extern vtable_ptr winIVRSystem_IVRSystem_010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_010, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010(void *linux_side) -{ - winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_010_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_010(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_010_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_010_FnTable(void *object) -{ - winIVRSystem_IVRSystem_010 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_009.h" - -typedef struct __winIVRSystem_IVRSystem_009 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_009; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_009 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(winIVRSystem_IVRSystem_009 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(winIVRSystem_IVRSystem_009 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(winIVRSystem_IVRSystem_009 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_009 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(winIVRSystem_IVRSystem_009 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(winIVRSystem_IVRSystem_009 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_009 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(winIVRSystem_IVRSystem_009 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_009 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(winIVRSystem_IVRSystem_009 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(winIVRSystem_IVRSystem_009 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_009_DriverDebugRequest(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_009, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009(void *linux_side) -{ - winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_009_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_009(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); - struct thunk *thunks = alloc_thunks(42); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_009_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 42; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_009_FnTable(void *object) -{ - winIVRSystem_IVRSystem_009 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_006.h" - -typedef struct __winIVRSystem_IVRSystem_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_006; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(winIVRSystem_IVRSystem_006 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_006 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_006_GetEyeOutputViewport(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(winIVRSystem_IVRSystem_006 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(winIVRSystem_IVRSystem_006 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_006 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(winIVRSystem_IVRSystem_006 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(winIVRSystem_IVRSystem_006 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_006 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(winIVRSystem_IVRSystem_006 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(winIVRSystem_IVRSystem_006 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_006_DriverDebugRequest(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 8) -VRFirmwareError __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(winIVRSystem_IVRSystem_006 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -extern vtable_ptr winIVRSystem_IVRSystem_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_006, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_SetDisplayVisibility) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006(void *linux_side) -{ - winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); - struct thunk *thunks = alloc_thunks(42); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_006_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); - for (i = 0; i < 42; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_006_FnTable(void *object) -{ - winIVRSystem_IVRSystem_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_005.h" - -typedef struct __winIVRSystem_IVRSystem_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_005; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(winIVRSystem_IVRSystem_005 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_005 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_005_GetEyeOutputViewport(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(winIVRSystem_IVRSystem_005 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(winIVRSystem_IVRSystem_005 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_005 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(winIVRSystem_IVRSystem_005 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(winIVRSystem_IVRSystem_005 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_005 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(winIVRSystem_IVRSystem_005 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(winIVRSystem_IVRSystem_005 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_005_DriverDebugRequest(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -extern vtable_ptr winIVRSystem_IVRSystem_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_005, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_DriverDebugRequest) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005(void *linux_side) -{ - winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); - struct thunk *thunks = alloc_thunks(37); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_005_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); - for (i = 0; i < 37; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_005_FnTable(void *object) -{ - winIVRSystem_IVRSystem_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_004.h" - -typedef struct __winIVRSystem_IVRSystem_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_004; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(winIVRSystem_IVRSystem_004 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_004 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_004_GetEyeOutputViewport(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(winIVRSystem_IVRSystem_004 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(winIVRSystem_IVRSystem_004 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_004 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(winIVRSystem_IVRSystem_004 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(winIVRSystem_IVRSystem_004 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_004 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(winIVRSystem_IVRSystem_004 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(winIVRSystem_IVRSystem_004 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_004_DriverDebugRequest(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -extern vtable_ptr winIVRSystem_IVRSystem_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_004, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_DriverDebugRequest) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004(void *linux_side) -{ - winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); - struct thunk *thunks = alloc_thunks(36); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_004_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); - for (i = 0; i < 36; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_004_FnTable(void *object) -{ - winIVRSystem_IVRSystem_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRSystem_IVRSystem_003.h" - -typedef struct __winIVRSystem_IVRSystem_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_003; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(winIVRSystem_IVRSystem_003 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_003 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_003_GetEyeOutputViewport(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(winIVRSystem_IVRSystem_003 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(winIVRSystem_IVRSystem_003 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_003 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(winIVRSystem_IVRSystem_003 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 3); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(winIVRSystem_IVRSystem_003 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_LoadRenderModel, 12) -bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(winIVRSystem_IVRSystem_003 *_this, const char * pchRenderModelName, winRenderModel_t_091 * pRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_FreeRenderModel, 8) -void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(winIVRSystem_IVRSystem_003 *_this, winRenderModel_t_091 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_003 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(winIVRSystem_IVRSystem_003 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(winIVRSystem_IVRSystem_003 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 140) -bool __thiscall winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(winIVRSystem_IVRSystem_003 *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, overlaySettings, vecWindowClientPositionOnScreen, vecWindowClientSize, unControllerDeviceIndex, eOutputType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_003, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_LoadRenderModel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003(void *linux_side) -{ - winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); - struct thunk *thunks = alloc_thunks(38); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_003_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - for (i = 0; i < 38; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_003_FnTable(void *object) -{ - winIVRSystem_IVRSystem_003 *win_object = object; + winIVRSystem_IVRSystem_022 *win_object = object; TRACE("%p\n", win_object); VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, win_object->vtable); diff --git a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c index 62098a75..81f99a69 100644 --- a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c +++ b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c @@ -18,813 +18,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "cppIVRTrackedCamera_IVRTrackedCamera_006.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_006; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1267 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1267 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1267 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 8) -void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, ETrackingUniverseOrigin eUniverse) -{ - TRACE("%p\n", _this); - cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(_this->linux_side, eUniverse); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(_this->linux_side); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_006, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); - struct thunk *thunks = alloc_thunks(14); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); - for (i = 0; i < 14; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRTrackedCamera_IVRTrackedCamera_005.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_005; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_005, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); - struct thunk *thunks = alloc_thunks(12); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - for (i = 0; i < 12; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_005 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRTrackedCamera_IVRTrackedCamera_004.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_004; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 20) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_004, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); - struct thunk *thunks = alloc_thunks(12); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - for (i = 0; i < 12; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_004 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRTrackedCamera_IVRTrackedCamera_003.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_003; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 20) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_003, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); - struct thunk *thunks = alloc_thunks(12); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - for (i = 0; i < 12; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_003 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - -#include "cppIVRTrackedCamera_IVRTrackedCamera_002.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_002; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 20) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 8) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_002, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); - struct thunk *thunks = alloc_thunks(8); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - for (i = 0; i < 8; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_002 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - #include "cppIVRTrackedCamera_IVRTrackedCamera_001.h" typedef struct __winIVRTrackedCamera_IVRTrackedCamera_001 { @@ -1044,3 +237,810 @@ void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *object) HeapFree(GetProcessHeap(), 0, win_object); } +#include "cppIVRTrackedCamera_IVRTrackedCamera_002.h" + +typedef struct __winIVRTrackedCamera_IVRTrackedCamera_002 { + vtable_ptr *vtable; + void *linux_side; +} winIVRTrackedCamera_IVRTrackedCamera_002; + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 8) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, EVRTrackedCameraError eCameraError) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 20) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 8) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_002_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_002, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer) + ); +#ifndef __GNUC__ +} +#endif + +winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_002_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); + struct thunk *thunks = alloc_thunks(8); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + for (i = 0; i < 8; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *object) +{ + winIVRTrackedCamera_IVRTrackedCamera_002 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRTrackedCamera_IVRTrackedCamera_003.h" + +typedef struct __winIVRTrackedCamera_IVRTrackedCamera_003 { + vtable_ptr *vtable; + void *linux_side; +} winIVRTrackedCamera_IVRTrackedCamera_003; + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 8) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, EVRTrackedCameraError eCameraError) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 20) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 16) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_003_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_003, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL) + ); +#ifndef __GNUC__ +} +#endif + +winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_003_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); + struct thunk *thunks = alloc_thunks(12); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *object) +{ + winIVRTrackedCamera_IVRTrackedCamera_003 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRTrackedCamera_IVRTrackedCamera_004.h" + +typedef struct __winIVRTrackedCamera_IVRTrackedCamera_004 { + vtable_ptr *vtable; + void *linux_side; +} winIVRTrackedCamera_IVRTrackedCamera_004; + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 8) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, EVRTrackedCameraError eCameraError) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 20) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 16) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_004_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_004, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL) + ); +#ifndef __GNUC__ +} +#endif + +winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_004_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); + struct thunk *thunks = alloc_thunks(12); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *object) +{ + winIVRTrackedCamera_IVRTrackedCamera_004 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRTrackedCamera_IVRTrackedCamera_005.h" + +typedef struct __winIVRTrackedCamera_IVRTrackedCamera_005 { + vtable_ptr *vtable; + void *linux_side; +} winIVRTrackedCamera_IVRTrackedCamera_005; + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 8) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, EVRTrackedCameraError eCameraError) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 16) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_005_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_005, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL) + ); +#ifndef __GNUC__ +} +#endif + +winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_005_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); + struct thunk *thunks = alloc_thunks(12); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *object) +{ + winIVRTrackedCamera_IVRTrackedCamera_005 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + +#include "cppIVRTrackedCamera_IVRTrackedCamera_006.h" + +typedef struct __winIVRTrackedCamera_IVRTrackedCamera_006 { + vtable_ptr *vtable; + void *linux_side; +} winIVRTrackedCamera_IVRTrackedCamera_006; + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 8) +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, EVRTrackedCameraError eCameraError) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 12) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1267 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 24) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 32) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1267 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 28) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1267 * pFrameHeader, uint32_t nFrameHeaderSize) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 16) +EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 8) +void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, ETrackingUniverseOrigin eUniverse) +{ + TRACE("%p\n", _this); + cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(_this->linux_side, eUniverse); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 4) +ETrackingUniverseOrigin __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this) +{ + TRACE("%p\n", _this); + return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(_this->linux_side); +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_006_vtable; + +#ifndef __GNUC__ +void __asm_dummy_vtables(void) { +#endif + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_006, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace) + ); +#ifndef __GNUC__ +} +#endif + +winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_006_vtable; + r->linux_side = linux_side; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *linux_side) +{ + winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); + struct thunk *thunks = alloc_thunks(14); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); + for (i = 0; i < 14; i++) + vtable[i] = &thunks[i]; + r->linux_side = linux_side; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *object) +{ + winIVRTrackedCamera_IVRTrackedCamera_006 *win_object = object; + TRACE("%p\n", win_object); + VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); + HeapFree(GetProcessHeap(), 0, win_object->vtable); + HeapFree(GetProcessHeap(), 0, win_object); +} + diff --git a/vrclient_x64/vrclient_x64/win_constructors.h b/vrclient_x64/vrclient_x64/win_constructors.h index cb00650f..e0829cb6 100644 --- a/vrclient_x64/vrclient_x64/win_constructors.h +++ b/vrclient_x64/vrclient_x64/win_constructors.h @@ -1,214 +1,214 @@ -extern void *create_winIVRSystem_IVRSystem_022(void *); -extern void *create_winIVRSystem_IVRSystem_022_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_007(void *); -extern void *create_winIVRApplications_IVRApplications_007_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_003(void *); -extern void *create_winIVRSettings_IVRSettings_003_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_004(void *); -extern void *create_winIVRChaperone_IVRChaperone_004_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_027(void *); -extern void *create_winIVRCompositor_IVRCompositor_027_FnTable(void *); -extern void *create_winIVRHeadsetView_IVRHeadsetView_001(void *); -extern void *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); -extern void *create_winIVRNotifications_IVRNotifications_002(void *); -extern void *create_winIVRNotifications_IVRNotifications_002_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_027(void *); -extern void *create_winIVROverlay_IVROverlay_027_FnTable(void *); -extern void *create_winIVROverlayView_IVROverlayView_003(void *); -extern void *create_winIVROverlayView_IVROverlayView_003_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_006(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); -extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); -extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); -extern void *create_winIVRScreenshots_IVRScreenshots_001(void *); -extern void *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); -extern void *create_winIVRResources_IVRResources_001(void *); -extern void *create_winIVRResources_IVRResources_001_FnTable(void *); -extern void *create_winIVRDriverManager_IVRDriverManager_001(void *); -extern void *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); -extern void *create_winIVRInput_IVRInput_010(void *); -extern void *create_winIVRInput_IVRInput_010_FnTable(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_002(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); -extern void *create_winIVRClientCore_IVRClientCore_003(void *); -extern void *create_winIVRClientCore_IVRClientCore_003_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_026(void *); -extern void *create_winIVROverlay_IVROverlay_026_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_025(void *); -extern void *create_winIVROverlay_IVROverlay_025_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_026(void *); -extern void *create_winIVRCompositor_IVRCompositor_026_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_024(void *); -extern void *create_winIVROverlay_IVROverlay_024_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_021(void *); -extern void *create_winIVRSystem_IVRSystem_021_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_003(void *); -extern void *create_winIVRChaperone_IVRChaperone_003_FnTable(void *); -extern void *create_winIVRControlPanel_IVRControlPanel_006(void *); -extern void *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); -extern void *create_winIVRMailbox_IVRMailbox_001(void *); -extern void *create_winIVRMailbox_IVRMailbox_001_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_024(void *); -extern void *create_winIVRCompositor_IVRCompositor_024_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_022(void *); -extern void *create_winIVROverlay_IVROverlay_022_FnTable(void *); -extern void *create_winIVRInput_IVRInput_007(void *); -extern void *create_winIVRInput_IVRInput_007_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_002(void *); -extern void *create_winIVRSettings_IVRSettings_002_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_022(void *); -extern void *create_winIVRCompositor_IVRCompositor_022_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_021(void *); -extern void *create_winIVROverlay_IVROverlay_021_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_020(void *); -extern void *create_winIVRSystem_IVRSystem_020_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_006(void *); -extern void *create_winIVRApplications_IVRApplications_006_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_020(void *); -extern void *create_winIVROverlay_IVROverlay_020_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_019(void *); -extern void *create_winIVROverlay_IVROverlay_019_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_019(void *); -extern void *create_winIVRSystem_IVRSystem_019_FnTable(void *); -extern void *create_winIVRInput_IVRInput_006(void *); -extern void *create_winIVRInput_IVRInput_006_FnTable(void *); -extern void *create_winIVRInput_IVRInput_005(void *); -extern void *create_winIVRInput_IVRInput_005_FnTable(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_001(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_018(void *); -extern void *create_winIVROverlay_IVROverlay_018_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); -extern void *create_winIVRInput_IVRInput_004(void *); -extern void *create_winIVRInput_IVRInput_004_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_005(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); -extern void *create_winIVRInput_IVRInput_003(void *); -extern void *create_winIVRInput_IVRInput_003_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_017(void *); -extern void *create_winIVRSystem_IVRSystem_017_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_017(void *); -extern void *create_winIVROverlay_IVROverlay_017_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_021(void *); -extern void *create_winIVRCompositor_IVRCompositor_021_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_016(void *); -extern void *create_winIVROverlay_IVROverlay_016_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_016(void *); -extern void *create_winIVRSystem_IVRSystem_016_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_020(void *); -extern void *create_winIVRCompositor_IVRCompositor_020_FnTable(void *); -extern void *create_winIVRClientCore_IVRClientCore_002(void *); -extern void *create_winIVRClientCore_IVRClientCore_002_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_015(void *); -extern void *create_winIVRSystem_IVRSystem_015_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_014(void *); -extern void *create_winIVROverlay_IVROverlay_014_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_019(void *); -extern void *create_winIVRCompositor_IVRCompositor_019_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_014(void *); -extern void *create_winIVRSystem_IVRSystem_014_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_018(void *); -extern void *create_winIVRCompositor_IVRCompositor_018_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_013(void *); -extern void *create_winIVROverlay_IVROverlay_013_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_017(void *); -extern void *create_winIVRCompositor_IVRCompositor_017_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_012(void *); -extern void *create_winIVRSystem_IVRSystem_012_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_016(void *); -extern void *create_winIVRCompositor_IVRCompositor_016_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_001(void *); -extern void *create_winIVRSettings_IVRSettings_001_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_005(void *); -extern void *create_winIVRApplications_IVRApplications_005_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_015(void *); -extern void *create_winIVRCompositor_IVRCompositor_015_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_012(void *); -extern void *create_winIVROverlay_IVROverlay_012_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_014(void *); -extern void *create_winIVRCompositor_IVRCompositor_014_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_011(void *); -extern void *create_winIVROverlay_IVROverlay_011_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_013(void *); -extern void *create_winIVRCompositor_IVRCompositor_013_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_011(void *); -extern void *create_winIVRSystem_IVRSystem_011_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_004(void *); -extern void *create_winIVRApplications_IVRApplications_004_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_010(void *); -extern void *create_winIVROverlay_IVROverlay_010_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_004(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_012(void *); -extern void *create_winIVRCompositor_IVRCompositor_012_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_003(void *); -extern void *create_winIVRApplications_IVRApplications_003_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_011(void *); -extern void *create_winIVRCompositor_IVRCompositor_011_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_002(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_010(void *); -extern void *create_winIVRSystem_IVRSystem_010_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_002(void *); -extern void *create_winIVRApplications_IVRApplications_002_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_010(void *); -extern void *create_winIVRCompositor_IVRCompositor_010_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_008(void *); -extern void *create_winIVROverlay_IVROverlay_008_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_009(void *); -extern void *create_winIVRCompositor_IVRCompositor_009_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_009(void *); -extern void *create_winIVRSystem_IVRSystem_009_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_007(void *); -extern void *create_winIVROverlay_IVROverlay_007_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_006(void *); -extern void *create_winIVRSystem_IVRSystem_006_FnTable(void *); extern void *create_winIVRApplications_IVRApplications_001(void *); extern void *create_winIVRApplications_IVRApplications_001_FnTable(void *); +extern void *create_winIVRApplications_IVRApplications_002(void *); +extern void *create_winIVRApplications_IVRApplications_002_FnTable(void *); +extern void *create_winIVRApplications_IVRApplications_003(void *); +extern void *create_winIVRApplications_IVRApplications_003_FnTable(void *); +extern void *create_winIVRApplications_IVRApplications_004(void *); +extern void *create_winIVRApplications_IVRApplications_004_FnTable(void *); +extern void *create_winIVRApplications_IVRApplications_005(void *); +extern void *create_winIVRApplications_IVRApplications_005_FnTable(void *); +extern void *create_winIVRApplications_IVRApplications_006(void *); +extern void *create_winIVRApplications_IVRApplications_006_FnTable(void *); +extern void *create_winIVRApplications_IVRApplications_007(void *); +extern void *create_winIVRApplications_IVRApplications_007_FnTable(void *); +extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); +extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); +extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); +extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); +extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); +extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); extern void *create_winIVRChaperone_IVRChaperone_002(void *); extern void *create_winIVRChaperone_IVRChaperone_002_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_008(void *); -extern void *create_winIVRCompositor_IVRCompositor_008_FnTable(void *); -extern void *create_winIVRNotifications_IVRNotifications_001(void *); -extern void *create_winIVRNotifications_IVRNotifications_001_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_005(void *); -extern void *create_winIVROverlay_IVROverlay_005_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_001(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_005(void *); -extern void *create_winIVRSystem_IVRSystem_005_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_007(void *); -extern void *create_winIVRCompositor_IVRCompositor_007_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_004(void *); -extern void *create_winIVROverlay_IVROverlay_004_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_003(void *); -extern void *create_winIVROverlay_IVROverlay_003_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_002(void *); -extern void *create_winIVROverlay_IVROverlay_002_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_004(void *); -extern void *create_winIVRSystem_IVRSystem_004_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_006(void *); -extern void *create_winIVRCompositor_IVRCompositor_006_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_001(void *); -extern void *create_winIVROverlay_IVROverlay_001_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_003(void *); -extern void *create_winIVRSystem_IVRSystem_003_FnTable(void *); +extern void *create_winIVRChaperone_IVRChaperone_003(void *); +extern void *create_winIVRChaperone_IVRChaperone_003_FnTable(void *); +extern void *create_winIVRChaperone_IVRChaperone_004(void *); +extern void *create_winIVRChaperone_IVRChaperone_004_FnTable(void *); +extern void *create_winIVRClientCore_IVRClientCore_002(void *); +extern void *create_winIVRClientCore_IVRClientCore_002_FnTable(void *); +extern void *create_winIVRClientCore_IVRClientCore_003(void *); +extern void *create_winIVRClientCore_IVRClientCore_003_FnTable(void *); extern void *create_winIVRCompositor_IVRCompositor_005(void *); extern void *create_winIVRCompositor_IVRCompositor_005_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_006(void *); +extern void *create_winIVRCompositor_IVRCompositor_006_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_007(void *); +extern void *create_winIVRCompositor_IVRCompositor_007_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_008(void *); +extern void *create_winIVRCompositor_IVRCompositor_008_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_009(void *); +extern void *create_winIVRCompositor_IVRCompositor_009_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_010(void *); +extern void *create_winIVRCompositor_IVRCompositor_010_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_011(void *); +extern void *create_winIVRCompositor_IVRCompositor_011_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_012(void *); +extern void *create_winIVRCompositor_IVRCompositor_012_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_013(void *); +extern void *create_winIVRCompositor_IVRCompositor_013_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_014(void *); +extern void *create_winIVRCompositor_IVRCompositor_014_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_015(void *); +extern void *create_winIVRCompositor_IVRCompositor_015_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_016(void *); +extern void *create_winIVRCompositor_IVRCompositor_016_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_017(void *); +extern void *create_winIVRCompositor_IVRCompositor_017_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_018(void *); +extern void *create_winIVRCompositor_IVRCompositor_018_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_019(void *); +extern void *create_winIVRCompositor_IVRCompositor_019_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_020(void *); +extern void *create_winIVRCompositor_IVRCompositor_020_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_021(void *); +extern void *create_winIVRCompositor_IVRCompositor_021_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_022(void *); +extern void *create_winIVRCompositor_IVRCompositor_022_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_024(void *); +extern void *create_winIVRCompositor_IVRCompositor_024_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_026(void *); +extern void *create_winIVRCompositor_IVRCompositor_026_FnTable(void *); +extern void *create_winIVRCompositor_IVRCompositor_027(void *); +extern void *create_winIVRCompositor_IVRCompositor_027_FnTable(void *); +extern void *create_winIVRControlPanel_IVRControlPanel_006(void *); +extern void *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); +extern void *create_winIVRDriverManager_IVRDriverManager_001(void *); +extern void *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); +extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); +extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); +extern void *create_winIVRHeadsetView_IVRHeadsetView_001(void *); +extern void *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); +extern void *create_winIVRIOBuffer_IVRIOBuffer_001(void *); +extern void *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); +extern void *create_winIVRIOBuffer_IVRIOBuffer_002(void *); +extern void *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); +extern void *create_winIVRInput_IVRInput_003(void *); +extern void *create_winIVRInput_IVRInput_003_FnTable(void *); +extern void *create_winIVRInput_IVRInput_004(void *); +extern void *create_winIVRInput_IVRInput_004_FnTable(void *); +extern void *create_winIVRInput_IVRInput_005(void *); +extern void *create_winIVRInput_IVRInput_005_FnTable(void *); +extern void *create_winIVRInput_IVRInput_006(void *); +extern void *create_winIVRInput_IVRInput_006_FnTable(void *); +extern void *create_winIVRInput_IVRInput_007(void *); +extern void *create_winIVRInput_IVRInput_007_FnTable(void *); +extern void *create_winIVRInput_IVRInput_010(void *); +extern void *create_winIVRInput_IVRInput_010_FnTable(void *); +extern void *create_winIVRMailbox_IVRMailbox_001(void *); +extern void *create_winIVRMailbox_IVRMailbox_001_FnTable(void *); +extern void *create_winIVRNotifications_IVRNotifications_001(void *); +extern void *create_winIVRNotifications_IVRNotifications_001_FnTable(void *); +extern void *create_winIVRNotifications_IVRNotifications_002(void *); +extern void *create_winIVRNotifications_IVRNotifications_002_FnTable(void *); +extern void *create_winIVROverlayView_IVROverlayView_003(void *); +extern void *create_winIVROverlayView_IVROverlayView_003_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_001(void *); +extern void *create_winIVROverlay_IVROverlay_001_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_002(void *); +extern void *create_winIVROverlay_IVROverlay_002_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_003(void *); +extern void *create_winIVROverlay_IVROverlay_003_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_004(void *); +extern void *create_winIVROverlay_IVROverlay_004_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_005(void *); +extern void *create_winIVROverlay_IVROverlay_005_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_007(void *); +extern void *create_winIVROverlay_IVROverlay_007_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_008(void *); +extern void *create_winIVROverlay_IVROverlay_008_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_010(void *); +extern void *create_winIVROverlay_IVROverlay_010_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_011(void *); +extern void *create_winIVROverlay_IVROverlay_011_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_012(void *); +extern void *create_winIVROverlay_IVROverlay_012_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_013(void *); +extern void *create_winIVROverlay_IVROverlay_013_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_014(void *); +extern void *create_winIVROverlay_IVROverlay_014_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_016(void *); +extern void *create_winIVROverlay_IVROverlay_016_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_017(void *); +extern void *create_winIVROverlay_IVROverlay_017_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_018(void *); +extern void *create_winIVROverlay_IVROverlay_018_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_019(void *); +extern void *create_winIVROverlay_IVROverlay_019_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_020(void *); +extern void *create_winIVROverlay_IVROverlay_020_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_021(void *); +extern void *create_winIVROverlay_IVROverlay_021_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_022(void *); +extern void *create_winIVROverlay_IVROverlay_022_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_024(void *); +extern void *create_winIVROverlay_IVROverlay_024_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_025(void *); +extern void *create_winIVROverlay_IVROverlay_025_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_026(void *); +extern void *create_winIVROverlay_IVROverlay_026_FnTable(void *); +extern void *create_winIVROverlay_IVROverlay_027(void *); +extern void *create_winIVROverlay_IVROverlay_027_FnTable(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_001(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_002(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_004(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_005(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_006(void *); +extern void *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); +extern void *create_winIVRResources_IVRResources_001(void *); +extern void *create_winIVRResources_IVRResources_001_FnTable(void *); +extern void *create_winIVRScreenshots_IVRScreenshots_001(void *); +extern void *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); +extern void *create_winIVRSettings_IVRSettings_001(void *); +extern void *create_winIVRSettings_IVRSettings_001_FnTable(void *); +extern void *create_winIVRSettings_IVRSettings_002(void *); +extern void *create_winIVRSettings_IVRSettings_002_FnTable(void *); +extern void *create_winIVRSettings_IVRSettings_003(void *); +extern void *create_winIVRSettings_IVRSettings_003_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_003(void *); +extern void *create_winIVRSystem_IVRSystem_003_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_004(void *); +extern void *create_winIVRSystem_IVRSystem_004_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_005(void *); +extern void *create_winIVRSystem_IVRSystem_005_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_006(void *); +extern void *create_winIVRSystem_IVRSystem_006_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_009(void *); +extern void *create_winIVRSystem_IVRSystem_009_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_010(void *); +extern void *create_winIVRSystem_IVRSystem_010_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_011(void *); +extern void *create_winIVRSystem_IVRSystem_011_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_012(void *); +extern void *create_winIVRSystem_IVRSystem_012_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_014(void *); +extern void *create_winIVRSystem_IVRSystem_014_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_015(void *); +extern void *create_winIVRSystem_IVRSystem_015_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_016(void *); +extern void *create_winIVRSystem_IVRSystem_016_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_017(void *); +extern void *create_winIVRSystem_IVRSystem_017_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_019(void *); +extern void *create_winIVRSystem_IVRSystem_019_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_020(void *); +extern void *create_winIVRSystem_IVRSystem_020_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_021(void *); +extern void *create_winIVRSystem_IVRSystem_021_FnTable(void *); +extern void *create_winIVRSystem_IVRSystem_022(void *); +extern void *create_winIVRSystem_IVRSystem_022_FnTable(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *); +extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); diff --git a/vrclient_x64/vrclient_x64/win_constructors_table.dat b/vrclient_x64/vrclient_x64/win_constructors_table.dat index 6005b432..bc016941 100644 --- a/vrclient_x64/vrclient_x64/win_constructors_table.dat +++ b/vrclient_x64/vrclient_x64/win_constructors_table.dat @@ -1,214 +1,214 @@ - {"IVRSystem_022", &create_winIVRSystem_IVRSystem_022, &destroy_winIVRSystem_IVRSystem_022}, - {"FnTable:IVRSystem_022", &create_winIVRSystem_IVRSystem_022_FnTable, &destroy_winIVRSystem_IVRSystem_022_FnTable}, - {"IVRApplications_007", &create_winIVRApplications_IVRApplications_007, &destroy_winIVRApplications_IVRApplications_007}, - {"FnTable:IVRApplications_007", &create_winIVRApplications_IVRApplications_007_FnTable, &destroy_winIVRApplications_IVRApplications_007_FnTable}, - {"IVRSettings_003", &create_winIVRSettings_IVRSettings_003, &destroy_winIVRSettings_IVRSettings_003}, - {"FnTable:IVRSettings_003", &create_winIVRSettings_IVRSettings_003_FnTable, &destroy_winIVRSettings_IVRSettings_003_FnTable}, - {"IVRChaperone_004", &create_winIVRChaperone_IVRChaperone_004, &destroy_winIVRChaperone_IVRChaperone_004}, - {"FnTable:IVRChaperone_004", &create_winIVRChaperone_IVRChaperone_004_FnTable, &destroy_winIVRChaperone_IVRChaperone_004_FnTable}, - {"IVRChaperoneSetup_006", &create_winIVRChaperoneSetup_IVRChaperoneSetup_006, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006}, - {"FnTable:IVRChaperoneSetup_006", &create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable}, - {"IVRCompositor_027", &create_winIVRCompositor_IVRCompositor_027, &destroy_winIVRCompositor_IVRCompositor_027}, - {"FnTable:IVRCompositor_027", &create_winIVRCompositor_IVRCompositor_027_FnTable, &destroy_winIVRCompositor_IVRCompositor_027_FnTable}, - {"IVRHeadsetView_001", &create_winIVRHeadsetView_IVRHeadsetView_001, &destroy_winIVRHeadsetView_IVRHeadsetView_001}, - {"FnTable:IVRHeadsetView_001", &create_winIVRHeadsetView_IVRHeadsetView_001_FnTable, &destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable}, - {"IVRNotifications_002", &create_winIVRNotifications_IVRNotifications_002, &destroy_winIVRNotifications_IVRNotifications_002}, - {"FnTable:IVRNotifications_002", &create_winIVRNotifications_IVRNotifications_002_FnTable, &destroy_winIVRNotifications_IVRNotifications_002_FnTable}, - {"IVROverlay_027", &create_winIVROverlay_IVROverlay_027, &destroy_winIVROverlay_IVROverlay_027}, - {"FnTable:IVROverlay_027", &create_winIVROverlay_IVROverlay_027_FnTable, &destroy_winIVROverlay_IVROverlay_027_FnTable}, - {"IVROverlayView_003", &create_winIVROverlayView_IVROverlayView_003, &destroy_winIVROverlayView_IVROverlayView_003}, - {"FnTable:IVROverlayView_003", &create_winIVROverlayView_IVROverlayView_003_FnTable, &destroy_winIVROverlayView_IVROverlayView_003_FnTable}, - {"IVRRenderModels_006", &create_winIVRRenderModels_IVRRenderModels_006, &destroy_winIVRRenderModels_IVRRenderModels_006}, - {"FnTable:IVRRenderModels_006", &create_winIVRRenderModels_IVRRenderModels_006_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_006_FnTable}, - {"IVRExtendedDisplay_001", &create_winIVRExtendedDisplay_IVRExtendedDisplay_001, &destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001}, - {"FnTable:IVRExtendedDisplay_001", &create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable, &destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable}, - {"IVRTrackedCamera_006", &create_winIVRTrackedCamera_IVRTrackedCamera_006, &destroy_winIVRTrackedCamera_IVRTrackedCamera_006}, - {"FnTable:IVRTrackedCamera_006", &create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable}, - {"IVRScreenshots_001", &create_winIVRScreenshots_IVRScreenshots_001, &destroy_winIVRScreenshots_IVRScreenshots_001}, - {"FnTable:IVRScreenshots_001", &create_winIVRScreenshots_IVRScreenshots_001_FnTable, &destroy_winIVRScreenshots_IVRScreenshots_001_FnTable}, - {"IVRResources_001", &create_winIVRResources_IVRResources_001, &destroy_winIVRResources_IVRResources_001}, - {"FnTable:IVRResources_001", &create_winIVRResources_IVRResources_001_FnTable, &destroy_winIVRResources_IVRResources_001_FnTable}, - {"IVRDriverManager_001", &create_winIVRDriverManager_IVRDriverManager_001, &destroy_winIVRDriverManager_IVRDriverManager_001}, - {"FnTable:IVRDriverManager_001", &create_winIVRDriverManager_IVRDriverManager_001_FnTable, &destroy_winIVRDriverManager_IVRDriverManager_001_FnTable}, - {"IVRInput_010", &create_winIVRInput_IVRInput_010, &destroy_winIVRInput_IVRInput_010}, - {"FnTable:IVRInput_010", &create_winIVRInput_IVRInput_010_FnTable, &destroy_winIVRInput_IVRInput_010_FnTable}, - {"IVRIOBuffer_002", &create_winIVRIOBuffer_IVRIOBuffer_002, &destroy_winIVRIOBuffer_IVRIOBuffer_002}, - {"FnTable:IVRIOBuffer_002", &create_winIVRIOBuffer_IVRIOBuffer_002_FnTable, &destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable}, - {"IVRClientCore_003", &create_winIVRClientCore_IVRClientCore_003, &destroy_winIVRClientCore_IVRClientCore_003}, - {"FnTable:IVRClientCore_003", &create_winIVRClientCore_IVRClientCore_003_FnTable, &destroy_winIVRClientCore_IVRClientCore_003_FnTable}, - {"IVROverlay_026", &create_winIVROverlay_IVROverlay_026, &destroy_winIVROverlay_IVROverlay_026}, - {"FnTable:IVROverlay_026", &create_winIVROverlay_IVROverlay_026_FnTable, &destroy_winIVROverlay_IVROverlay_026_FnTable}, - {"IVROverlay_025", &create_winIVROverlay_IVROverlay_025, &destroy_winIVROverlay_IVROverlay_025}, - {"FnTable:IVROverlay_025", &create_winIVROverlay_IVROverlay_025_FnTable, &destroy_winIVROverlay_IVROverlay_025_FnTable}, - {"IVRCompositor_026", &create_winIVRCompositor_IVRCompositor_026, &destroy_winIVRCompositor_IVRCompositor_026}, - {"FnTable:IVRCompositor_026", &create_winIVRCompositor_IVRCompositor_026_FnTable, &destroy_winIVRCompositor_IVRCompositor_026_FnTable}, - {"IVROverlay_024", &create_winIVROverlay_IVROverlay_024, &destroy_winIVROverlay_IVROverlay_024}, - {"FnTable:IVROverlay_024", &create_winIVROverlay_IVROverlay_024_FnTable, &destroy_winIVROverlay_IVROverlay_024_FnTable}, - {"IVRSystem_021", &create_winIVRSystem_IVRSystem_021, &destroy_winIVRSystem_IVRSystem_021}, - {"FnTable:IVRSystem_021", &create_winIVRSystem_IVRSystem_021_FnTable, &destroy_winIVRSystem_IVRSystem_021_FnTable}, - {"IVRChaperone_003", &create_winIVRChaperone_IVRChaperone_003, &destroy_winIVRChaperone_IVRChaperone_003}, - {"FnTable:IVRChaperone_003", &create_winIVRChaperone_IVRChaperone_003_FnTable, &destroy_winIVRChaperone_IVRChaperone_003_FnTable}, - {"IVRControlPanel_006", &create_winIVRControlPanel_IVRControlPanel_006, &destroy_winIVRControlPanel_IVRControlPanel_006}, - {"FnTable:IVRControlPanel_006", &create_winIVRControlPanel_IVRControlPanel_006_FnTable, &destroy_winIVRControlPanel_IVRControlPanel_006_FnTable}, - {"IVRMailbox_001", &create_winIVRMailbox_IVRMailbox_001, &destroy_winIVRMailbox_IVRMailbox_001}, - {"FnTable:IVRMailbox_001", &create_winIVRMailbox_IVRMailbox_001_FnTable, &destroy_winIVRMailbox_IVRMailbox_001_FnTable}, - {"IVRCompositor_024", &create_winIVRCompositor_IVRCompositor_024, &destroy_winIVRCompositor_IVRCompositor_024}, - {"FnTable:IVRCompositor_024", &create_winIVRCompositor_IVRCompositor_024_FnTable, &destroy_winIVRCompositor_IVRCompositor_024_FnTable}, - {"IVROverlay_022", &create_winIVROverlay_IVROverlay_022, &destroy_winIVROverlay_IVROverlay_022}, - {"FnTable:IVROverlay_022", &create_winIVROverlay_IVROverlay_022_FnTable, &destroy_winIVROverlay_IVROverlay_022_FnTable}, - {"IVRInput_007", &create_winIVRInput_IVRInput_007, &destroy_winIVRInput_IVRInput_007}, - {"FnTable:IVRInput_007", &create_winIVRInput_IVRInput_007_FnTable, &destroy_winIVRInput_IVRInput_007_FnTable}, - {"IVRSettings_002", &create_winIVRSettings_IVRSettings_002, &destroy_winIVRSettings_IVRSettings_002}, - {"FnTable:IVRSettings_002", &create_winIVRSettings_IVRSettings_002_FnTable, &destroy_winIVRSettings_IVRSettings_002_FnTable}, - {"IVRCompositor_022", &create_winIVRCompositor_IVRCompositor_022, &destroy_winIVRCompositor_IVRCompositor_022}, - {"FnTable:IVRCompositor_022", &create_winIVRCompositor_IVRCompositor_022_FnTable, &destroy_winIVRCompositor_IVRCompositor_022_FnTable}, - {"IVROverlay_021", &create_winIVROverlay_IVROverlay_021, &destroy_winIVROverlay_IVROverlay_021}, - {"FnTable:IVROverlay_021", &create_winIVROverlay_IVROverlay_021_FnTable, &destroy_winIVROverlay_IVROverlay_021_FnTable}, - {"IVRSystem_020", &create_winIVRSystem_IVRSystem_020, &destroy_winIVRSystem_IVRSystem_020}, - {"FnTable:IVRSystem_020", &create_winIVRSystem_IVRSystem_020_FnTable, &destroy_winIVRSystem_IVRSystem_020_FnTable}, - {"IVRApplications_006", &create_winIVRApplications_IVRApplications_006, &destroy_winIVRApplications_IVRApplications_006}, - {"FnTable:IVRApplications_006", &create_winIVRApplications_IVRApplications_006_FnTable, &destroy_winIVRApplications_IVRApplications_006_FnTable}, - {"IVROverlay_020", &create_winIVROverlay_IVROverlay_020, &destroy_winIVROverlay_IVROverlay_020}, - {"FnTable:IVROverlay_020", &create_winIVROverlay_IVROverlay_020_FnTable, &destroy_winIVROverlay_IVROverlay_020_FnTable}, - {"IVROverlay_019", &create_winIVROverlay_IVROverlay_019, &destroy_winIVROverlay_IVROverlay_019}, - {"FnTable:IVROverlay_019", &create_winIVROverlay_IVROverlay_019_FnTable, &destroy_winIVROverlay_IVROverlay_019_FnTable}, - {"IVRTrackedCamera_005", &create_winIVRTrackedCamera_IVRTrackedCamera_005, &destroy_winIVRTrackedCamera_IVRTrackedCamera_005}, - {"FnTable:IVRTrackedCamera_005", &create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable}, - {"IVRSystem_019", &create_winIVRSystem_IVRSystem_019, &destroy_winIVRSystem_IVRSystem_019}, - {"FnTable:IVRSystem_019", &create_winIVRSystem_IVRSystem_019_FnTable, &destroy_winIVRSystem_IVRSystem_019_FnTable}, - {"IVRInput_006", &create_winIVRInput_IVRInput_006, &destroy_winIVRInput_IVRInput_006}, - {"FnTable:IVRInput_006", &create_winIVRInput_IVRInput_006_FnTable, &destroy_winIVRInput_IVRInput_006_FnTable}, - {"IVRInput_005", &create_winIVRInput_IVRInput_005, &destroy_winIVRInput_IVRInput_005}, - {"FnTable:IVRInput_005", &create_winIVRInput_IVRInput_005_FnTable, &destroy_winIVRInput_IVRInput_005_FnTable}, - {"IVRIOBuffer_001", &create_winIVRIOBuffer_IVRIOBuffer_001, &destroy_winIVRIOBuffer_IVRIOBuffer_001}, - {"FnTable:IVRIOBuffer_001", &create_winIVRIOBuffer_IVRIOBuffer_001_FnTable, &destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable}, - {"IVRChaperoneSetup_005", &create_winIVRChaperoneSetup_IVRChaperoneSetup_005, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005}, - {"FnTable:IVRChaperoneSetup_005", &create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable}, - {"IVROverlay_018", &create_winIVROverlay_IVROverlay_018, &destroy_winIVROverlay_IVROverlay_018}, - {"FnTable:IVROverlay_018", &create_winIVROverlay_IVROverlay_018_FnTable, &destroy_winIVROverlay_IVROverlay_018_FnTable}, - {"IVRTrackedCamera_004", &create_winIVRTrackedCamera_IVRTrackedCamera_004, &destroy_winIVRTrackedCamera_IVRTrackedCamera_004}, - {"FnTable:IVRTrackedCamera_004", &create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable}, - {"IVRInput_004", &create_winIVRInput_IVRInput_004, &destroy_winIVRInput_IVRInput_004}, - {"FnTable:IVRInput_004", &create_winIVRInput_IVRInput_004_FnTable, &destroy_winIVRInput_IVRInput_004_FnTable}, - {"IVRTrackedCamera_003", &create_winIVRTrackedCamera_IVRTrackedCamera_003, &destroy_winIVRTrackedCamera_IVRTrackedCamera_003}, - {"FnTable:IVRTrackedCamera_003", &create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable}, - {"IVRRenderModels_005", &create_winIVRRenderModels_IVRRenderModels_005, &destroy_winIVRRenderModels_IVRRenderModels_005}, - {"FnTable:IVRRenderModels_005", &create_winIVRRenderModels_IVRRenderModels_005_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_005_FnTable}, - {"IVRInput_003", &create_winIVRInput_IVRInput_003, &destroy_winIVRInput_IVRInput_003}, - {"FnTable:IVRInput_003", &create_winIVRInput_IVRInput_003_FnTable, &destroy_winIVRInput_IVRInput_003_FnTable}, - {"IVRSystem_017", &create_winIVRSystem_IVRSystem_017, &destroy_winIVRSystem_IVRSystem_017}, - {"FnTable:IVRSystem_017", &create_winIVRSystem_IVRSystem_017_FnTable, &destroy_winIVRSystem_IVRSystem_017_FnTable}, - {"IVROverlay_017", &create_winIVROverlay_IVROverlay_017, &destroy_winIVROverlay_IVROverlay_017}, - {"FnTable:IVROverlay_017", &create_winIVROverlay_IVROverlay_017_FnTable, &destroy_winIVROverlay_IVROverlay_017_FnTable}, - {"IVRCompositor_021", &create_winIVRCompositor_IVRCompositor_021, &destroy_winIVRCompositor_IVRCompositor_021}, - {"FnTable:IVRCompositor_021", &create_winIVRCompositor_IVRCompositor_021_FnTable, &destroy_winIVRCompositor_IVRCompositor_021_FnTable}, - {"IVROverlay_016", &create_winIVROverlay_IVROverlay_016, &destroy_winIVROverlay_IVROverlay_016}, - {"FnTable:IVROverlay_016", &create_winIVROverlay_IVROverlay_016_FnTable, &destroy_winIVROverlay_IVROverlay_016_FnTable}, - {"IVRSystem_016", &create_winIVRSystem_IVRSystem_016, &destroy_winIVRSystem_IVRSystem_016}, - {"FnTable:IVRSystem_016", &create_winIVRSystem_IVRSystem_016_FnTable, &destroy_winIVRSystem_IVRSystem_016_FnTable}, - {"IVRCompositor_020", &create_winIVRCompositor_IVRCompositor_020, &destroy_winIVRCompositor_IVRCompositor_020}, - {"FnTable:IVRCompositor_020", &create_winIVRCompositor_IVRCompositor_020_FnTable, &destroy_winIVRCompositor_IVRCompositor_020_FnTable}, - {"IVRClientCore_002", &create_winIVRClientCore_IVRClientCore_002, &destroy_winIVRClientCore_IVRClientCore_002}, - {"FnTable:IVRClientCore_002", &create_winIVRClientCore_IVRClientCore_002_FnTable, &destroy_winIVRClientCore_IVRClientCore_002_FnTable}, - {"IVRSystem_015", &create_winIVRSystem_IVRSystem_015, &destroy_winIVRSystem_IVRSystem_015}, - {"FnTable:IVRSystem_015", &create_winIVRSystem_IVRSystem_015_FnTable, &destroy_winIVRSystem_IVRSystem_015_FnTable}, - {"IVROverlay_014", &create_winIVROverlay_IVROverlay_014, &destroy_winIVROverlay_IVROverlay_014}, - {"FnTable:IVROverlay_014", &create_winIVROverlay_IVROverlay_014_FnTable, &destroy_winIVROverlay_IVROverlay_014_FnTable}, - {"IVRCompositor_019", &create_winIVRCompositor_IVRCompositor_019, &destroy_winIVRCompositor_IVRCompositor_019}, - {"FnTable:IVRCompositor_019", &create_winIVRCompositor_IVRCompositor_019_FnTable, &destroy_winIVRCompositor_IVRCompositor_019_FnTable}, - {"IVRSystem_014", &create_winIVRSystem_IVRSystem_014, &destroy_winIVRSystem_IVRSystem_014}, - {"FnTable:IVRSystem_014", &create_winIVRSystem_IVRSystem_014_FnTable, &destroy_winIVRSystem_IVRSystem_014_FnTable}, - {"IVRCompositor_018", &create_winIVRCompositor_IVRCompositor_018, &destroy_winIVRCompositor_IVRCompositor_018}, - {"FnTable:IVRCompositor_018", &create_winIVRCompositor_IVRCompositor_018_FnTable, &destroy_winIVRCompositor_IVRCompositor_018_FnTable}, - {"IVROverlay_013", &create_winIVROverlay_IVROverlay_013, &destroy_winIVROverlay_IVROverlay_013}, - {"FnTable:IVROverlay_013", &create_winIVROverlay_IVROverlay_013_FnTable, &destroy_winIVROverlay_IVROverlay_013_FnTable}, - {"IVRCompositor_017", &create_winIVRCompositor_IVRCompositor_017, &destroy_winIVRCompositor_IVRCompositor_017}, - {"FnTable:IVRCompositor_017", &create_winIVRCompositor_IVRCompositor_017_FnTable, &destroy_winIVRCompositor_IVRCompositor_017_FnTable}, - {"IVRSystem_012", &create_winIVRSystem_IVRSystem_012, &destroy_winIVRSystem_IVRSystem_012}, - {"FnTable:IVRSystem_012", &create_winIVRSystem_IVRSystem_012_FnTable, &destroy_winIVRSystem_IVRSystem_012_FnTable}, - {"IVRCompositor_016", &create_winIVRCompositor_IVRCompositor_016, &destroy_winIVRCompositor_IVRCompositor_016}, - {"FnTable:IVRCompositor_016", &create_winIVRCompositor_IVRCompositor_016_FnTable, &destroy_winIVRCompositor_IVRCompositor_016_FnTable}, - {"IVRSettings_001", &create_winIVRSettings_IVRSettings_001, &destroy_winIVRSettings_IVRSettings_001}, - {"FnTable:IVRSettings_001", &create_winIVRSettings_IVRSettings_001_FnTable, &destroy_winIVRSettings_IVRSettings_001_FnTable}, - {"IVRApplications_005", &create_winIVRApplications_IVRApplications_005, &destroy_winIVRApplications_IVRApplications_005}, - {"FnTable:IVRApplications_005", &create_winIVRApplications_IVRApplications_005_FnTable, &destroy_winIVRApplications_IVRApplications_005_FnTable}, - {"IVRCompositor_015", &create_winIVRCompositor_IVRCompositor_015, &destroy_winIVRCompositor_IVRCompositor_015}, - {"FnTable:IVRCompositor_015", &create_winIVRCompositor_IVRCompositor_015_FnTable, &destroy_winIVRCompositor_IVRCompositor_015_FnTable}, - {"IVROverlay_012", &create_winIVROverlay_IVROverlay_012, &destroy_winIVROverlay_IVROverlay_012}, - {"FnTable:IVROverlay_012", &create_winIVROverlay_IVROverlay_012_FnTable, &destroy_winIVROverlay_IVROverlay_012_FnTable}, - {"IVRTrackedCamera_002", &create_winIVRTrackedCamera_IVRTrackedCamera_002, &destroy_winIVRTrackedCamera_IVRTrackedCamera_002}, - {"FnTable:IVRTrackedCamera_002", &create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable}, - {"IVRCompositor_014", &create_winIVRCompositor_IVRCompositor_014, &destroy_winIVRCompositor_IVRCompositor_014}, - {"FnTable:IVRCompositor_014", &create_winIVRCompositor_IVRCompositor_014_FnTable, &destroy_winIVRCompositor_IVRCompositor_014_FnTable}, - {"IVROverlay_011", &create_winIVROverlay_IVROverlay_011, &destroy_winIVROverlay_IVROverlay_011}, - {"FnTable:IVROverlay_011", &create_winIVROverlay_IVROverlay_011_FnTable, &destroy_winIVROverlay_IVROverlay_011_FnTable}, - {"IVRCompositor_013", &create_winIVRCompositor_IVRCompositor_013, &destroy_winIVRCompositor_IVRCompositor_013}, - {"FnTable:IVRCompositor_013", &create_winIVRCompositor_IVRCompositor_013_FnTable, &destroy_winIVRCompositor_IVRCompositor_013_FnTable}, - {"IVRSystem_011", &create_winIVRSystem_IVRSystem_011, &destroy_winIVRSystem_IVRSystem_011}, - {"FnTable:IVRSystem_011", &create_winIVRSystem_IVRSystem_011_FnTable, &destroy_winIVRSystem_IVRSystem_011_FnTable}, - {"IVRApplications_004", &create_winIVRApplications_IVRApplications_004, &destroy_winIVRApplications_IVRApplications_004}, - {"FnTable:IVRApplications_004", &create_winIVRApplications_IVRApplications_004_FnTable, &destroy_winIVRApplications_IVRApplications_004_FnTable}, - {"IVROverlay_010", &create_winIVROverlay_IVROverlay_010, &destroy_winIVROverlay_IVROverlay_010}, - {"FnTable:IVROverlay_010", &create_winIVROverlay_IVROverlay_010_FnTable, &destroy_winIVROverlay_IVROverlay_010_FnTable}, - {"IVRRenderModels_004", &create_winIVRRenderModels_IVRRenderModels_004, &destroy_winIVRRenderModels_IVRRenderModels_004}, - {"FnTable:IVRRenderModels_004", &create_winIVRRenderModels_IVRRenderModels_004_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_004_FnTable}, - {"IVRCompositor_012", &create_winIVRCompositor_IVRCompositor_012, &destroy_winIVRCompositor_IVRCompositor_012}, - {"FnTable:IVRCompositor_012", &create_winIVRCompositor_IVRCompositor_012_FnTable, &destroy_winIVRCompositor_IVRCompositor_012_FnTable}, - {"IVRApplications_003", &create_winIVRApplications_IVRApplications_003, &destroy_winIVRApplications_IVRApplications_003}, - {"FnTable:IVRApplications_003", &create_winIVRApplications_IVRApplications_003_FnTable, &destroy_winIVRApplications_IVRApplications_003_FnTable}, - {"IVRCompositor_011", &create_winIVRCompositor_IVRCompositor_011, &destroy_winIVRCompositor_IVRCompositor_011}, - {"FnTable:IVRCompositor_011", &create_winIVRCompositor_IVRCompositor_011_FnTable, &destroy_winIVRCompositor_IVRCompositor_011_FnTable}, - {"IVRRenderModels_002", &create_winIVRRenderModels_IVRRenderModels_002, &destroy_winIVRRenderModels_IVRRenderModels_002}, - {"FnTable:IVRRenderModels_002", &create_winIVRRenderModels_IVRRenderModels_002_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_002_FnTable}, - {"IVRSystem_010", &create_winIVRSystem_IVRSystem_010, &destroy_winIVRSystem_IVRSystem_010}, - {"FnTable:IVRSystem_010", &create_winIVRSystem_IVRSystem_010_FnTable, &destroy_winIVRSystem_IVRSystem_010_FnTable}, - {"IVRApplications_002", &create_winIVRApplications_IVRApplications_002, &destroy_winIVRApplications_IVRApplications_002}, - {"FnTable:IVRApplications_002", &create_winIVRApplications_IVRApplications_002_FnTable, &destroy_winIVRApplications_IVRApplications_002_FnTable}, - {"IVRChaperoneSetup_004", &create_winIVRChaperoneSetup_IVRChaperoneSetup_004, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004}, - {"FnTable:IVRChaperoneSetup_004", &create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable}, - {"IVRCompositor_010", &create_winIVRCompositor_IVRCompositor_010, &destroy_winIVRCompositor_IVRCompositor_010}, - {"FnTable:IVRCompositor_010", &create_winIVRCompositor_IVRCompositor_010_FnTable, &destroy_winIVRCompositor_IVRCompositor_010_FnTable}, - {"IVROverlay_008", &create_winIVROverlay_IVROverlay_008, &destroy_winIVROverlay_IVROverlay_008}, - {"FnTable:IVROverlay_008", &create_winIVROverlay_IVROverlay_008_FnTable, &destroy_winIVROverlay_IVROverlay_008_FnTable}, - {"IVRTrackedCamera_001", &create_winIVRTrackedCamera_IVRTrackedCamera_001, &destroy_winIVRTrackedCamera_IVRTrackedCamera_001}, - {"FnTable:IVRTrackedCamera_001", &create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable}, - {"IVRCompositor_009", &create_winIVRCompositor_IVRCompositor_009, &destroy_winIVRCompositor_IVRCompositor_009}, - {"FnTable:IVRCompositor_009", &create_winIVRCompositor_IVRCompositor_009_FnTable, &destroy_winIVRCompositor_IVRCompositor_009_FnTable}, - {"IVRSystem_009", &create_winIVRSystem_IVRSystem_009, &destroy_winIVRSystem_IVRSystem_009}, - {"FnTable:IVRSystem_009", &create_winIVRSystem_IVRSystem_009_FnTable, &destroy_winIVRSystem_IVRSystem_009_FnTable}, - {"IVROverlay_007", &create_winIVROverlay_IVROverlay_007, &destroy_winIVROverlay_IVROverlay_007}, - {"FnTable:IVROverlay_007", &create_winIVROverlay_IVROverlay_007_FnTable, &destroy_winIVROverlay_IVROverlay_007_FnTable}, - {"IVRSystem_006", &create_winIVRSystem_IVRSystem_006, &destroy_winIVRSystem_IVRSystem_006}, - {"FnTable:IVRSystem_006", &create_winIVRSystem_IVRSystem_006_FnTable, &destroy_winIVRSystem_IVRSystem_006_FnTable}, {"IVRApplications_001", &create_winIVRApplications_IVRApplications_001, &destroy_winIVRApplications_IVRApplications_001}, {"FnTable:IVRApplications_001", &create_winIVRApplications_IVRApplications_001_FnTable, &destroy_winIVRApplications_IVRApplications_001_FnTable}, + {"IVRApplications_002", &create_winIVRApplications_IVRApplications_002, &destroy_winIVRApplications_IVRApplications_002}, + {"FnTable:IVRApplications_002", &create_winIVRApplications_IVRApplications_002_FnTable, &destroy_winIVRApplications_IVRApplications_002_FnTable}, + {"IVRApplications_003", &create_winIVRApplications_IVRApplications_003, &destroy_winIVRApplications_IVRApplications_003}, + {"FnTable:IVRApplications_003", &create_winIVRApplications_IVRApplications_003_FnTable, &destroy_winIVRApplications_IVRApplications_003_FnTable}, + {"IVRApplications_004", &create_winIVRApplications_IVRApplications_004, &destroy_winIVRApplications_IVRApplications_004}, + {"FnTable:IVRApplications_004", &create_winIVRApplications_IVRApplications_004_FnTable, &destroy_winIVRApplications_IVRApplications_004_FnTable}, + {"IVRApplications_005", &create_winIVRApplications_IVRApplications_005, &destroy_winIVRApplications_IVRApplications_005}, + {"FnTable:IVRApplications_005", &create_winIVRApplications_IVRApplications_005_FnTable, &destroy_winIVRApplications_IVRApplications_005_FnTable}, + {"IVRApplications_006", &create_winIVRApplications_IVRApplications_006, &destroy_winIVRApplications_IVRApplications_006}, + {"FnTable:IVRApplications_006", &create_winIVRApplications_IVRApplications_006_FnTable, &destroy_winIVRApplications_IVRApplications_006_FnTable}, + {"IVRApplications_007", &create_winIVRApplications_IVRApplications_007, &destroy_winIVRApplications_IVRApplications_007}, + {"FnTable:IVRApplications_007", &create_winIVRApplications_IVRApplications_007_FnTable, &destroy_winIVRApplications_IVRApplications_007_FnTable}, + {"IVRChaperoneSetup_004", &create_winIVRChaperoneSetup_IVRChaperoneSetup_004, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004}, + {"FnTable:IVRChaperoneSetup_004", &create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable}, + {"IVRChaperoneSetup_005", &create_winIVRChaperoneSetup_IVRChaperoneSetup_005, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005}, + {"FnTable:IVRChaperoneSetup_005", &create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable}, + {"IVRChaperoneSetup_006", &create_winIVRChaperoneSetup_IVRChaperoneSetup_006, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006}, + {"FnTable:IVRChaperoneSetup_006", &create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable}, {"IVRChaperone_002", &create_winIVRChaperone_IVRChaperone_002, &destroy_winIVRChaperone_IVRChaperone_002}, {"FnTable:IVRChaperone_002", &create_winIVRChaperone_IVRChaperone_002_FnTable, &destroy_winIVRChaperone_IVRChaperone_002_FnTable}, - {"IVRCompositor_008", &create_winIVRCompositor_IVRCompositor_008, &destroy_winIVRCompositor_IVRCompositor_008}, - {"FnTable:IVRCompositor_008", &create_winIVRCompositor_IVRCompositor_008_FnTable, &destroy_winIVRCompositor_IVRCompositor_008_FnTable}, - {"IVRNotifications_001", &create_winIVRNotifications_IVRNotifications_001, &destroy_winIVRNotifications_IVRNotifications_001}, - {"FnTable:IVRNotifications_001", &create_winIVRNotifications_IVRNotifications_001_FnTable, &destroy_winIVRNotifications_IVRNotifications_001_FnTable}, - {"IVROverlay_005", &create_winIVROverlay_IVROverlay_005, &destroy_winIVROverlay_IVROverlay_005}, - {"FnTable:IVROverlay_005", &create_winIVROverlay_IVROverlay_005_FnTable, &destroy_winIVROverlay_IVROverlay_005_FnTable}, - {"IVRRenderModels_001", &create_winIVRRenderModels_IVRRenderModels_001, &destroy_winIVRRenderModels_IVRRenderModels_001}, - {"FnTable:IVRRenderModels_001", &create_winIVRRenderModels_IVRRenderModels_001_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_001_FnTable}, - {"IVRSystem_005", &create_winIVRSystem_IVRSystem_005, &destroy_winIVRSystem_IVRSystem_005}, - {"FnTable:IVRSystem_005", &create_winIVRSystem_IVRSystem_005_FnTable, &destroy_winIVRSystem_IVRSystem_005_FnTable}, - {"IVRCompositor_007", &create_winIVRCompositor_IVRCompositor_007, &destroy_winIVRCompositor_IVRCompositor_007}, - {"FnTable:IVRCompositor_007", &create_winIVRCompositor_IVRCompositor_007_FnTable, &destroy_winIVRCompositor_IVRCompositor_007_FnTable}, - {"IVROverlay_004", &create_winIVROverlay_IVROverlay_004, &destroy_winIVROverlay_IVROverlay_004}, - {"FnTable:IVROverlay_004", &create_winIVROverlay_IVROverlay_004_FnTable, &destroy_winIVROverlay_IVROverlay_004_FnTable}, - {"IVROverlay_003", &create_winIVROverlay_IVROverlay_003, &destroy_winIVROverlay_IVROverlay_003}, - {"FnTable:IVROverlay_003", &create_winIVROverlay_IVROverlay_003_FnTable, &destroy_winIVROverlay_IVROverlay_003_FnTable}, - {"IVROverlay_002", &create_winIVROverlay_IVROverlay_002, &destroy_winIVROverlay_IVROverlay_002}, - {"FnTable:IVROverlay_002", &create_winIVROverlay_IVROverlay_002_FnTable, &destroy_winIVROverlay_IVROverlay_002_FnTable}, - {"IVRSystem_004", &create_winIVRSystem_IVRSystem_004, &destroy_winIVRSystem_IVRSystem_004}, - {"FnTable:IVRSystem_004", &create_winIVRSystem_IVRSystem_004_FnTable, &destroy_winIVRSystem_IVRSystem_004_FnTable}, - {"IVRCompositor_006", &create_winIVRCompositor_IVRCompositor_006, &destroy_winIVRCompositor_IVRCompositor_006}, - {"FnTable:IVRCompositor_006", &create_winIVRCompositor_IVRCompositor_006_FnTable, &destroy_winIVRCompositor_IVRCompositor_006_FnTable}, - {"IVROverlay_001", &create_winIVROverlay_IVROverlay_001, &destroy_winIVROverlay_IVROverlay_001}, - {"FnTable:IVROverlay_001", &create_winIVROverlay_IVROverlay_001_FnTable, &destroy_winIVROverlay_IVROverlay_001_FnTable}, - {"IVRSystem_003", &create_winIVRSystem_IVRSystem_003, &destroy_winIVRSystem_IVRSystem_003}, - {"FnTable:IVRSystem_003", &create_winIVRSystem_IVRSystem_003_FnTable, &destroy_winIVRSystem_IVRSystem_003_FnTable}, + {"IVRChaperone_003", &create_winIVRChaperone_IVRChaperone_003, &destroy_winIVRChaperone_IVRChaperone_003}, + {"FnTable:IVRChaperone_003", &create_winIVRChaperone_IVRChaperone_003_FnTable, &destroy_winIVRChaperone_IVRChaperone_003_FnTable}, + {"IVRChaperone_004", &create_winIVRChaperone_IVRChaperone_004, &destroy_winIVRChaperone_IVRChaperone_004}, + {"FnTable:IVRChaperone_004", &create_winIVRChaperone_IVRChaperone_004_FnTable, &destroy_winIVRChaperone_IVRChaperone_004_FnTable}, + {"IVRClientCore_002", &create_winIVRClientCore_IVRClientCore_002, &destroy_winIVRClientCore_IVRClientCore_002}, + {"FnTable:IVRClientCore_002", &create_winIVRClientCore_IVRClientCore_002_FnTable, &destroy_winIVRClientCore_IVRClientCore_002_FnTable}, + {"IVRClientCore_003", &create_winIVRClientCore_IVRClientCore_003, &destroy_winIVRClientCore_IVRClientCore_003}, + {"FnTable:IVRClientCore_003", &create_winIVRClientCore_IVRClientCore_003_FnTable, &destroy_winIVRClientCore_IVRClientCore_003_FnTable}, {"IVRCompositor_005", &create_winIVRCompositor_IVRCompositor_005, &destroy_winIVRCompositor_IVRCompositor_005}, {"FnTable:IVRCompositor_005", &create_winIVRCompositor_IVRCompositor_005_FnTable, &destroy_winIVRCompositor_IVRCompositor_005_FnTable}, + {"IVRCompositor_006", &create_winIVRCompositor_IVRCompositor_006, &destroy_winIVRCompositor_IVRCompositor_006}, + {"FnTable:IVRCompositor_006", &create_winIVRCompositor_IVRCompositor_006_FnTable, &destroy_winIVRCompositor_IVRCompositor_006_FnTable}, + {"IVRCompositor_007", &create_winIVRCompositor_IVRCompositor_007, &destroy_winIVRCompositor_IVRCompositor_007}, + {"FnTable:IVRCompositor_007", &create_winIVRCompositor_IVRCompositor_007_FnTable, &destroy_winIVRCompositor_IVRCompositor_007_FnTable}, + {"IVRCompositor_008", &create_winIVRCompositor_IVRCompositor_008, &destroy_winIVRCompositor_IVRCompositor_008}, + {"FnTable:IVRCompositor_008", &create_winIVRCompositor_IVRCompositor_008_FnTable, &destroy_winIVRCompositor_IVRCompositor_008_FnTable}, + {"IVRCompositor_009", &create_winIVRCompositor_IVRCompositor_009, &destroy_winIVRCompositor_IVRCompositor_009}, + {"FnTable:IVRCompositor_009", &create_winIVRCompositor_IVRCompositor_009_FnTable, &destroy_winIVRCompositor_IVRCompositor_009_FnTable}, + {"IVRCompositor_010", &create_winIVRCompositor_IVRCompositor_010, &destroy_winIVRCompositor_IVRCompositor_010}, + {"FnTable:IVRCompositor_010", &create_winIVRCompositor_IVRCompositor_010_FnTable, &destroy_winIVRCompositor_IVRCompositor_010_FnTable}, + {"IVRCompositor_011", &create_winIVRCompositor_IVRCompositor_011, &destroy_winIVRCompositor_IVRCompositor_011}, + {"FnTable:IVRCompositor_011", &create_winIVRCompositor_IVRCompositor_011_FnTable, &destroy_winIVRCompositor_IVRCompositor_011_FnTable}, + {"IVRCompositor_012", &create_winIVRCompositor_IVRCompositor_012, &destroy_winIVRCompositor_IVRCompositor_012}, + {"FnTable:IVRCompositor_012", &create_winIVRCompositor_IVRCompositor_012_FnTable, &destroy_winIVRCompositor_IVRCompositor_012_FnTable}, + {"IVRCompositor_013", &create_winIVRCompositor_IVRCompositor_013, &destroy_winIVRCompositor_IVRCompositor_013}, + {"FnTable:IVRCompositor_013", &create_winIVRCompositor_IVRCompositor_013_FnTable, &destroy_winIVRCompositor_IVRCompositor_013_FnTable}, + {"IVRCompositor_014", &create_winIVRCompositor_IVRCompositor_014, &destroy_winIVRCompositor_IVRCompositor_014}, + {"FnTable:IVRCompositor_014", &create_winIVRCompositor_IVRCompositor_014_FnTable, &destroy_winIVRCompositor_IVRCompositor_014_FnTable}, + {"IVRCompositor_015", &create_winIVRCompositor_IVRCompositor_015, &destroy_winIVRCompositor_IVRCompositor_015}, + {"FnTable:IVRCompositor_015", &create_winIVRCompositor_IVRCompositor_015_FnTable, &destroy_winIVRCompositor_IVRCompositor_015_FnTable}, + {"IVRCompositor_016", &create_winIVRCompositor_IVRCompositor_016, &destroy_winIVRCompositor_IVRCompositor_016}, + {"FnTable:IVRCompositor_016", &create_winIVRCompositor_IVRCompositor_016_FnTable, &destroy_winIVRCompositor_IVRCompositor_016_FnTable}, + {"IVRCompositor_017", &create_winIVRCompositor_IVRCompositor_017, &destroy_winIVRCompositor_IVRCompositor_017}, + {"FnTable:IVRCompositor_017", &create_winIVRCompositor_IVRCompositor_017_FnTable, &destroy_winIVRCompositor_IVRCompositor_017_FnTable}, + {"IVRCompositor_018", &create_winIVRCompositor_IVRCompositor_018, &destroy_winIVRCompositor_IVRCompositor_018}, + {"FnTable:IVRCompositor_018", &create_winIVRCompositor_IVRCompositor_018_FnTable, &destroy_winIVRCompositor_IVRCompositor_018_FnTable}, + {"IVRCompositor_019", &create_winIVRCompositor_IVRCompositor_019, &destroy_winIVRCompositor_IVRCompositor_019}, + {"FnTable:IVRCompositor_019", &create_winIVRCompositor_IVRCompositor_019_FnTable, &destroy_winIVRCompositor_IVRCompositor_019_FnTable}, + {"IVRCompositor_020", &create_winIVRCompositor_IVRCompositor_020, &destroy_winIVRCompositor_IVRCompositor_020}, + {"FnTable:IVRCompositor_020", &create_winIVRCompositor_IVRCompositor_020_FnTable, &destroy_winIVRCompositor_IVRCompositor_020_FnTable}, + {"IVRCompositor_021", &create_winIVRCompositor_IVRCompositor_021, &destroy_winIVRCompositor_IVRCompositor_021}, + {"FnTable:IVRCompositor_021", &create_winIVRCompositor_IVRCompositor_021_FnTable, &destroy_winIVRCompositor_IVRCompositor_021_FnTable}, + {"IVRCompositor_022", &create_winIVRCompositor_IVRCompositor_022, &destroy_winIVRCompositor_IVRCompositor_022}, + {"FnTable:IVRCompositor_022", &create_winIVRCompositor_IVRCompositor_022_FnTable, &destroy_winIVRCompositor_IVRCompositor_022_FnTable}, + {"IVRCompositor_024", &create_winIVRCompositor_IVRCompositor_024, &destroy_winIVRCompositor_IVRCompositor_024}, + {"FnTable:IVRCompositor_024", &create_winIVRCompositor_IVRCompositor_024_FnTable, &destroy_winIVRCompositor_IVRCompositor_024_FnTable}, + {"IVRCompositor_026", &create_winIVRCompositor_IVRCompositor_026, &destroy_winIVRCompositor_IVRCompositor_026}, + {"FnTable:IVRCompositor_026", &create_winIVRCompositor_IVRCompositor_026_FnTable, &destroy_winIVRCompositor_IVRCompositor_026_FnTable}, + {"IVRCompositor_027", &create_winIVRCompositor_IVRCompositor_027, &destroy_winIVRCompositor_IVRCompositor_027}, + {"FnTable:IVRCompositor_027", &create_winIVRCompositor_IVRCompositor_027_FnTable, &destroy_winIVRCompositor_IVRCompositor_027_FnTable}, + {"IVRControlPanel_006", &create_winIVRControlPanel_IVRControlPanel_006, &destroy_winIVRControlPanel_IVRControlPanel_006}, + {"FnTable:IVRControlPanel_006", &create_winIVRControlPanel_IVRControlPanel_006_FnTable, &destroy_winIVRControlPanel_IVRControlPanel_006_FnTable}, + {"IVRDriverManager_001", &create_winIVRDriverManager_IVRDriverManager_001, &destroy_winIVRDriverManager_IVRDriverManager_001}, + {"FnTable:IVRDriverManager_001", &create_winIVRDriverManager_IVRDriverManager_001_FnTable, &destroy_winIVRDriverManager_IVRDriverManager_001_FnTable}, + {"IVRExtendedDisplay_001", &create_winIVRExtendedDisplay_IVRExtendedDisplay_001, &destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001}, + {"FnTable:IVRExtendedDisplay_001", &create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable, &destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable}, + {"IVRHeadsetView_001", &create_winIVRHeadsetView_IVRHeadsetView_001, &destroy_winIVRHeadsetView_IVRHeadsetView_001}, + {"FnTable:IVRHeadsetView_001", &create_winIVRHeadsetView_IVRHeadsetView_001_FnTable, &destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable}, + {"IVRIOBuffer_001", &create_winIVRIOBuffer_IVRIOBuffer_001, &destroy_winIVRIOBuffer_IVRIOBuffer_001}, + {"FnTable:IVRIOBuffer_001", &create_winIVRIOBuffer_IVRIOBuffer_001_FnTable, &destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable}, + {"IVRIOBuffer_002", &create_winIVRIOBuffer_IVRIOBuffer_002, &destroy_winIVRIOBuffer_IVRIOBuffer_002}, + {"FnTable:IVRIOBuffer_002", &create_winIVRIOBuffer_IVRIOBuffer_002_FnTable, &destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable}, + {"IVRInput_003", &create_winIVRInput_IVRInput_003, &destroy_winIVRInput_IVRInput_003}, + {"FnTable:IVRInput_003", &create_winIVRInput_IVRInput_003_FnTable, &destroy_winIVRInput_IVRInput_003_FnTable}, + {"IVRInput_004", &create_winIVRInput_IVRInput_004, &destroy_winIVRInput_IVRInput_004}, + {"FnTable:IVRInput_004", &create_winIVRInput_IVRInput_004_FnTable, &destroy_winIVRInput_IVRInput_004_FnTable}, + {"IVRInput_005", &create_winIVRInput_IVRInput_005, &destroy_winIVRInput_IVRInput_005}, + {"FnTable:IVRInput_005", &create_winIVRInput_IVRInput_005_FnTable, &destroy_winIVRInput_IVRInput_005_FnTable}, + {"IVRInput_006", &create_winIVRInput_IVRInput_006, &destroy_winIVRInput_IVRInput_006}, + {"FnTable:IVRInput_006", &create_winIVRInput_IVRInput_006_FnTable, &destroy_winIVRInput_IVRInput_006_FnTable}, + {"IVRInput_007", &create_winIVRInput_IVRInput_007, &destroy_winIVRInput_IVRInput_007}, + {"FnTable:IVRInput_007", &create_winIVRInput_IVRInput_007_FnTable, &destroy_winIVRInput_IVRInput_007_FnTable}, + {"IVRInput_010", &create_winIVRInput_IVRInput_010, &destroy_winIVRInput_IVRInput_010}, + {"FnTable:IVRInput_010", &create_winIVRInput_IVRInput_010_FnTable, &destroy_winIVRInput_IVRInput_010_FnTable}, + {"IVRMailbox_001", &create_winIVRMailbox_IVRMailbox_001, &destroy_winIVRMailbox_IVRMailbox_001}, + {"FnTable:IVRMailbox_001", &create_winIVRMailbox_IVRMailbox_001_FnTable, &destroy_winIVRMailbox_IVRMailbox_001_FnTable}, + {"IVRNotifications_001", &create_winIVRNotifications_IVRNotifications_001, &destroy_winIVRNotifications_IVRNotifications_001}, + {"FnTable:IVRNotifications_001", &create_winIVRNotifications_IVRNotifications_001_FnTable, &destroy_winIVRNotifications_IVRNotifications_001_FnTable}, + {"IVRNotifications_002", &create_winIVRNotifications_IVRNotifications_002, &destroy_winIVRNotifications_IVRNotifications_002}, + {"FnTable:IVRNotifications_002", &create_winIVRNotifications_IVRNotifications_002_FnTable, &destroy_winIVRNotifications_IVRNotifications_002_FnTable}, + {"IVROverlayView_003", &create_winIVROverlayView_IVROverlayView_003, &destroy_winIVROverlayView_IVROverlayView_003}, + {"FnTable:IVROverlayView_003", &create_winIVROverlayView_IVROverlayView_003_FnTable, &destroy_winIVROverlayView_IVROverlayView_003_FnTable}, + {"IVROverlay_001", &create_winIVROverlay_IVROverlay_001, &destroy_winIVROverlay_IVROverlay_001}, + {"FnTable:IVROverlay_001", &create_winIVROverlay_IVROverlay_001_FnTable, &destroy_winIVROverlay_IVROverlay_001_FnTable}, + {"IVROverlay_002", &create_winIVROverlay_IVROverlay_002, &destroy_winIVROverlay_IVROverlay_002}, + {"FnTable:IVROverlay_002", &create_winIVROverlay_IVROverlay_002_FnTable, &destroy_winIVROverlay_IVROverlay_002_FnTable}, + {"IVROverlay_003", &create_winIVROverlay_IVROverlay_003, &destroy_winIVROverlay_IVROverlay_003}, + {"FnTable:IVROverlay_003", &create_winIVROverlay_IVROverlay_003_FnTable, &destroy_winIVROverlay_IVROverlay_003_FnTable}, + {"IVROverlay_004", &create_winIVROverlay_IVROverlay_004, &destroy_winIVROverlay_IVROverlay_004}, + {"FnTable:IVROverlay_004", &create_winIVROverlay_IVROverlay_004_FnTable, &destroy_winIVROverlay_IVROverlay_004_FnTable}, + {"IVROverlay_005", &create_winIVROverlay_IVROverlay_005, &destroy_winIVROverlay_IVROverlay_005}, + {"FnTable:IVROverlay_005", &create_winIVROverlay_IVROverlay_005_FnTable, &destroy_winIVROverlay_IVROverlay_005_FnTable}, + {"IVROverlay_007", &create_winIVROverlay_IVROverlay_007, &destroy_winIVROverlay_IVROverlay_007}, + {"FnTable:IVROverlay_007", &create_winIVROverlay_IVROverlay_007_FnTable, &destroy_winIVROverlay_IVROverlay_007_FnTable}, + {"IVROverlay_008", &create_winIVROverlay_IVROverlay_008, &destroy_winIVROverlay_IVROverlay_008}, + {"FnTable:IVROverlay_008", &create_winIVROverlay_IVROverlay_008_FnTable, &destroy_winIVROverlay_IVROverlay_008_FnTable}, + {"IVROverlay_010", &create_winIVROverlay_IVROverlay_010, &destroy_winIVROverlay_IVROverlay_010}, + {"FnTable:IVROverlay_010", &create_winIVROverlay_IVROverlay_010_FnTable, &destroy_winIVROverlay_IVROverlay_010_FnTable}, + {"IVROverlay_011", &create_winIVROverlay_IVROverlay_011, &destroy_winIVROverlay_IVROverlay_011}, + {"FnTable:IVROverlay_011", &create_winIVROverlay_IVROverlay_011_FnTable, &destroy_winIVROverlay_IVROverlay_011_FnTable}, + {"IVROverlay_012", &create_winIVROverlay_IVROverlay_012, &destroy_winIVROverlay_IVROverlay_012}, + {"FnTable:IVROverlay_012", &create_winIVROverlay_IVROverlay_012_FnTable, &destroy_winIVROverlay_IVROverlay_012_FnTable}, + {"IVROverlay_013", &create_winIVROverlay_IVROverlay_013, &destroy_winIVROverlay_IVROverlay_013}, + {"FnTable:IVROverlay_013", &create_winIVROverlay_IVROverlay_013_FnTable, &destroy_winIVROverlay_IVROverlay_013_FnTable}, + {"IVROverlay_014", &create_winIVROverlay_IVROverlay_014, &destroy_winIVROverlay_IVROverlay_014}, + {"FnTable:IVROverlay_014", &create_winIVROverlay_IVROverlay_014_FnTable, &destroy_winIVROverlay_IVROverlay_014_FnTable}, + {"IVROverlay_016", &create_winIVROverlay_IVROverlay_016, &destroy_winIVROverlay_IVROverlay_016}, + {"FnTable:IVROverlay_016", &create_winIVROverlay_IVROverlay_016_FnTable, &destroy_winIVROverlay_IVROverlay_016_FnTable}, + {"IVROverlay_017", &create_winIVROverlay_IVROverlay_017, &destroy_winIVROverlay_IVROverlay_017}, + {"FnTable:IVROverlay_017", &create_winIVROverlay_IVROverlay_017_FnTable, &destroy_winIVROverlay_IVROverlay_017_FnTable}, + {"IVROverlay_018", &create_winIVROverlay_IVROverlay_018, &destroy_winIVROverlay_IVROverlay_018}, + {"FnTable:IVROverlay_018", &create_winIVROverlay_IVROverlay_018_FnTable, &destroy_winIVROverlay_IVROverlay_018_FnTable}, + {"IVROverlay_019", &create_winIVROverlay_IVROverlay_019, &destroy_winIVROverlay_IVROverlay_019}, + {"FnTable:IVROverlay_019", &create_winIVROverlay_IVROverlay_019_FnTable, &destroy_winIVROverlay_IVROverlay_019_FnTable}, + {"IVROverlay_020", &create_winIVROverlay_IVROverlay_020, &destroy_winIVROverlay_IVROverlay_020}, + {"FnTable:IVROverlay_020", &create_winIVROverlay_IVROverlay_020_FnTable, &destroy_winIVROverlay_IVROverlay_020_FnTable}, + {"IVROverlay_021", &create_winIVROverlay_IVROverlay_021, &destroy_winIVROverlay_IVROverlay_021}, + {"FnTable:IVROverlay_021", &create_winIVROverlay_IVROverlay_021_FnTable, &destroy_winIVROverlay_IVROverlay_021_FnTable}, + {"IVROverlay_022", &create_winIVROverlay_IVROverlay_022, &destroy_winIVROverlay_IVROverlay_022}, + {"FnTable:IVROverlay_022", &create_winIVROverlay_IVROverlay_022_FnTable, &destroy_winIVROverlay_IVROverlay_022_FnTable}, + {"IVROverlay_024", &create_winIVROverlay_IVROverlay_024, &destroy_winIVROverlay_IVROverlay_024}, + {"FnTable:IVROverlay_024", &create_winIVROverlay_IVROverlay_024_FnTable, &destroy_winIVROverlay_IVROverlay_024_FnTable}, + {"IVROverlay_025", &create_winIVROverlay_IVROverlay_025, &destroy_winIVROverlay_IVROverlay_025}, + {"FnTable:IVROverlay_025", &create_winIVROverlay_IVROverlay_025_FnTable, &destroy_winIVROverlay_IVROverlay_025_FnTable}, + {"IVROverlay_026", &create_winIVROverlay_IVROverlay_026, &destroy_winIVROverlay_IVROverlay_026}, + {"FnTable:IVROverlay_026", &create_winIVROverlay_IVROverlay_026_FnTable, &destroy_winIVROverlay_IVROverlay_026_FnTable}, + {"IVROverlay_027", &create_winIVROverlay_IVROverlay_027, &destroy_winIVROverlay_IVROverlay_027}, + {"FnTable:IVROverlay_027", &create_winIVROverlay_IVROverlay_027_FnTable, &destroy_winIVROverlay_IVROverlay_027_FnTable}, + {"IVRRenderModels_001", &create_winIVRRenderModels_IVRRenderModels_001, &destroy_winIVRRenderModels_IVRRenderModels_001}, + {"FnTable:IVRRenderModels_001", &create_winIVRRenderModels_IVRRenderModels_001_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_001_FnTable}, + {"IVRRenderModels_002", &create_winIVRRenderModels_IVRRenderModels_002, &destroy_winIVRRenderModels_IVRRenderModels_002}, + {"FnTable:IVRRenderModels_002", &create_winIVRRenderModels_IVRRenderModels_002_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_002_FnTable}, + {"IVRRenderModels_004", &create_winIVRRenderModels_IVRRenderModels_004, &destroy_winIVRRenderModels_IVRRenderModels_004}, + {"FnTable:IVRRenderModels_004", &create_winIVRRenderModels_IVRRenderModels_004_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_004_FnTable}, + {"IVRRenderModels_005", &create_winIVRRenderModels_IVRRenderModels_005, &destroy_winIVRRenderModels_IVRRenderModels_005}, + {"FnTable:IVRRenderModels_005", &create_winIVRRenderModels_IVRRenderModels_005_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_005_FnTable}, + {"IVRRenderModels_006", &create_winIVRRenderModels_IVRRenderModels_006, &destroy_winIVRRenderModels_IVRRenderModels_006}, + {"FnTable:IVRRenderModels_006", &create_winIVRRenderModels_IVRRenderModels_006_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_006_FnTable}, + {"IVRResources_001", &create_winIVRResources_IVRResources_001, &destroy_winIVRResources_IVRResources_001}, + {"FnTable:IVRResources_001", &create_winIVRResources_IVRResources_001_FnTable, &destroy_winIVRResources_IVRResources_001_FnTable}, + {"IVRScreenshots_001", &create_winIVRScreenshots_IVRScreenshots_001, &destroy_winIVRScreenshots_IVRScreenshots_001}, + {"FnTable:IVRScreenshots_001", &create_winIVRScreenshots_IVRScreenshots_001_FnTable, &destroy_winIVRScreenshots_IVRScreenshots_001_FnTable}, + {"IVRSettings_001", &create_winIVRSettings_IVRSettings_001, &destroy_winIVRSettings_IVRSettings_001}, + {"FnTable:IVRSettings_001", &create_winIVRSettings_IVRSettings_001_FnTable, &destroy_winIVRSettings_IVRSettings_001_FnTable}, + {"IVRSettings_002", &create_winIVRSettings_IVRSettings_002, &destroy_winIVRSettings_IVRSettings_002}, + {"FnTable:IVRSettings_002", &create_winIVRSettings_IVRSettings_002_FnTable, &destroy_winIVRSettings_IVRSettings_002_FnTable}, + {"IVRSettings_003", &create_winIVRSettings_IVRSettings_003, &destroy_winIVRSettings_IVRSettings_003}, + {"FnTable:IVRSettings_003", &create_winIVRSettings_IVRSettings_003_FnTable, &destroy_winIVRSettings_IVRSettings_003_FnTable}, + {"IVRSystem_003", &create_winIVRSystem_IVRSystem_003, &destroy_winIVRSystem_IVRSystem_003}, + {"FnTable:IVRSystem_003", &create_winIVRSystem_IVRSystem_003_FnTable, &destroy_winIVRSystem_IVRSystem_003_FnTable}, + {"IVRSystem_004", &create_winIVRSystem_IVRSystem_004, &destroy_winIVRSystem_IVRSystem_004}, + {"FnTable:IVRSystem_004", &create_winIVRSystem_IVRSystem_004_FnTable, &destroy_winIVRSystem_IVRSystem_004_FnTable}, + {"IVRSystem_005", &create_winIVRSystem_IVRSystem_005, &destroy_winIVRSystem_IVRSystem_005}, + {"FnTable:IVRSystem_005", &create_winIVRSystem_IVRSystem_005_FnTable, &destroy_winIVRSystem_IVRSystem_005_FnTable}, + {"IVRSystem_006", &create_winIVRSystem_IVRSystem_006, &destroy_winIVRSystem_IVRSystem_006}, + {"FnTable:IVRSystem_006", &create_winIVRSystem_IVRSystem_006_FnTable, &destroy_winIVRSystem_IVRSystem_006_FnTable}, + {"IVRSystem_009", &create_winIVRSystem_IVRSystem_009, &destroy_winIVRSystem_IVRSystem_009}, + {"FnTable:IVRSystem_009", &create_winIVRSystem_IVRSystem_009_FnTable, &destroy_winIVRSystem_IVRSystem_009_FnTable}, + {"IVRSystem_010", &create_winIVRSystem_IVRSystem_010, &destroy_winIVRSystem_IVRSystem_010}, + {"FnTable:IVRSystem_010", &create_winIVRSystem_IVRSystem_010_FnTable, &destroy_winIVRSystem_IVRSystem_010_FnTable}, + {"IVRSystem_011", &create_winIVRSystem_IVRSystem_011, &destroy_winIVRSystem_IVRSystem_011}, + {"FnTable:IVRSystem_011", &create_winIVRSystem_IVRSystem_011_FnTable, &destroy_winIVRSystem_IVRSystem_011_FnTable}, + {"IVRSystem_012", &create_winIVRSystem_IVRSystem_012, &destroy_winIVRSystem_IVRSystem_012}, + {"FnTable:IVRSystem_012", &create_winIVRSystem_IVRSystem_012_FnTable, &destroy_winIVRSystem_IVRSystem_012_FnTable}, + {"IVRSystem_014", &create_winIVRSystem_IVRSystem_014, &destroy_winIVRSystem_IVRSystem_014}, + {"FnTable:IVRSystem_014", &create_winIVRSystem_IVRSystem_014_FnTable, &destroy_winIVRSystem_IVRSystem_014_FnTable}, + {"IVRSystem_015", &create_winIVRSystem_IVRSystem_015, &destroy_winIVRSystem_IVRSystem_015}, + {"FnTable:IVRSystem_015", &create_winIVRSystem_IVRSystem_015_FnTable, &destroy_winIVRSystem_IVRSystem_015_FnTable}, + {"IVRSystem_016", &create_winIVRSystem_IVRSystem_016, &destroy_winIVRSystem_IVRSystem_016}, + {"FnTable:IVRSystem_016", &create_winIVRSystem_IVRSystem_016_FnTable, &destroy_winIVRSystem_IVRSystem_016_FnTable}, + {"IVRSystem_017", &create_winIVRSystem_IVRSystem_017, &destroy_winIVRSystem_IVRSystem_017}, + {"FnTable:IVRSystem_017", &create_winIVRSystem_IVRSystem_017_FnTable, &destroy_winIVRSystem_IVRSystem_017_FnTable}, + {"IVRSystem_019", &create_winIVRSystem_IVRSystem_019, &destroy_winIVRSystem_IVRSystem_019}, + {"FnTable:IVRSystem_019", &create_winIVRSystem_IVRSystem_019_FnTable, &destroy_winIVRSystem_IVRSystem_019_FnTable}, + {"IVRSystem_020", &create_winIVRSystem_IVRSystem_020, &destroy_winIVRSystem_IVRSystem_020}, + {"FnTable:IVRSystem_020", &create_winIVRSystem_IVRSystem_020_FnTable, &destroy_winIVRSystem_IVRSystem_020_FnTable}, + {"IVRSystem_021", &create_winIVRSystem_IVRSystem_021, &destroy_winIVRSystem_IVRSystem_021}, + {"FnTable:IVRSystem_021", &create_winIVRSystem_IVRSystem_021_FnTable, &destroy_winIVRSystem_IVRSystem_021_FnTable}, + {"IVRSystem_022", &create_winIVRSystem_IVRSystem_022, &destroy_winIVRSystem_IVRSystem_022}, + {"FnTable:IVRSystem_022", &create_winIVRSystem_IVRSystem_022_FnTable, &destroy_winIVRSystem_IVRSystem_022_FnTable}, + {"IVRTrackedCamera_001", &create_winIVRTrackedCamera_IVRTrackedCamera_001, &destroy_winIVRTrackedCamera_IVRTrackedCamera_001}, + {"FnTable:IVRTrackedCamera_001", &create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable}, + {"IVRTrackedCamera_002", &create_winIVRTrackedCamera_IVRTrackedCamera_002, &destroy_winIVRTrackedCamera_IVRTrackedCamera_002}, + {"FnTable:IVRTrackedCamera_002", &create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable}, + {"IVRTrackedCamera_003", &create_winIVRTrackedCamera_IVRTrackedCamera_003, &destroy_winIVRTrackedCamera_IVRTrackedCamera_003}, + {"FnTable:IVRTrackedCamera_003", &create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable}, + {"IVRTrackedCamera_004", &create_winIVRTrackedCamera_IVRTrackedCamera_004, &destroy_winIVRTrackedCamera_IVRTrackedCamera_004}, + {"FnTable:IVRTrackedCamera_004", &create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable}, + {"IVRTrackedCamera_005", &create_winIVRTrackedCamera_IVRTrackedCamera_005, &destroy_winIVRTrackedCamera_IVRTrackedCamera_005}, + {"FnTable:IVRTrackedCamera_005", &create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable}, + {"IVRTrackedCamera_006", &create_winIVRTrackedCamera_IVRTrackedCamera_006, &destroy_winIVRTrackedCamera_IVRTrackedCamera_006}, + {"FnTable:IVRTrackedCamera_006", &create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable}, diff --git a/vrclient_x64/vrclient_x64/win_destructors.h b/vrclient_x64/vrclient_x64/win_destructors.h index bed394c5..578a968a 100644 --- a/vrclient_x64/vrclient_x64/win_destructors.h +++ b/vrclient_x64/vrclient_x64/win_destructors.h @@ -1,214 +1,214 @@ -extern void destroy_winIVRSystem_IVRSystem_022(void *); -extern void destroy_winIVRSystem_IVRSystem_022_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_007(void *); -extern void destroy_winIVRApplications_IVRApplications_007_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_003(void *); -extern void destroy_winIVRSettings_IVRSettings_003_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_004(void *); -extern void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_027(void *); -extern void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *); -extern void destroy_winIVRHeadsetView_IVRHeadsetView_001(void *); -extern void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); -extern void destroy_winIVRNotifications_IVRNotifications_002(void *); -extern void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_027(void *); -extern void destroy_winIVROverlay_IVROverlay_027_FnTable(void *); -extern void destroy_winIVROverlayView_IVROverlayView_003(void *); -extern void destroy_winIVROverlayView_IVROverlayView_003_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_006(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); -extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); -extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); -extern void destroy_winIVRScreenshots_IVRScreenshots_001(void *); -extern void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); -extern void destroy_winIVRResources_IVRResources_001(void *); -extern void destroy_winIVRResources_IVRResources_001_FnTable(void *); -extern void destroy_winIVRDriverManager_IVRDriverManager_001(void *); -extern void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_010(void *); -extern void destroy_winIVRInput_IVRInput_010_FnTable(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_002(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); -extern void destroy_winIVRClientCore_IVRClientCore_003(void *); -extern void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_026(void *); -extern void destroy_winIVROverlay_IVROverlay_026_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_025(void *); -extern void destroy_winIVROverlay_IVROverlay_025_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_026(void *); -extern void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_024(void *); -extern void destroy_winIVROverlay_IVROverlay_024_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_021(void *); -extern void destroy_winIVRSystem_IVRSystem_021_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_003(void *); -extern void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *); -extern void destroy_winIVRControlPanel_IVRControlPanel_006(void *); -extern void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); -extern void destroy_winIVRMailbox_IVRMailbox_001(void *); -extern void destroy_winIVRMailbox_IVRMailbox_001_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_024(void *); -extern void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_022(void *); -extern void destroy_winIVROverlay_IVROverlay_022_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_007(void *); -extern void destroy_winIVRInput_IVRInput_007_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_002(void *); -extern void destroy_winIVRSettings_IVRSettings_002_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_022(void *); -extern void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_021(void *); -extern void destroy_winIVROverlay_IVROverlay_021_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_020(void *); -extern void destroy_winIVRSystem_IVRSystem_020_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_006(void *); -extern void destroy_winIVRApplications_IVRApplications_006_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_020(void *); -extern void destroy_winIVROverlay_IVROverlay_020_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_019(void *); -extern void destroy_winIVROverlay_IVROverlay_019_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_019(void *); -extern void destroy_winIVRSystem_IVRSystem_019_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_006(void *); -extern void destroy_winIVRInput_IVRInput_006_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_005(void *); -extern void destroy_winIVRInput_IVRInput_005_FnTable(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_018(void *); -extern void destroy_winIVROverlay_IVROverlay_018_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_004(void *); -extern void destroy_winIVRInput_IVRInput_004_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_005(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_003(void *); -extern void destroy_winIVRInput_IVRInput_003_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_017(void *); -extern void destroy_winIVRSystem_IVRSystem_017_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_017(void *); -extern void destroy_winIVROverlay_IVROverlay_017_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_021(void *); -extern void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_016(void *); -extern void destroy_winIVROverlay_IVROverlay_016_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_016(void *); -extern void destroy_winIVRSystem_IVRSystem_016_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_020(void *); -extern void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *); -extern void destroy_winIVRClientCore_IVRClientCore_002(void *); -extern void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_015(void *); -extern void destroy_winIVRSystem_IVRSystem_015_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_014(void *); -extern void destroy_winIVROverlay_IVROverlay_014_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_019(void *); -extern void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_014(void *); -extern void destroy_winIVRSystem_IVRSystem_014_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_018(void *); -extern void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_013(void *); -extern void destroy_winIVROverlay_IVROverlay_013_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_017(void *); -extern void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_012(void *); -extern void destroy_winIVRSystem_IVRSystem_012_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_016(void *); -extern void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_001(void *); -extern void destroy_winIVRSettings_IVRSettings_001_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_005(void *); -extern void destroy_winIVRApplications_IVRApplications_005_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_015(void *); -extern void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_012(void *); -extern void destroy_winIVROverlay_IVROverlay_012_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_014(void *); -extern void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_011(void *); -extern void destroy_winIVROverlay_IVROverlay_011_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_013(void *); -extern void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_011(void *); -extern void destroy_winIVRSystem_IVRSystem_011_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_004(void *); -extern void destroy_winIVRApplications_IVRApplications_004_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_010(void *); -extern void destroy_winIVROverlay_IVROverlay_010_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_004(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_012(void *); -extern void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_003(void *); -extern void destroy_winIVRApplications_IVRApplications_003_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_011(void *); -extern void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_002(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_010(void *); -extern void destroy_winIVRSystem_IVRSystem_010_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_002(void *); -extern void destroy_winIVRApplications_IVRApplications_002_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_010(void *); -extern void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_008(void *); -extern void destroy_winIVROverlay_IVROverlay_008_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_009(void *); -extern void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_009(void *); -extern void destroy_winIVRSystem_IVRSystem_009_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_007(void *); -extern void destroy_winIVROverlay_IVROverlay_007_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_006(void *); -extern void destroy_winIVRSystem_IVRSystem_006_FnTable(void *); extern void destroy_winIVRApplications_IVRApplications_001(void *); extern void destroy_winIVRApplications_IVRApplications_001_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_002(void *); +extern void destroy_winIVRApplications_IVRApplications_002_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_003(void *); +extern void destroy_winIVRApplications_IVRApplications_003_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_004(void *); +extern void destroy_winIVRApplications_IVRApplications_004_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_005(void *); +extern void destroy_winIVRApplications_IVRApplications_005_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_006(void *); +extern void destroy_winIVRApplications_IVRApplications_006_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_007(void *); +extern void destroy_winIVRApplications_IVRApplications_007_FnTable(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); extern void destroy_winIVRChaperone_IVRChaperone_002(void *); extern void destroy_winIVRChaperone_IVRChaperone_002_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_008(void *); -extern void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *); -extern void destroy_winIVRNotifications_IVRNotifications_001(void *); -extern void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_005(void *); -extern void destroy_winIVROverlay_IVROverlay_005_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_001(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_005(void *); -extern void destroy_winIVRSystem_IVRSystem_005_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_007(void *); -extern void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_004(void *); -extern void destroy_winIVROverlay_IVROverlay_004_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_003(void *); -extern void destroy_winIVROverlay_IVROverlay_003_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_002(void *); -extern void destroy_winIVROverlay_IVROverlay_002_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_004(void *); -extern void destroy_winIVRSystem_IVRSystem_004_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_006(void *); -extern void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_001(void *); -extern void destroy_winIVROverlay_IVROverlay_001_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_003(void *); -extern void destroy_winIVRSystem_IVRSystem_003_FnTable(void *); +extern void destroy_winIVRChaperone_IVRChaperone_003(void *); +extern void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *); +extern void destroy_winIVRChaperone_IVRChaperone_004(void *); +extern void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *); +extern void destroy_winIVRClientCore_IVRClientCore_002(void *); +extern void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *); +extern void destroy_winIVRClientCore_IVRClientCore_003(void *); +extern void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *); extern void destroy_winIVRCompositor_IVRCompositor_005(void *); extern void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_006(void *); +extern void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_007(void *); +extern void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_008(void *); +extern void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_009(void *); +extern void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_010(void *); +extern void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_011(void *); +extern void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_012(void *); +extern void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_013(void *); +extern void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_014(void *); +extern void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_015(void *); +extern void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_016(void *); +extern void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_017(void *); +extern void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_018(void *); +extern void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_019(void *); +extern void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_020(void *); +extern void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_021(void *); +extern void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_022(void *); +extern void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_024(void *); +extern void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_026(void *); +extern void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_027(void *); +extern void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *); +extern void destroy_winIVRControlPanel_IVRControlPanel_006(void *); +extern void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); +extern void destroy_winIVRDriverManager_IVRDriverManager_001(void *); +extern void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); +extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); +extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); +extern void destroy_winIVRHeadsetView_IVRHeadsetView_001(void *); +extern void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_002(void *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_003(void *); +extern void destroy_winIVRInput_IVRInput_003_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_004(void *); +extern void destroy_winIVRInput_IVRInput_004_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_005(void *); +extern void destroy_winIVRInput_IVRInput_005_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_006(void *); +extern void destroy_winIVRInput_IVRInput_006_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_007(void *); +extern void destroy_winIVRInput_IVRInput_007_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_010(void *); +extern void destroy_winIVRInput_IVRInput_010_FnTable(void *); +extern void destroy_winIVRMailbox_IVRMailbox_001(void *); +extern void destroy_winIVRMailbox_IVRMailbox_001_FnTable(void *); +extern void destroy_winIVRNotifications_IVRNotifications_001(void *); +extern void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *); +extern void destroy_winIVRNotifications_IVRNotifications_002(void *); +extern void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *); +extern void destroy_winIVROverlayView_IVROverlayView_003(void *); +extern void destroy_winIVROverlayView_IVROverlayView_003_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_001(void *); +extern void destroy_winIVROverlay_IVROverlay_001_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_002(void *); +extern void destroy_winIVROverlay_IVROverlay_002_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_003(void *); +extern void destroy_winIVROverlay_IVROverlay_003_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_004(void *); +extern void destroy_winIVROverlay_IVROverlay_004_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_005(void *); +extern void destroy_winIVROverlay_IVROverlay_005_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_007(void *); +extern void destroy_winIVROverlay_IVROverlay_007_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_008(void *); +extern void destroy_winIVROverlay_IVROverlay_008_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_010(void *); +extern void destroy_winIVROverlay_IVROverlay_010_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_011(void *); +extern void destroy_winIVROverlay_IVROverlay_011_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_012(void *); +extern void destroy_winIVROverlay_IVROverlay_012_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_013(void *); +extern void destroy_winIVROverlay_IVROverlay_013_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_014(void *); +extern void destroy_winIVROverlay_IVROverlay_014_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_016(void *); +extern void destroy_winIVROverlay_IVROverlay_016_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_017(void *); +extern void destroy_winIVROverlay_IVROverlay_017_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_018(void *); +extern void destroy_winIVROverlay_IVROverlay_018_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_019(void *); +extern void destroy_winIVROverlay_IVROverlay_019_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_020(void *); +extern void destroy_winIVROverlay_IVROverlay_020_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_021(void *); +extern void destroy_winIVROverlay_IVROverlay_021_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_022(void *); +extern void destroy_winIVROverlay_IVROverlay_022_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_024(void *); +extern void destroy_winIVROverlay_IVROverlay_024_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_025(void *); +extern void destroy_winIVROverlay_IVROverlay_025_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_026(void *); +extern void destroy_winIVROverlay_IVROverlay_026_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_027(void *); +extern void destroy_winIVROverlay_IVROverlay_027_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_001(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_002(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_004(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_005(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_006(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); +extern void destroy_winIVRResources_IVRResources_001(void *); +extern void destroy_winIVRResources_IVRResources_001_FnTable(void *); +extern void destroy_winIVRScreenshots_IVRScreenshots_001(void *); +extern void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); +extern void destroy_winIVRSettings_IVRSettings_001(void *); +extern void destroy_winIVRSettings_IVRSettings_001_FnTable(void *); +extern void destroy_winIVRSettings_IVRSettings_002(void *); +extern void destroy_winIVRSettings_IVRSettings_002_FnTable(void *); +extern void destroy_winIVRSettings_IVRSettings_003(void *); +extern void destroy_winIVRSettings_IVRSettings_003_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_003(void *); +extern void destroy_winIVRSystem_IVRSystem_003_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_004(void *); +extern void destroy_winIVRSystem_IVRSystem_004_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_005(void *); +extern void destroy_winIVRSystem_IVRSystem_005_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_006(void *); +extern void destroy_winIVRSystem_IVRSystem_006_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_009(void *); +extern void destroy_winIVRSystem_IVRSystem_009_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_010(void *); +extern void destroy_winIVRSystem_IVRSystem_010_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_011(void *); +extern void destroy_winIVRSystem_IVRSystem_011_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_012(void *); +extern void destroy_winIVRSystem_IVRSystem_012_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_014(void *); +extern void destroy_winIVRSystem_IVRSystem_014_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_015(void *); +extern void destroy_winIVRSystem_IVRSystem_015_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_016(void *); +extern void destroy_winIVRSystem_IVRSystem_016_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_017(void *); +extern void destroy_winIVRSystem_IVRSystem_017_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_019(void *); +extern void destroy_winIVRSystem_IVRSystem_019_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_020(void *); +extern void destroy_winIVRSystem_IVRSystem_020_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_021(void *); +extern void destroy_winIVRSystem_IVRSystem_021_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_022(void *); +extern void destroy_winIVRSystem_IVRSystem_022_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *);